WebKit-https.git
10 years agoUnreviewed build fix.
bfulgham@webkit.org [Mon, 4 Oct 2010 06:20:54 +0000 (06:20 +0000)]
Unreviewed build fix.

WinCairo also needs access to the <inttypes.h> header requirement
introduced by Bug 46357.

* win/tools/vsprops/WinCairo.vsprops:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68998 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-03 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 4 Oct 2010 06:14:41 +0000 (06:14 +0000)]
2010-10-03  Kent Tamura  <tkent@chromium.org>

        Unreviewed, build fix for r68996.

        * html/BaseDateAndTimeInputType.cpp: Includes <wtf/MathExtras.h> for isfinite().
        * html/MonthInputType.cpp: ditto.
        * html/NumberInputType.cpp: ditto.
        * html/RangeInputType.cpp: ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68997 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-03 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 4 Oct 2010 05:59:15 +0000 (05:59 +0000)]
2010-10-03  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        Refactor HTMLInputElement: Move parseToDouble() and
        parseToDateComponents() to InputType.
        https://bugs.webkit.org/show_bug.cgi?id=46965

        Introduce BaseDateAndTimeInputType, which is a super class of
        date, datetime, datetime-local, month, time, and week types.

        No new tests. Just a refactoring.

        * Android.mk: Add BaseDateAndTimeInputType.
        * CMakeLists.txt: ditto.
        * GNUmakefile.am: ditto.
        * WebCore.gypi: ditto.
        * WebCore.pro: ditto.
        * WebCore.vcproj/WebCore.vcproj: ditto.
        * WebCore.xcodeproj/project.pbxproj: ditto.
        * html/BaseDateAndTimeInputType.cpp: Added.
        (WebCore::BaseDateAndTimeInputType::parseToDouble):
        (WebCore::BaseDateAndTimeInputType::parseToDateComponents):
        * html/BaseDateAndTimeInputType.h: Added.
        (WebCore::BaseDateAndTimeInputType::BaseDateAndTimeInputType):
        * html/DateInputType.cpp:
        (WebCore::DateInputType::parseToDateComponentsInternal):
        * html/DateInputType.h:
        (WebCore::DateInputType::DateInputType):
        * html/DateTimeInputType.cpp:
        (WebCore::DateTimeInputType::parseToDateComponentsInternal):
        * html/DateTimeInputType.h:
        (WebCore::DateTimeInputType::DateTimeInputType):
        * html/DateTimeLocalInputType.cpp:
        (WebCore::DateTimeLocalInputType::parseToDateComponentsInternal):
        * html/DateTimeLocalInputType.h:
        (WebCore::DateTimeLocalInputType::DateTimeLocalInputType):
        * html/HTMLInputElement.cpp: Replace parseToD* calls with m_inputType->parseToD*.
        (WebCore::HTMLInputElement::typeMismatch):
        (WebCore::HTMLInputElement::rangeUnderflow):
        (WebCore::HTMLInputElement::rangeOverflow):
        (WebCore::HTMLInputElement::minimum):
        (WebCore::HTMLInputElement::maximum):
        (WebCore::HTMLInputElement::stepBase):
        (WebCore::HTMLInputElement::stepMismatch):
        (WebCore::HTMLInputElement::applyStep):
        (WebCore::HTMLInputElement::valueAsDate):
        (WebCore::HTMLInputElement::valueAsNumber):
        (WebCore::HTMLInputElement::handleKeyEventForRange):
        (WebCore::HTMLInputElement::stepUpFromRenderer):
        * html/HTMLInputElement.h:
        * html/InputType.cpp:
        (WebCore::InputType::parseToDouble):
        (WebCore::InputType::parseToDateComponents):
        * html/InputType.h:
        * html/MonthInputType.cpp:
        (WebCore::MonthInputType::parseToDouble):
        (WebCore::MonthInputType::parseToDateComponentsInternal):
        * html/MonthInputType.h:
        (WebCore::MonthInputType::MonthInputType):
        * html/NumberInputType.cpp:
        (WebCore::NumberInputType::parseToDouble):
        * html/NumberInputType.h:
        * html/RangeInputType.cpp:
        (WebCore::RangeInputType::parseToDouble):
        * html/RangeInputType.h:
        * html/TimeInputType.cpp:
        (WebCore::TimeInputType::parseToDateComponentsInternal):
        * html/TimeInputType.h:
        (WebCore::TimeInputType::TimeInputType):
        * html/WeekInputType.cpp:
        (WebCore::WeekInputType::parseToDateComponentsInternal):
        * html/WeekInputType.h:
        (WebCore::WeekInputType::WeekInputType):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68996 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed, remove redundant expectations.
tkent@chromium.org [Mon, 4 Oct 2010 05:44:09 +0000 (05:44 +0000)]
Unreviewed, remove redundant expectations.

* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68995 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-03 MORITA Hajime <morrita@google.com>
morrita@google.com [Mon, 4 Oct 2010 03:53:45 +0000 (03:53 +0000)]
2010-10-03  MORITA Hajime  <morrita@google.com>

        Unrevied, added test expectations for because of the massive SVG change in r68976.
        This chanage is for svg/W3C-SVG-1.1/*.

        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-09-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-10-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-11-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-12-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-13-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-20-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-21-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-22-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-23-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-25-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-26-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-27-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-28-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-29-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-32-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-34-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-39-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-40-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-41-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-46-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-52-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-60-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-61-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-62-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-63-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-64-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-65-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-66-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-67-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-68-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-69-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-70-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-77-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-78-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-84-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-85-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/color-prof-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/color-prop-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/color-prop-02-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/color-prop-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-coord-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-coord-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-trans-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-trans-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-trans-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-trans-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-trans-05-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-trans-06-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-units-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-displace-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-example-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-felem-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-image-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-light-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-offset-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-specular-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-tile-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/interact-events-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/interact-order-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/interact-order-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/interact-order-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-a-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-a-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-a-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-a-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-a-07-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-uri-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/masking-path-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/masking-path-04-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-fill-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-fill-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-fill-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-fill-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-fill-05-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-marker-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-marker-02-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-stroke-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-stroke-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-stroke-07-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-03-f-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-05-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-06-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-07-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-08-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-09-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-10-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-12-t-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-13-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-14-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-15-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-04-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-05-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-07-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-15-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-16-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-17-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-18-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-19-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/render-elems-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/render-elems-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/render-elems-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/script-handle-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-circle-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-circle-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-ellipse-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-ellipse-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-intro-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-line-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-polygon-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-polyline-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-rect-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-rect-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-cond-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-cond-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-cond-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-defs-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-frag-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-frag-05-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-frag-06-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-group-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-group-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-group-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-05-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-06-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-07-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-08-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-09-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-10-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-use-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-use-05-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/styling-css-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/styling-css-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/styling-css-05-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/styling-css-06-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/styling-inherit-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/styling-pres-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-align-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-align-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-align-04-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-fonts-01-t-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-fonts-02-t-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-path-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-01-b-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-06-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-07-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-08-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-tref-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-tselect-02-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-ws-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-ws-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-09-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-10-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-11-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-12-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-13-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-20-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-21-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-22-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-23-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-25-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-26-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-27-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-28-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-29-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-32-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-34-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-39-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-40-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-41-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-46-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-52-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-60-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-61-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-62-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-63-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-64-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-65-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-66-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-67-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-68-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-69-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-70-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-77-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-78-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-84-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-85-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/color-prof-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/color-prop-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/color-prop-02-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/color-prop-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-coord-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-coord-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-trans-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-trans-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-trans-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-trans-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-trans-05-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-trans-06-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-units-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-displace-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-example-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-felem-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-image-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-light-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-offset-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-specular-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-tile-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/interact-events-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/interact-order-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/interact-order-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/interact-order-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-a-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-a-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-a-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-a-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-a-07-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-uri-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/masking-path-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/masking-path-04-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-fill-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-fill-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-fill-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-fill-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-fill-05-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-marker-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-marker-02-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-stroke-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-stroke-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-stroke-07-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-03-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-05-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-06-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-07-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-08-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-09-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-10-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-12-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-13-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-14-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-15-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-04-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-05-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-07-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-15-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-16-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-17-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-18-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-19-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-elems-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-elems-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-elems-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/script-handle-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-circle-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-circle-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-ellipse-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-ellipse-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-intro-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-line-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-polygon-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-polyline-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-rect-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-rect-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-cond-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-cond-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-cond-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-defs-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-frag-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-frag-05-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-frag-06-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-group-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-group-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-group-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-05-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-06-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-07-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-08-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-09-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-10-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-use-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-use-05-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/styling-css-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/styling-css-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/styling-css-05-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/styling-css-06-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/styling-inherit-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/styling-pres-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-align-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-align-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-align-04-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-fonts-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-fonts-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-path-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-text-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-text-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-text-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-text-06-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-text-07-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-text-08-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-tref-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-tselect-02-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-ws-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-ws-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt:
        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68994 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-03 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 4 Oct 2010 03:38:09 +0000 (03:38 +0000)]
2010-10-03  Kent Tamura  <tkent@chromium.org>

        Unreviewed, upstreaming test expectations in Chromium tree.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68993 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-03 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 4 Oct 2010 02:37:08 +0000 (02:37 +0000)]
2010-10-03  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update for r68976.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68992 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-03 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Mon, 4 Oct 2010 02:29:41 +0000 (02:29 +0000)]
2010-10-03  Dimitri Glazkov  <dglazkov@chromium.org>

        Move chromium-win-xp-specific result to its proper place.

        * platform/chromium-win-xp/svg/custom/js-late-pattern-and-object-creation-expected.txt:
        * platform/chromium-win/svg/custom/js-late-pattern-and-object-creation-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68991 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-03 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Mon, 4 Oct 2010 01:22:08 +0000 (01:22 +0000)]
2010-10-03  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Nikolas Zimmermann.

        [Chromium] Rebaseline svg/custom tests due to http://trac.webkit.org/changeset/68976.
        https://bugs.webkit.org/show_bug.cgi?id=47061

        * platform/chromium-linux/svg/custom/alignment-baseline-modes-expected.checksum:
        * platform/chromium-linux/svg/custom/alignment-baseline-modes-expected.png:
        * platform/chromium-linux/svg/custom/alignment-baseline-modes-expected.txt: Added.
        * platform/chromium-linux/svg/custom/altglyph-expected.checksum:
        * platform/chromium-linux/svg/custom/altglyph-expected.png:
        * platform/chromium-linux/svg/custom/altglyph-expected.txt: Added.
        * platform/chromium-linux/svg/custom/broken-internal-references-expected.txt:
        * platform/chromium-linux/svg/custom/container-opacity-clip-viewBox-expected.txt: Added.
        * platform/chromium-linux/svg/custom/dominant-baseline-modes-expected.checksum:
        * platform/chromium-linux/svg/custom/dominant-baseline-modes-expected.png:
        * platform/chromium-linux/svg/custom/dominant-baseline-modes-expected.txt: Added.
        * platform/chromium-linux/svg/custom/glyph-transformation-with-hkern-expected.checksum:
        * platform/chromium-linux/svg/custom/glyph-transformation-with-hkern-expected.png:
        * platform/chromium-linux/svg/custom/image-small-width-height-expected.checksum:
        * platform/chromium-linux/svg/custom/image-small-width-height-expected.png:
        * platform/chromium-linux/svg/custom/image-small-width-height-expected.txt: Added.
        * platform/chromium-linux/svg/custom/invalid-fill-expected.txt: Added.
        * platform/chromium-linux/svg/custom/invalid-fill-hex-expected.txt: Added.
        * platform/chromium-linux/svg/custom/js-late-clipPath-and-object-creation-expected.txt: Added.
        * platform/chromium-linux/svg/custom/js-late-clipPath-creation-expected.txt: Added.
        * platform/chromium-linux/svg/custom/js-late-gradient-and-object-creation-expected.txt: Added.
        * platform/chromium-linux/svg/custom/js-late-gradient-creation-expected.txt: Added.
        * platform/chromium-linux/svg/custom/js-late-pattern-and-object-creation-expected.txt:
        * platform/chromium-linux/svg/custom/js-late-pattern-creation-expected.txt: Added.
        * platform/chromium-linux/svg/custom/pattern-rotate-expected.txt: Added.
        * platform/chromium-linux/svg/custom/pattern-with-transformation-expected.txt: Added.
        * platform/chromium-linux/svg/custom/pointer-events-text-expected.txt: Added.
        * platform/chromium-linux/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt: Added.
        * platform/chromium-linux/svg/custom/stroke-width-large-expected.txt:
        * platform/chromium-linux/svg/custom/struct-use-09-b-expected.txt:
        * platform/chromium-linux/svg/custom/style-attribute-font-size-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-clip-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-dom-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-filter-expected.checksum:
        * platform/chromium-linux/svg/custom/text-filter-expected.png:
        * platform/chromium-linux/svg/custom/text-filter-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-letter-spacing-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-linking-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-repaint-including-stroke-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-rotation-expected.checksum: Added.
        * platform/chromium-linux/svg/custom/text-rotation-expected.png: Added.
        * platform/chromium-linux/svg/custom/text-rotation-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-whitespace-handling-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-x-dx-lists-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-x-dy-lists-expected.checksum: Added.
        * platform/chromium-linux/svg/custom/text-x-dy-lists-expected.png: Added.
        * platform/chromium-linux/svg/custom/text-x-dy-lists-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-x-override-in-tspan-child-expected.checksum:
        * platform/chromium-linux/svg/custom/text-x-override-in-tspan-child-expected.png:
        * platform/chromium-linux/svg/custom/text-x-override-in-tspan-child-expected.txt: Added.
        * platform/chromium-linux/svg/custom/use-on-text-expected.txt: Added.
        * platform/chromium-linux/svg/custom/use-referencing-nonexisting-symbol-expected.txt: Added.
        * platform/chromium-mac/svg/custom/altglyph-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/altglyph-expected.png: Added.
        * platform/chromium-win/svg/custom/alignment-baseline-modes-expected.checksum:
        * platform/chromium-win/svg/custom/alignment-baseline-modes-expected.png:
        * platform/chromium-win/svg/custom/alignment-baseline-modes-expected.txt:
        * platform/chromium-win/svg/custom/altglyph-expected.checksum:
        * platform/chromium-win/svg/custom/altglyph-expected.png:
        * platform/chromium-win/svg/custom/altglyph-expected.txt:
        * platform/chromium-win/svg/custom/broken-internal-references-expected.txt:
        * platform/chromium-win/svg/custom/container-opacity-clip-viewBox-expected.txt:
        * platform/chromium-win/svg/custom/dominant-baseline-modes-expected.checksum:
        * platform/chromium-win/svg/custom/dominant-baseline-modes-expected.png:
        * platform/chromium-win/svg/custom/dominant-baseline-modes-expected.txt:
        * platform/chromium-win/svg/custom/glyph-transformation-with-hkern-expected.checksum:
        * platform/chromium-win/svg/custom/glyph-transformation-with-hkern-expected.png:
        * platform/chromium-win/svg/custom/image-small-width-height-expected.checksum:
        * platform/chromium-win/svg/custom/image-small-width-height-expected.png:
        * platform/chromium-win/svg/custom/image-small-width-height-expected.txt:
        * platform/chromium-win/svg/custom/invalid-fill-expected.txt:
        * platform/chromium-win/svg/custom/invalid-fill-hex-expected.txt:
        * platform/chromium-win/svg/custom/js-late-clipPath-and-object-creation-expected.txt:
        * platform/chromium-win/svg/custom/js-late-clipPath-creation-expected.txt:
        * platform/chromium-win/svg/custom/js-late-gradient-and-object-creation-expected.txt:
        * platform/chromium-win/svg/custom/js-late-gradient-creation-expected.txt:
        * platform/chromium-win/svg/custom/js-late-pattern-and-object-creation-expected.txt: Added.
        * platform/chromium-win/svg/custom/js-late-pattern-creation-expected.txt:
        * platform/chromium-win/svg/custom/pattern-rotate-expected.txt:
        * platform/chromium-win/svg/custom/pattern-with-transformation-expected.txt:
        * platform/chromium-win/svg/custom/pointer-events-text-expected.txt:
        * platform/chromium-win/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
        * platform/chromium-win/svg/custom/stroke-width-large-expected.txt:
        * platform/chromium-win/svg/custom/struct-use-09-b-expected.checksum: Added.
        * platform/chromium-win/svg/custom/struct-use-09-b-expected.png: Added.
        * platform/chromium-win/svg/custom/struct-use-09-b-expected.txt: Added.
        * platform/chromium-win/svg/custom/style-attribute-font-size-expected.txt:
        * platform/chromium-win/svg/custom/text-clip-expected.txt:
        * platform/chromium-win/svg/custom/text-dom-01-f-expected.txt:
        * platform/chromium-win/svg/custom/text-filter-expected.checksum:
        * platform/chromium-win/svg/custom/text-filter-expected.png:
        * platform/chromium-win/svg/custom/text-filter-expected.txt:
        * platform/chromium-win/svg/custom/text-letter-spacing-expected.txt:
        * platform/chromium-win/svg/custom/text-linking-expected.txt:
        * platform/chromium-win/svg/custom/text-repaint-including-stroke-expected.txt:
        * platform/chromium-win/svg/custom/text-rotation-expected.checksum: Added.
        * platform/chromium-win/svg/custom/text-rotation-expected.png: Added.
        * platform/chromium-win/svg/custom/text-rotation-expected.txt: Added.
        * platform/chromium-win/svg/custom/text-whitespace-handling-expected.txt:
        * platform/chromium-win/svg/custom/text-x-dx-lists-expected.txt:
        * platform/chromium-win/svg/custom/text-x-dy-lists-expected.checksum: Added.
        * platform/chromium-win/svg/custom/text-x-dy-lists-expected.png: Added.
        * platform/chromium-win/svg/custom/text-x-dy-lists-expected.txt: Added.
        * platform/chromium-win/svg/custom/text-x-override-in-tspan-child-expected.checksum:
        * platform/chromium-win/svg/custom/text-x-override-in-tspan-child-expected.png:
        * platform/chromium-win/svg/custom/text-x-override-in-tspan-child-expected.txt:
        * platform/chromium-win/svg/custom/use-on-text-expected.txt:
        * platform/chromium-win/svg/custom/use-referencing-nonexisting-symbol-expected.txt:
        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68990 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoImplement newly added Plugin/PluginController member functions for out of process...
andersca@apple.com [Sun, 3 Oct 2010 21:50:13 +0000 (21:50 +0000)]
Implement newly added Plugin/PluginController member functions for out of process plug-ins
https://bugs.webkit.org/show_bug.cgi?id=47065
<rdar://problem/8507194>

Reviewed by Sam Weinig.

* Platform/CoreIPC/Arguments.h:
Add typedefs.

* Platform/CoreIPC/HandleMessage.h:
(CoreIPC::handleMessage):
Add new handleMessage overload.

* PluginProcess/PluginControllerProxy.cpp:
(WebKit::PluginControllerProxy::create):
Add an isPrivateBrowsingEnabled boolean.

(WebKit::PluginControllerProxy::PluginControllerProxy):
Add an isPrivateBrowsingEnabled boolean.

(WebKit::PluginControllerProxy::proxiesForURL):
(WebKit::PluginControllerProxy::cookiesForURL):
(WebKit::PluginControllerProxy::setCookiesForURL):
Send messages to the web process.

(WebKit::PluginControllerProxy::isPrivateBrowsingEnabled):
Return whether private browsing is enabled or not.

(WebKit::PluginControllerProxy::handleKeyboardEvent):
Call Plugin::handleKeyboardEvent.

(WebKit::PluginControllerProxy::privateBrowsingStateChanged):
Call Plugin::privateBrowsingStateChanged.

* PluginProcess/PluginControllerProxy.messages.in:
Add new messages.

* PluginProcess/WebProcessConnection.cpp:
(WebKit::WebProcessConnection::createPlugin):
Pass the isPrivateBrowsingEnabled flag.

* PluginProcess/WebProcessConnection.h:
* PluginProcess/WebProcessConnection.messages.in:
Update CreatePlugin message parameters.

* WebProcess/Plugins/PluginProcessConnection.cpp:
(WebKit::PluginProcessConnection::didReceiveMessage):
(WebKit::PluginProcessConnection::didReceiveSyncMessage):
It's OK for a plug-in to not get a sync message.

* WebProcess/Plugins/PluginProcessConnection.h:
* WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::handleKeyboardEvent):
(WebKit::PluginProxy::privateBrowsingStateChanged):
Send messages.

(WebKit::PluginProxy::proxiesForURL):
(WebKit::PluginProxy::cookiesForURL):
(WebKit::PluginProxy::setCookiesForURL):
Call the plug-in controller.

* WebProcess/Plugins/PluginProxy.messages.in:
Add new messages.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68989 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoSend keyboard events to plug-ins
andersca@apple.com [Sun, 3 Oct 2010 21:02:19 +0000 (21:02 +0000)]
Send keyboard events to plug-ins
https://bugs.webkit.org/show_bug.cgi?id=47064
<rdar://problem/8507148>

Reviewed by Sam Weinig.

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::handleKeyboardEvent):
Call platformHandleKeyboardEvent.

* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::modifierFlags):
Return the modifier flags given a WebKeyboardEvent.

(WebKit::initializeKeyboardEvent):
Initialize an NPCocoaEvent from a WebKeyboardEvent.

(WebKit::NetscapePlugin::platformHandleKeyboardEvent):
Initialize the event and dispatch it using NPP_HandleEvent.

* WebProcess/Plugins/Netscape/qt/NetscapePluginQt.cpp:
(WebKit::NetscapePlugin::platformHandleKeyboardEvent):
Add stub.

* WebProcess/Plugins/Netscape/win/NetscapePluginWin.cpp:
(WebKit::NetscapePlugin::platformHandleKeyboardEvent):
Add stub.

* WebProcess/Plugins/Plugin.h:
Add handleKeyboardEvent.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::handleEvent):
Call Plugin::handleKeyboardEvent if we see a keydown or keyup event.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68988 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-03 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Sun, 3 Oct 2010 15:35:49 +0000 (15:35 +0000)]
2010-10-03  Dimitri Glazkov  <dglazkov@chromium.org>

        Add Chromium depot_tools to files that git should ignore.

        * .gitignore: Added WebKit/chromium/depot_tools.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68987 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-03 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 3 Oct 2010 09:22:44 +0000 (09:22 +0000)]
2010-10-03  Adam Barth  <abarth@webkit.org>

        Reviewed by Holger Freyther.

        ASSERT(m_state = Open); is bad news bears
        https://bugs.webkit.org/show_bug.cgi?id=47057

        Added by ap (review by darin) in http://trac.webkit.org/changeset/50951
        Too bad the compiler doesn't catch these errors.  I don't believe this
        is possible to test.

        * platform/network/cf/SocketStreamHandleCFNet.cpp:
        (WebCore::SocketStreamHandle::writeStreamCallback):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68986 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-03 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 3 Oct 2010 09:00:22 +0000 (09:00 +0000)]
2010-10-03  Adam Barth  <abarth@webkit.org>

        Reviewed by Holger Freyther.

        All the WebSocket tests crash
        https://bugs.webkit.org/show_bug.cgi?id=47056

        More code that tries to hold onto temporaries with references.

        * websockets/WebSocketChannel.cpp:
        (WebCore::WebSocketChannel::didOpen):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68985 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-03 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 3 Oct 2010 08:19:34 +0000 (08:19 +0000)]
2010-10-03  Adam Barth  <abarth@webkit.org>

        Reviewed by Holger Freyther.

        All the WebSocket tests crash
        https://bugs.webkit.org/show_bug.cgi?id=47055

        This code attempts to hold onto temporary objects using references.
        That doesn't work in C++. Instead, we need to actually store the
        objects somewhere.

        * bindings/js/JSWebSocketCustom.cpp:
        (WebCore::JSWebSocketConstructor::constructJSWebSocket):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68984 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sun, 3 Oct 2010 05:32:18 +0000 (05:32 +0000)]
2010-10-02  Simon Fraser  <simon.fraser@apple.com>

        Add the ability to jump to a specific test.

        * CSSTestSuiteHarness/harness/harness.html:
        * CSSTestSuiteHarness/harness/harness.js:
        (TestSuite.prototype.goToTestByName):
        (TestSuite.prototype.switchToFormat):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68983 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sun, 3 Oct 2010 04:24:34 +0000 (04:24 +0000)]
2010-10-02  Simon Fraser  <simon.fraser@apple.com>

        For a ref test, load the ref in the same format (HTML4 vs XHTML1)
        as the test.

        * CSSTestSuiteHarness/harness/harness.js:
        (TestSuite.prototype.loadRef):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68982 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sun, 3 Oct 2010 04:24:18 +0000 (04:24 +0000)]
2010-10-02  Simon Fraser  <simon.fraser@apple.com>

        Update the UI to reflect the fact that each test needs to be tested
        in both HTML4 and XHTML1 format.

        * CSSTestSuiteHarness/harness/harness.js:
        (Test):
        (Chapter.prototype.description):
        (Chapter.prototype.untestedCount):
        (TestSuite.prototype.fillChapterPopup):
        (TestSuite.prototype.updateChapterPopup):
        (TestSuite.prototype.fillTestList):
        (TestSuite.prototype.updateTestList):
        (TestSuite.prototype.goToNextIncompleteTest):
        (TestSuite.prototype.firstIncompleteTestIndex):
        (TestSuite.prototype.recordResult):
        (TestSuite.prototype.formatChanged):
        (TestSuite.prototype.markTestCompleted):
        (TestSuite.prototype.resetTestStatus):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68981 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoBuild fix. Not reviewed.
hclam@chromium.org [Sat, 2 Oct 2010 21:44:24 +0000 (21:44 +0000)]
Build fix. Not reviewed.

Remove LayoutTests/websocket and the dummy file.

* websocket/tests/workers/README: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68980 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoBuild fix. Not reviewed.
hclam@chromium.org [Sat, 2 Oct 2010 21:18:31 +0000 (21:18 +0000)]
Build fix. Not reviewed.

Add test expectations because of the massive SVG change in r68976.

* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68979 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago[Qt] Provide Qt support for DeviceMotion/Orientation clients
diegohcg@webkit.org [Sat, 2 Oct 2010 21:16:10 +0000 (21:16 +0000)]
[Qt] Provide Qt support for DeviceMotion/Orientation clients
https://bugs.webkit.org/show_bug.cgi?id=47051

Reviewed by Kenneth Rohde Christiansen.

WebCore:

Add Qt DeviceMotion/Orientation dummy clients in build system.

* WebCore.pro:

WebKit/qt:

Dummy implementation of DeviceMotion/Orientation client classes
to make possible to hook up motion/orientation data
in further implementations.

* Api/qwebpage.cpp:
(QWebPagePrivate::QWebPagePrivate):
* WebCoreSupport/DeviceMotionClientQt.cpp: Added.
(WebCore::DeviceMotionClientQt::DeviceMotionClientQt):
(WebCore::DeviceMotionClientQt::setController):
(WebCore::DeviceMotionClientQt::startUpdating):
(WebCore::DeviceMotionClientQt::stopUpdating):
(WebCore::DeviceMotionClientQt::currentDeviceMotion):
(WebCore::DeviceMotionClientQt::deviceMotionControllerDestroyed):
* WebCoreSupport/DeviceMotionClientQt.h: Added.
(WebCore::DeviceMotionClientQt::~DeviceMotionClientQt):
* WebCoreSupport/DeviceOrientationClientQt.cpp: Added.
(WebCore::DeviceOrientationClientQt::DeviceOrientationClientQt):
(WebCore::DeviceOrientationClientQt::setController):
(WebCore::DeviceOrientationClientQt::startUpdating):
(WebCore::DeviceOrientationClientQt::stopUpdating):
(WebCore::DeviceOrientationClientQt::lastOrientation):
(WebCore::DeviceOrientationClientQt::deviceOrientationControllerDestroyed):
* WebCoreSupport/DeviceOrientationClientQt.h: Added.
(WebCore::DeviceOrientationClientQt::~DeviceOrientationClientQt):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68978 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-02 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Sat, 2 Oct 2010 09:26:24 +0000 (09:26 +0000)]
2010-10-02  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed.

        Rewrite SVG text layout code
        https://bugs.webkit.org/show_bug.cgi?id=45532

        Rebaseline gtk / qt / win specific SVG text results.

        * platform/gtk/svg/batik/text/textDecoration-expected.txt:
        * platform/gtk/svg/css/composite-shadow-text-expected.txt:
        * platform/gtk/svg/css/shadow-changes-expected.txt:
        * platform/gtk/svg/css/text-shadow-multiple-expected.txt:
        * platform/gtk/svg/custom/broken-internal-references-expected.txt:
        * platform/gtk/svg/custom/mouse-move-on-svg-container-expected.txt:
        * platform/gtk/svg/custom/mouse-move-on-svg-container-standalone-expected.txt:
        * platform/gtk/svg/custom/mouse-move-on-svg-root-expected.txt:
        * platform/gtk/svg/custom/mouse-move-on-svg-root-standalone-expected.txt:
        * platform/gtk/svg/custom/stroke-width-large-expected.txt:
        * platform/gtk/svg/filters/filter-on-filter-for-text-expected.txt:
        * platform/gtk/svg/filters/filter-on-tspan-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacing-squeeze-1-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacing-squeeze-2-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacing-squeeze-3-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacing-squeeze-4-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacing-stretch-1-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacing-stretch-2-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacing-stretch-3-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacing-stretch-4-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt:
        * platform/gtk/svg/text/select-x-list-1-expected.txt:
        * platform/gtk/svg/text/select-x-list-2-expected.txt:
        * platform/gtk/svg/text/select-x-list-3-expected.txt:
        * platform/gtk/svg/text/select-x-list-4-expected.txt:
        * platform/gtk/svg/text/select-x-list-with-tspans-1-expected.txt:
        * platform/gtk/svg/text/select-x-list-with-tspans-2-expected.txt:
        * platform/gtk/svg/text/select-x-list-with-tspans-3-expected.txt:
        * platform/gtk/svg/text/select-x-list-with-tspans-4-expected.txt:
        * platform/gtk/svg/text/text-hkern-expected.txt:
        * platform/gtk/svg/text/text-hkern-on-vertical-text-expected.txt:
        * platform/gtk/svg/text/text-vkern-expected.txt:
        * platform/qt/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.txt:
        * platform/qt/svg/batik/text/textDecoration-expected.txt:
        * platform/qt/svg/custom/broken-internal-references-expected.txt:
        * platform/qt/svg/filters/filter-on-filter-for-text-expected.txt:
        * platform/qt/svg/filters/filter-on-tspan-expected.txt:
        * platform/qt/svg/text/select-textLength-spacing-squeeze-1-expected.txt:
        * platform/qt/svg/text/select-textLength-spacing-squeeze-2-expected.txt:
        * platform/qt/svg/text/select-textLength-spacing-squeeze-3-expected.txt:
        * platform/qt/svg/text/select-textLength-spacing-squeeze-4-expected.txt:
        * platform/qt/svg/text/select-textLength-spacing-stretch-1-expected.txt:
        * platform/qt/svg/text/select-textLength-spacing-stretch-2-expected.txt:
        * platform/qt/svg/text/select-textLength-spacing-stretch-3-expected.txt:
        * platform/qt/svg/text/select-textLength-spacing-stretch-4-expected.txt:
        * platform/qt/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt:
        * platform/qt/svg/text/select-x-list-1-expected.txt:
        * platform/qt/svg/text/select-x-list-2-expected.txt:
        * platform/qt/svg/text/select-x-list-3-expected.txt:
        * platform/qt/svg/text/select-x-list-4-expected.txt:
        * platform/qt/svg/text/select-x-list-with-tspans-1-expected.txt:
        * platform/qt/svg/text/select-x-list-with-tspans-2-expected.txt:
        * platform/qt/svg/text/select-x-list-with-tspans-3-expected.txt:
        * platform/qt/svg/text/select-x-list-with-tspans-4-expected.txt:
        * platform/qt/svg/text/text-hkern-expected.txt:
        * platform/qt/svg/text/text-hkern-on-vertical-text-expected.txt:
        * platform/qt/svg/text/text-vkern-expected.txt:
        * platform/qt/svg/transforms/text-with-mask-with-svg-transform-expected.txt:
        * platform/win/svg/custom/broken-internal-references-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68977 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Sat, 2 Oct 2010 08:08:26 +0000 (08:08 +0000)]
2010-10-01  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        Rewrite SVG text layout code
        https://bugs.webkit.org/show_bug.cgi?id=45532

        Modernize SVG text layout engine, split the layout process into three phases, so that each results can be cached (which will be done in a follow-up patch).

        Phase #1) - SVGTextLayoutAttributesBuilder
        ------------------------------------------

        Parse x/y/dx/dy/rotate values of the <text> subtree (<text x="30 40">A<tspan>B<tspan x="50">C</tspan></tspan></text>)
        This is done by SVGTextLayoutAttributesBuilder. It builds a SVGTextLayoutAttributes object for each RenderSVGInlineText renderer, and stores it there.
        Phase #1 is started from RenderSVGText::layout(), before RenderBlockLineLayout is laying out the inline children, and thus before the InlineBox tree is created.

        Now we know which character has an associated absolute x or y position, denoting the start of a new text chunk. Whenever we encounter a new text chunk
        RenderBlockLineLayout should create a new SVGInlineTextBox. This is very important, as BiDi reordering shouldn't happen across text chunks, as well as ligature detection.

        The text chunk concept is now merged right into the InlineBox tree, so we don't need to hack around the lack of that, as done for the previous years.

        Phase #2) - SVGTextLayoutEngine
        ------------------------------------------

        RenderSVGText::layout() calls RenderBlock::layoutInlineChildren() right after phase #1 ends. The InlineBox tree is created. During that process findNextLineBreak()
        decides how to split up the text into InlineTextBoxes. It has already been patched, to ask RenderSVGInlineText::characterStartsNewTextChunk(int position), whether the
        current character should go in a new SVGInlineTextBox or not. This requires that phase #1 already stored these information in the RenderSVGInlineText objects.

        For each <text> object a SVGRootInlineBox is created (in constructLine()) and all child boxes are added. After that SVGRootInlineBox::computePerCharacterLayoutInformation()
        is called (unlike HTML text, which splits the vertical & horizontal layout in two phases, it's just one single phase for SVG). This function invokes SVGTextLayoutEngine
        and starts phase #2 of the layout process.

        SVGTextLayoutEngine lays out the content of each SVGInlineTextBox either on a line or a path. It contains all the logic handling, alignment-baseline, dominant-baseline,
        letter-spacing, word-spacing, kerning, glyph-orientation-(horizontal|vertical), rotation, etc. etc.

        As result it generates a set of SVGTextFragment objects which are stored in each SVGInlineTextBox. Each SVGTextFragment is a portion of text that can be rendered/measured
        at once. Some examples to illustrate what's going on:

        <text x="20">ABCD</text>:
        - SVGInlineTextBox
          - SVGTextFragment, start 0 length 4, "ABCD" (x=20)

        <text x="20 100">ABCD</text>:
        - SVGInlineTextBox
          - SVGTextFragment, start 0 length 1, "A" (x=20)
        - SVGInlineTextBox
          - SVGTextFragment, start 0 length 1, "B" (x=100)
          - SVGTextFragment, start 1 length 2, "CD" (x=100 + advance_of_last)

        <text><textPath xlink:href="#somePath">ABCD</textPath></text>:
        - SVGInlineTextBox
          - SVGTextFragment, start 0 length 1, "A" (rotated!)
          - SVGTextFragment, start 1 length 1, "B" (rotated!)
          - SVGTextFragment, start 2 length 1, "C" (rotated!)
          - SVGTextFragment, start 3 length 1, "D" (rotated!)

        <text x="0 50 100">A<tspan>B</tspan>C</text>
        - SVGInlineTextBox
          - SVGTextFragment, start 0 length 1, "A" (x=0)
        - SVGInlineFlowBox
          - SVGInlineTextBox
            - SVGTextFragment, start 0 length 1, "B" (x=50)
        - SVGInlineTextBox
          - SVGTextFragment, start 0 length 1, "C" (x=100)

        When painting text SVGInlineTextBox just walks its fragments and paints them. Text selection works the same.
        All text measurements (width/height etc.) have already been done in phase #2 and aren't required anymore while painting/selecting.
        This is one of the main benefits of the new text layout engine, painting & selection is cheap now, compared to the layout process.

        We're now doing phase #1 everytime RenderSVGText::layout() is called. This is not necessary, we only have to recompute these information
        if the x/y/dx/dy or rotate list of an element in the <text> subtree changes or the text content itself -> this will be done in a follow-up patch.
        It's likely that we'll also find ways to skip phase #2 in certain situations.

        Phase #3) - SVGTextChunkBuilder
        ------------------------------------------

        After phase #2 finished, we can post-process the text fragments. Certain operations have to be applied on a "per chunk" basis.
        text-anchor should be applied to individual text chunks, as well as textLength corrections (lengthAdjust="spacing" / lengthAdjust="spacingAndGlyphs").

        SVGTextChunkBuilder just walks the SVGInlineTextBox, and collects all boxes belonging to a certain chunk. For each of the chunks all fragments
        are post-processed. For instance for text-anchor="middle", all x positions of all fragments are shifted by -fragmentWidth/2 (for horizonal text).

        After phase #1 - #3 finished, SVGRootInlineBox::computePerCharacterLayoutInformation() utilizies the stored SVGTextFragments to lay out all child
        boxes in the InlineBox tree (setWidth/Height, etc.), the size and position of the SVGRootInlineBox and it's parent RenderSVGText object.

        This should give interessted readers a good summary of how the new text layout engine works.
        See LayoutTests/ChangeLog for more details on test progression.

        Tests: svg/custom/text-rotation.svg
               svg/custom/text-x-dy-lists.svg

        * Android.mk: Add SVGTextLayoutEngine.* / SVGTextChunkBuilder.* to build. Remove SVGCharacterData.* / SVGTextChunkLayoutInfo.* / SVGTextLayoutUtilities.* from build.
        * CMakeLists.txt: Ditto.
        * GNUmakefile.am: Ditto.
        * WebCore.gypi: Ditto.
        * WebCore.pro: Ditto.
        * WebCore.vcproj/WebCore.vcproj: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.
        * rendering/InlineBox.h:
        (WebCore::InlineBox::isSVGInlineFlowBox): Add helper function to identify SVGInlineFlowBoxes. The variants for SVGInlineTextBox etc. already exist.
        * rendering/InlineTextBox.h: Devirtualize selectionStartEnd, SVG is no longer overriding it.
        * rendering/RenderSVGAllInOne.cpp: removes
        * rendering/RenderText.cpp:
        (WebCore::RenderText::setTextInternal): Remove SVG specific hacks, moved to RenderSVGInlineText.
        * rendering/SVGCharacterData.cpp: Removed.
        * rendering/SVGCharacterData.h: Removed.
        * rendering/SVGCharacterLayoutInfo.cpp: Removed.
        * rendering/SVGCharacterLayoutInfo.h: Removed.
        * rendering/SVGRenderTreeAsText.cpp: Hack DRT output to be somewhat compatible with the current output, the plan is to change it completly after this patch.
        (WebCore::writeRenderSVGTextBox):
        (WebCore::writeSVGInlineTextBox):
        * rendering/SVGTextChunkLayoutInfo.cpp: Removed.
        * rendering/SVGTextChunkLayoutInfo.h: Removed.
        * rendering/SVGTextLayoutUtilities.cpp: Removed.
        * rendering/SVGTextLayoutUtilities.h: Removed.
        * rendering/style/RenderStyle.cpp:
        (WebCore::RenderStyle::diff): Only return immediately if SVGRenderStyle::diff produced StyleDifferenceLayout, it it's sth. else be sure to ask RenderStyle itself what to do.
        * rendering/style/SVGRenderStyle.h:
        (WebCore::SVGRenderStyle::isVerticalWritingMode): New helper method, moved from SVGTextLayoutUtilities.
        * rendering/svg/RenderSVGInlineText.cpp:
        (WebCore::applySVGWhitespaceRules): Moved from RenderText into a SVG specific place.
        (WebCore::RenderSVGInlineText::RenderSVGInlineText): Use applySVGWhitespaceRules on the incoming text.
        (WebCore::RenderSVGInlineText::styleDidChange): Only apply SVG white space rules, when using xml:space="preserve", otherwhise the constructor already handled it.
        (WebCore::RenderSVGInlineText::characterStartsNewTextChunk): Create text chunks for absolute y values as well, SVG 1.1 2nd Edition demands that.
        (WebCore::RenderSVGInlineText::positionForPoint): New function operating on all SVGInlineTextBoxes and their SVGTextFragments.
        * rendering/svg/RenderSVGInlineText.h:
        (WebCore::RenderSVGInlineText::layoutAttributes): Stores the layout attributes generated by SVGTextLayoutAttributesBuilder.
        (WebCore::toRenderSVGInlineText): New helper methods for casting.
        * rendering/svg/RenderSVGText.cpp:
        (WebCore::RenderSVGText::layout): Add comment, that SVGTextLayoutAttributesBuilder is just phase one of the layout process.
        (WebCore::RenderSVGText::positionForPoint): Simplified implementation for SVGs needs.
        * rendering/svg/RenderSVGText.h:
        * rendering/svg/SVGInlineFlowBox.cpp:
        (WebCore::SVGInlineFlowBox::paintSelectionBackground): Seperated selection background drawing from actual text rendering, to make sure selection is always in background for SVG.
        (WebCore::SVGInlineFlowBox::paint): Call computetextMatchMarkerRectForRenderer, before painting.
        (WebCore::SVGInlineFlowBox::computeTextMatchMarkerRectForRenderer): New method.
        * rendering/svg/SVGInlineFlowBox.h:
        (WebCore::SVGInlineFlowBox::isSVGInlineFlowBox):
        * rendering/svg/SVGInlineTextBox.cpp: Completly rewritten, operates on SVGTextFragments, produced by the SVGTextLayoutEngine. Whole new concept, compared to the old hack.
        * rendering/svg/SVGInlineTextBox.h:
        (WebCore::SVGInlineTextBox::clearTextFragments): Only used by SVGTextLayoutEngine, to clean up previously computed fragments.
        (WebCore::SVGInlineTextBox::textFragments): Offers access to the fragments in the box.
        (WebCore::SVGInlineTextBox::startsNewTextChunk): Does this box start a new text chunk?
        (WebCore::SVGInlineTextBox::setStartsNewTextChunk): SVGTextLayoutEngine marks this box, if it starts a new text chunk.
        * rendering/svg/SVGRootInlineBox.cpp: Remove old code regarding text chunk parts.
        (WebCore::SVGRootInlineBox::paint): Selection is now painted before text, to assure it's really in the background.
        (WebCore::SVGRootInlineBox::computePerCharacterLayoutInformation): Use new SVGTextLayoutEngine.
        (WebCore::SVGRootInlineBox::layoutCharactersInTextBoxes): Feed SVGTextLayoutEngine with SVGInlineTextBoxes, detect the begin/end of path layouts.
        (WebCore::SVGRootInlineBox::layoutChildBoxes): Use new isSVGInlineTextBox() helper method.
        (WebCore::SVGRootInlineBox::closestLeafChildForPosition): Simplified version for SVG.
        * rendering/svg/SVGRootInlineBox.h: Remove access to text chunks, they're now longer stored in the SVGRootInlineBox.
        * rendering/svg/SVGTextChunk.cpp: s/SVGTextChunkNew/SVGTextChunk/
        * rendering/svg/SVGTextChunk.h:
        * rendering/svg/SVGTextChunkBuilder.cpp: Added.
        * rendering/svg/SVGTextChunkBuilder.h: Added.
        * rendering/svg/SVGTextLayoutAttributes.cpp: Constify dump() method.
        * rendering/svg/SVGTextLayoutAttributes.h:
        (WebCore::SVGTextLayoutAttributes::textMetricsValues):
        * rendering/svg/SVGTextLayoutAttributesBuilder.cpp: Rewritten, consume less memory, while building the layout attributes.
        * rendering/svg/SVGTextLayoutAttributesBuilder.h:
        * rendering/svg/SVGTextLayoutEngine.cpp: Added.
        * rendering/svg/SVGTextLayoutEngine.h: Added.
        * rendering/svg/SVGTextQuery.cpp: Rewritten to deal with the new SVGTextFragment/SVGTextLayoutAttributes logic.
        * rendering/svg/SVGTextQuery.h:
2010-10-01  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        Rewrite SVG text layout code
        https://bugs.webkit.org/show_bug.cgi?id=45532

        Rebaseline most SVGs containing text. The underlying concept has changed, I tried hard to maintain
        a somewhat compatible DRT output, so it doesn't require rebaselines of _all_ tests.
        The dump looks awkward now, it will always report "chunk 1", as it's hardcoded in SVGRenderTreeAsText.
        Follow up patches will change the output of text dumps completly.

        * platform/mac-leopard/svg/W3C-SVG-1.1/text-text-05-t-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1/text-text-05-t-expected.png:
        * platform/mac-leopard/svg/batik/text/textOnPath-expected.checksum:
        * platform/mac-leopard/svg/batik/text/textOnPath-expected.png: baseline-shift adjustments now match Opera.
        * platform/mac-leopard/svg/batik/text/verticalTextOnPath-expected.checksum:
        * platform/mac-leopard/svg/batik/text/verticalTextOnPath-expected.png: Ditto.
        * platform/mac-leopard/svg/batik/text/xmlSpace-expected.checksum:
        * platform/mac-leopard/svg/batik/text/xmlSpace-expected.png:
        * platform/mac-leopard/svg/custom/altglyph-expected.checksum:
        * platform/mac-leopard/svg/custom/altglyph-expected.png:
        * platform/mac-leopard/svg/text/multichar-glyph-expected.checksum:
        * platform/mac-leopard/svg/text/multichar-glyph-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-03-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-40-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/filters-displace-01-f-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/linking-a-07-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-05-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png: No more blurry edges, size calculations fixed.
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/struct-frag-06-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/styling-css-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/styling-css-05-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-align-02-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1/text-align-02-b-expected.png: baseline-shift looks slightly different, now matches Opera.
        * platform/mac/svg/W3C-SVG-1.1/text-align-02-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-align-03-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-align-04-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-align-05-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1/text-align-05-b-expected.png: Vertical text now starts at correct origin, and is centered correctly.
        * platform/mac/svg/W3C-SVG-1.1/text-align-05-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-align-06-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1/text-align-06-b-expected.png: Ditto + baseline-shift differences.
        * platform/mac/svg/W3C-SVG-1.1/text-align-06-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-path-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-text-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-text-04-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-text-05-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-text-06-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-text-07-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-tselect-02-f-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt:
        * platform/mac/svg/batik/text/longTextOnPath-expected.txt:
        * platform/mac/svg/batik/text/textAnchor-expected.txt:
        * platform/mac/svg/batik/text/textAnchor2-expected.checksum:
        * platform/mac/svg/batik/text/textAnchor2-expected.png: y-position adjustments start new text chunks since SVG 1.1 2nd edition (in contrary to SVG 1.2 Tiny). Left the test as is.
        * platform/mac/svg/batik/text/textAnchor2-expected.txt:
        * platform/mac/svg/batik/text/textAnchor3-expected.txt:
        * platform/mac/svg/batik/text/textDecoration-expected.checksum:
        * platform/mac/svg/batik/text/textDecoration-expected.png: text-decoration defined on <text> paints with the paint sever defined on the <tspan>, test finally works!
        * platform/mac/svg/batik/text/textDecoration-expected.txt:
        * platform/mac/svg/batik/text/textDecoration2-expected.checksum:
        * platform/mac/svg/batik/text/textDecoration2-expected.png: Ditto.
        * platform/mac/svg/batik/text/textDecoration2-expected.txt:
        * platform/mac/svg/batik/text/textEffect-expected.checksum:
        * platform/mac/svg/batik/text/textEffect-expected.png: Just like pservers-grad-08-b.svg, no more blurry edges.
        * platform/mac/svg/batik/text/textEffect-expected.txt:
        * platform/mac/svg/batik/text/textEffect2-expected.txt:
        * platform/mac/svg/batik/text/textEffect3-expected.checksum:
        * platform/mac/svg/batik/text/textEffect3-expected.png: Ditto.
        * platform/mac/svg/batik/text/textEffect3-expected.txt:
        * platform/mac/svg/batik/text/textFeatures-expected.checksum:
        * platform/mac/svg/batik/text/textFeatures-expected.png: baseline-shift differences.
        * platform/mac/svg/batik/text/textFeatures-expected.txt:
        * platform/mac/svg/batik/text/textGlyphOrientationHorizontal-expected.checksum:
        * platform/mac/svg/batik/text/textGlyphOrientationHorizontal-expected.png: Completly fixed, now aligns properly with path, matches Opera & Batik.
        * platform/mac/svg/batik/text/textGlyphOrientationHorizontal-expected.txt:
        * platform/mac/svg/batik/text/textLayout-expected.txt:
        * platform/mac/svg/batik/text/textLayout2-expected.checksum:
        * platform/mac/svg/batik/text/textLayout2-expected.png: baseline-shift differences.
        * platform/mac/svg/batik/text/textLayout2-expected.txt:
        * platform/mac/svg/batik/text/textLength-expected.txt:
        * platform/mac/svg/batik/text/textOnPath-expected.txt:
        * platform/mac/svg/batik/text/textOnPath2-expected.txt:
        * platform/mac/svg/batik/text/textOnPath3-expected.txt:
        * platform/mac/svg/batik/text/textOnPathSpaces-expected.txt:
        * platform/mac/svg/batik/text/textPCDATA-expected.txt:
        * platform/mac/svg/batik/text/textPosition-expected.txt:
        * platform/mac/svg/batik/text/textPosition2-expected.txt:
        * platform/mac/svg/batik/text/textProperties-expected.txt:
        * platform/mac/svg/batik/text/textProperties2-expected.txt:
        * platform/mac/svg/batik/text/verticalText-expected.checksum:
        * platform/mac/svg/batik/text/verticalText-expected.png:
        * platform/mac/svg/batik/text/verticalText-expected.txt:
        * platform/mac/svg/batik/text/verticalTextOnPath-expected.txt:
        * platform/mac/svg/batik/text/xmlSpace-expected.txt:
        * platform/mac/svg/carto.net/button-expected.txt:
        * platform/mac/svg/carto.net/colourpicker-expected.txt:
        * platform/mac/svg/carto.net/combobox-expected.txt:
        * platform/mac/svg/carto.net/selectionlist-expected.txt:
        * platform/mac/svg/carto.net/tabgroup-expected.txt:
        * platform/mac/svg/carto.net/textbox-expected.txt:
        * platform/mac/svg/carto.net/window-expected.txt:
        * platform/mac/svg/clip-path/deep-nested-clip-in-mask-panning-expected.txt:
        * platform/mac/svg/css/text-shadow-multiple-expected.txt:
        * platform/mac/svg/custom/alignment-baseline-modes-expected.checksum:
        * platform/mac/svg/custom/alignment-baseline-modes-expected.png: central baseline now works as expected.
        * platform/mac/svg/custom/alignment-baseline-modes-expected.txt:
        * platform/mac/svg/custom/altglyph-expected.txt:
        * platform/mac/svg/custom/broken-internal-references-expected.txt:
        * platform/mac/svg/custom/container-opacity-clip-viewBox-expected.txt:
        * platform/mac/svg/custom/dominant-baseline-modes-expected.checksum:
        * platform/mac/svg/custom/dominant-baseline-modes-expected.png: ditto.
        * platform/mac/svg/custom/dominant-baseline-modes-expected.txt:
        * platform/mac/svg/custom/glyph-selection-lang-attribute-expected.txt:
        * platform/mac/svg/custom/glyph-transformation-with-hkern-expected.checksum:
        * platform/mac/svg/custom/glyph-transformation-with-hkern-expected.png: Kerning is now properly respected.
        * platform/mac/svg/custom/image-small-width-height-expected.txt:
        * platform/mac/svg/custom/invalid-fill-expected.txt:
        * platform/mac/svg/custom/invalid-fill-hex-expected.txt:
        * platform/mac/svg/custom/mouse-move-on-svg-container-expected.txt:
        * platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.txt:
        * platform/mac/svg/custom/mouse-move-on-svg-root-expected.txt:
        * platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.txt:
        * platform/mac/svg/custom/pattern-rotate-expected.txt:
        * platform/mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
        * platform/mac/svg/custom/style-attribute-font-size-expected.txt:
        * platform/mac/svg/custom/text-dom-01-f-expected.txt:
        * platform/mac/svg/custom/text-letter-spacing-expected.txt:
        * platform/mac/svg/custom/text-linking-expected.txt:
        * platform/mac/svg/custom/text-rotation-expected.checksum: Added.
        * platform/mac/svg/custom/text-rotation-expected.png: Added.
        * platform/mac/svg/custom/text-rotation-expected.txt: Added.
        * platform/mac/svg/custom/text-whitespace-handling-expected.txt:
        * platform/mac/svg/custom/text-x-dx-lists-expected.txt:
        * platform/mac/svg/custom/text-x-dy-lists-expected.checksum: Added.
        * platform/mac/svg/custom/text-x-dy-lists-expected.png: Added.
        * platform/mac/svg/custom/text-x-dy-lists-expected.txt: Added.
        * platform/mac/svg/custom/text-x-override-in-tspan-child-expected.checksum:
        * platform/mac/svg/custom/text-x-override-in-tspan-child-expected.png:
        * platform/mac/svg/custom/text-x-override-in-tspan-child-expected.txt:
        * platform/mac/svg/custom/use-detach-expected.txt:
        * platform/mac/svg/filters/filter-on-filter-for-text-expected.txt:
        * platform/mac/svg/filters/filter-on-tspan-expected.txt:
        * platform/mac/svg/text/kerning-expected.txt:
        * platform/mac/svg/text/multichar-glyph-expected.txt:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-1-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-1-expected.png:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-1-expected.txt:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-2-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-2-expected.png:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-2-expected.txt:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-3-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-3-expected.png:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-3-expected.txt:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-4-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-4-expected.png:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-4-expected.txt:
        * platform/mac/svg/text/select-textLength-spacing-stretch-1-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacing-stretch-1-expected.png:
        * platform/mac/svg/text/select-textLength-spacing-stretch-1-expected.txt:
        * platform/mac/svg/text/select-textLength-spacing-stretch-2-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacing-stretch-2-expected.png:
        * platform/mac/svg/text/select-textLength-spacing-stretch-2-expected.txt:
        * platform/mac/svg/text/select-textLength-spacing-stretch-3-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacing-stretch-3-expected.png:
        * platform/mac/svg/text/select-textLength-spacing-stretch-3-expected.txt:
        * platform/mac/svg/text/select-textLength-spacing-stretch-4-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacing-stretch-4-expected.png:
        * platform/mac/svg/text/select-textLength-spacing-stretch-4-expected.txt:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.png:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.png:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.txt:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.png:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.txt:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.png:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.txt:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.png:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.png:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.txt:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.png:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.txt:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.png:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt:
        * platform/mac/svg/text/select-x-list-1-expected.checksum:
        * platform/mac/svg/text/select-x-list-1-expected.png:
        * platform/mac/svg/text/select-x-list-1-expected.txt:
        * platform/mac/svg/text/select-x-list-2-expected.checksum:
        * platform/mac/svg/text/select-x-list-2-expected.png:
        * platform/mac/svg/text/select-x-list-2-expected.txt:
        * platform/mac/svg/text/select-x-list-3-expected.checksum:
        * platform/mac/svg/text/select-x-list-3-expected.png:
        * platform/mac/svg/text/select-x-list-3-expected.txt:
        * platform/mac/svg/text/select-x-list-4-expected.checksum:
        * platform/mac/svg/text/select-x-list-4-expected.png:
        * platform/mac/svg/text/select-x-list-4-expected.txt:
        * platform/mac/svg/text/select-x-list-with-tspans-1-expected.checksum:
        * platform/mac/svg/text/select-x-list-with-tspans-1-expected.png:
        * platform/mac/svg/text/select-x-list-with-tspans-1-expected.txt:
        * platform/mac/svg/text/select-x-list-with-tspans-2-expected.checksum:
        * platform/mac/svg/text/select-x-list-with-tspans-2-expected.png:
        * platform/mac/svg/text/select-x-list-with-tspans-2-expected.txt:
        * platform/mac/svg/text/select-x-list-with-tspans-3-expected.checksum:
        * platform/mac/svg/text/select-x-list-with-tspans-3-expected.png:
        * platform/mac/svg/text/select-x-list-with-tspans-3-expected.txt:
        * platform/mac/svg/text/select-x-list-with-tspans-4-expected.checksum:
        * platform/mac/svg/text/select-x-list-with-tspans-4-expected.png:
        * platform/mac/svg/text/select-x-list-with-tspans-4-expected.txt:
        * platform/mac/svg/text/text-align-02-b-expected.checksum:
        * platform/mac/svg/text/text-align-02-b-expected.png:
        * platform/mac/svg/text/text-align-02-b-expected.txt:
        * platform/mac/svg/text/text-align-03-b-expected.txt:
        * platform/mac/svg/text/text-align-04-b-expected.checksum:
        * platform/mac/svg/text/text-align-04-b-expected.png:
        * platform/mac/svg/text/text-align-04-b-expected.txt:
        * platform/mac/svg/text/text-align-05-b-expected.checksum:
        * platform/mac/svg/text/text-align-05-b-expected.png:
        * platform/mac/svg/text/text-align-05-b-expected.txt:
        * platform/mac/svg/text/text-align-06-b-expected.checksum:
        * platform/mac/svg/text/text-align-06-b-expected.png:
        * platform/mac/svg/text/text-align-06-b-expected.txt:
        * platform/mac/svg/text/text-altglyph-01-b-expected.txt:
        * platform/mac/svg/text/text-deco-01-b-expected.checksum:
        * platform/mac/svg/text/text-deco-01-b-expected.png:
        * platform/mac/svg/text/text-deco-01-b-expected.txt:
        * platform/mac/svg/text/text-hkern-expected.checksum:
        * platform/mac/svg/text/text-hkern-expected.png: Kerning now respects text chunk boundaries.
        * platform/mac/svg/text/text-hkern-expected.txt:
        * platform/mac/svg/text/text-hkern-on-vertical-text-expected.txt:
        * platform/mac/svg/text/text-path-01-b-expected.checksum:
        * platform/mac/svg/text/text-path-01-b-expected.png:
        * platform/mac/svg/text/text-path-01-b-expected.txt:
        * platform/mac/svg/text/text-spacing-01-b-expected.checksum:
        * platform/mac/svg/text/text-spacing-01-b-expected.png:
        * platform/mac/svg/text/text-spacing-01-b-expected.txt:
        * platform/mac/svg/text/text-text-01-b-expected.checksum:
        * platform/mac/svg/text/text-text-01-b-expected.png:
        * platform/mac/svg/text/text-text-01-b-expected.txt:
        * platform/mac/svg/text/text-text-04-t-expected.checksum:
        * platform/mac/svg/text/text-text-04-t-expected.png:
        * platform/mac/svg/text/text-text-04-t-expected.txt:
        * platform/mac/svg/text/text-text-05-t-expected.checksum:
        * platform/mac/svg/text/text-text-05-t-expected.png: y positions now also start text chunks, finally a progression on this test!
        * platform/mac/svg/text/text-text-05-t-expected.txt:
        * platform/mac/svg/text/text-text-06-t-expected.txt:
        * platform/mac/svg/text/text-text-07-t-expected.checksum:
        * platform/mac/svg/text/text-text-07-t-expected.png:
        * platform/mac/svg/text/text-text-07-t-expected.txt:
        * platform/mac/svg/text/text-text-08-b-expected.checksum:
        * platform/mac/svg/text/text-text-08-b-expected.png: Opacity doesn't affect selection anymore, matches all other browsers.
        * platform/mac/svg/text/text-tselect-01-b-expected.txt:
        * platform/mac/svg/text/text-tselect-02-f-expected.txt:
        * platform/mac/svg/text/text-tspan-01-b-expected.txt:
        * platform/mac/svg/text/text-vkern-expected.checksum:
        * platform/mac/svg/text/text-vkern-expected.png: Kerning now respects text chunk boundaries.
        * platform/mac/svg/text/text-vkern-expected.txt:
        * platform/mac/svg/text/textPathBoundsBug-expected.txt:
        * platform/mac/svg/transforms/text-with-mask-with-svg-transform-expected.txt:
        * platform/mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.checksum:
        * platform/mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
        * platform/mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt:
        * platform/mac/svg/transforms/text-with-pattern-with-svg-transform-expected.checksum:
        * platform/mac/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
        * platform/mac/svg/transforms/text-with-pattern-with-svg-transform-expected.txt:
        * svg/batik/text/xmlSpace.svg: Fixed wrong test, now the embedded SVG Font is actually used.
        * svg/custom/altglyph.svg: Fixed wrong test, xlink namespace was wrong, xlink:href for altGlyph had no effect.
        * svg/custom/glyph-setting-d-attribute-expected.txt:
        * svg/custom/glyph-transformation-with-hkern-expected.txt:
        * svg/custom/text-rotation.svg: Added.
        * svg/custom/text-x-dy-lists.svg: Added.
        * svg/custom/text-x-override-in-tspan-child.svg: Fixed wrong test, depending on a previous bug - now matches Opera.
        * svg/text/multichar-glyph.svg: Also dump end positions of characters.
        * svg/text/resources/SelectionTestCase.js: Modify the selection test cases, to draw green lines marking the computed start & end postions of the selected characters.
        (selectRange):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68976 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoBuild fix. Not reviewed.
hclam@chromium.org [Sat, 2 Oct 2010 07:57:43 +0000 (07:57 +0000)]
Build fix. Not reviewed.

An adhoc fix for a crash found by reliability bot. This will make the
reliability bot happy. A proper fix is pending commit.

* platform/graphics/chromium/VideoLayerChromium.cpp:
(WebCore::VideoLayerChromium::~VideoLayerChromium):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68975 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoNot reviewed. Build fix.
hclam@chromium.org [Sat, 2 Oct 2010 07:26:08 +0000 (07:26 +0000)]
Not reviewed. Build fix.

Add test expectations for Chromium.

* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68974 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 2 Oct 2010 06:01:29 +0000 (06:01 +0000)]
2010-10-01  Simon Fraser  <simon.fraser@apple.com>

        Add the ability to remove results for re-testing, and
        to import results.

        * CSSTestSuiteHarness/harness/harness.css:
        (.custom button):
        (#overlay):
        (#overlay.visible):
        (.overlay-contents):
        (.overlay-contents textarea):
        (.overlay-contents .buttons):
        (.overlay-contents .note):
        (.overlay-contents .buttons button):
        * CSSTestSuiteHarness/harness/harness.html:
        * CSSTestSuiteHarness/harness/harness.js:
        (TestSuite.prototype.importResults):
        (TestSuite.prototype.clearResults):
        (TestSuite.prototype.markTestCompleted):
        (TestSuite.prototype.resetTestStatus):
        (TestSuite.prototype.storeTestResult):
        (TestSuite.prototype.importTestResults):
        (TestSuite.prototype.clearTestResults):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68973 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Sat, 2 Oct 2010 04:49:45 +0000 (04:49 +0000)]
2010-10-01  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        FormatBlockCommand and IndentOutdentCommand should use the same code to iterate paragraphs
        https://bugs.webkit.org/show_bug.cgi?id=46840

        Added ApplyBlockElementCommand, which is an abstract class inherited by FormatBlockCommand
        and IndentOutdentCommand.  It is intended to be inherited by InsertListCommand as well.

        ApplyBlockElementCommand's doApply verifies the current selection and exits early
        if it's invalid or orphaned or if the current selection is outside editable region.
        It then calls formatSelection to apply the block element after which doApply restores the selection.
        formatSelection iterates through paragraphs and calls formatParagraph, a pure virtual function
        implemented by FormatBlockCommand and IndentOutdentCommand, on each paragraph.

        No new tests are added since this is a refactoring.

        * Android.mk: Added ApplyBlockElementCommand.cpp.
        * CMakeLists.txt: Ditto.
        * GNUmakefile.am: Added ApplyBlockElementCommand.cpp and ApplyBlockElementCommand.h.
        * WebCore.gypi: Ditto.
        * WebCore.pro: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.
        * editing/ApplyBlockElementCommand.cpp: Added.
        (WebCore::countParagraphs): Moved from IndentOutdentCommand.cpp
        (WebCore::ApplyBlockElementCommand::ApplyBlockElementCommand): Added.
        (WebCore::ApplyBlockElementCommand::doApply): Moved from IndentOutdentCommand::doApply.
        (WebCore::ApplyBlockElementCommand::formatSelection): Moved from IndentOutdentCommand::indentRegion.
        (WebCore::ApplyBlockElementCommand::createBlockElement): Added.
        (WebCore::ApplyBlockElementCommand::splitTextNodes): Moved from IndentOutdentCommand::splitTextNodes.
        * editing/ApplyBlockElementCommand.h: Added.
        * editing/EditingAllInOne.cpp:
        * editing/EditorCommand.cpp:
        (WebCore::executeFormatBlock):
        * editing/FormatBlockCommand.cpp: Removed doApply.
        (WebCore::FormatBlockCommand::FormatBlockCommand): Calls ApplyBlockElementCommand's constructor.
        (WebCore::FormatBlockCommand::formatParagraph): Renamed from doApplyForSingleParagraph.
        * editing/FormatBlockCommand.h: FormatBlockCommand inherits from ApplyBlockElementCommand.
        (WebCore::FormatBlockCommand::create): Uses QualifiedName for the tag name instead of AtomicString.
        * editing/IndentOutdentCommand.cpp: Removed doApply, indentIntoBlockquote, and splitTextNodes.
        (WebCore::IndentOutdentCommand::IndentOutdentCommand): Calls ApplyBlockElementCommand's constructor.
        (WebCore::IndentOutdentCommand::indentIntoBlockquote): The code to nullify targetBlockquote
        when the next paragraph is in a different table cell is moved to ApplyBlockElementCommand::formatSelection.
        (WebCore::IndentOutdentCommand::formatSelection): Added. Calls outdentRegion when outdenting.
        (WebCore::IndentOutdentCommand::formatParagraph): Added. Calls tryIndentingAsListItem and indentIntoBlockquote.
        * editing/IndentOutdentCommand.h: IndentOutdentCommand inherits from ApplyBlockElementCommand.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68972 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoBuild fix.
mrowe@apple.com [Sat, 2 Oct 2010 04:01:29 +0000 (04:01 +0000)]
Build fix.

Clear the executable bit from a number of source files.

WebCore:

* page/Frame.cpp:
* platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:
* platform/graphics/win/WKCACFLayerRenderer.cpp:
* platform/graphics/win/WKCACFLayerRenderer.h:
* platform/network/ResourceRawHeaders.h:
* rendering/RenderLayerCompositor.cpp:
* rendering/RenderLayerCompositor.h:

WebKit/win:

* WebView.cpp:
* WebView.h:

WebKit2:

* WebProcess/WebCoreSupport/win/WebFrameNetworkingContext.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68971 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Sat, 2 Oct 2010 03:22:06 +0000 (03:22 +0000)]
2010-10-01  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Adam Barth.

        [GTK] r68923 broke some plugin tests
        https://bugs.webkit.org/show_bug.cgi?id=47040

        No longer pass focus and blur events to plugins when the "old" DOM Level
        2 DOMFocusIn/DOMFocusOut events occur. r68923 made a change which means
        that the DOM Level 3 version is always fired for this event.

        No new tests, as this should cause the failing tests to pass.

        * plugins/PluginView.cpp:
        (WebCore::PluginView::handleEvent): No longer pass focus and blur events to
        plugins when DOMFocusIn / DOMFocusOut events occur.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68970 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Sat, 2 Oct 2010 02:17:53 +0000 (02:17 +0000)]
2010-10-01  Martin Robinson  <mrobinson@igalia.com>

        Removed an expected result for a previously skipped test. This test
        is skipped because it fails on 1 (out of 4) GTK+ bots. It had
        started failing again after the WebSocket tests were relocated and
        the skipped list was no longer up to date.

        * platform/gtk/Skipped: Update skipped list to reflect new test location.
        * platform/gtk/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68969 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Tony Chang <tony@chromium.org>
tony@chromium.org [Sat, 2 Oct 2010 02:08:15 +0000 (02:08 +0000)]
2010-10-01  Tony Chang  <tony@chromium.org>

        Unreviewed.  Turns out Safari Win matches Safari Mac so move the
        expectation to chromium-win.

        * platform/chromium-win/editing/selection/5354455-1-expected.txt: Renamed from LayoutTests/platform/win/editing/selection/5354455-1-expected.txt.
        * platform/win/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68968 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Tony Chang <tony@chromium.org>
tony@chromium.org [Sat, 2 Oct 2010 02:01:13 +0000 (02:01 +0000)]
2010-10-01  Tony Chang  <tony@chromium.org>

        Unreviewed.  Updating layout test (editing/selection/5354455-1.html) after r68948.
        Will fix soon.

        * platform/chromium/test_expectations.txt:
        * platform/win/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68967 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoDeploy the new WKString functions to remove most uses of CF from
weinig@apple.com [Sat, 2 Oct 2010 01:54:27 +0000 (01:54 +0000)]
Deploy the new WKString functions to remove most uses of CF from
the WebKitTestRunner.

Reviewed by Jon Honeycutt.

* WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::didReceiveMessage):
(WTR::InjectedBundle::done):
* WebKitTestRunner/StringFunctions.h:
(WTR::toWK):
(WTR::toJS):
(WTR::toSTD):
(WTR::operator<<):
(WTR::copyURLString):
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetStateToConsistentValues):
(WTR::TestController::didFinishLoadForFrame):
* WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::invoke):
(WTR::TestInvocation::didReceiveMessageFromInjectedBundle):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68966 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Sat, 2 Oct 2010 01:17:42 +0000 (01:17 +0000)]
2010-10-01  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed TestResultsServer change.

        Add files introduced by http://crrev.com/61273 to the list of dashboard
        files to update.

        * TestResultServer/handlers/dashboardhandler.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68963 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebCore: Plug-ins should have access to the private browsing state.
andersca@apple.com [Sat, 2 Oct 2010 00:45:10 +0000 (00:45 +0000)]
WebCore: Plug-ins should have access to the private browsing state.
https://bugs.webkit.org/show_bug.cgi?id=47031
<rdar://problem/8505405>

Reviewed by Sam Weinig.

* page/Page.cpp:
(WebCore::Page::privateBrowsingStateChanged):
When iterating over all widgets, also look for PluginViewBase classes and invoke their
privateBrowsingStateChange member function.

* plugins/PluginViewBase.h:
(WebCore::PluginViewBase::privateBrowsingStateChanged):
Add function.

WebKit2: Plug-ins should have access to the private browsing state.
https://bugs.webkit.org/show_bug.cgi?id=47031
<rdar://problem/8505405>

Reviewed by Sam Weinig.

* WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
(WebKit::NPN_GetValue):
Handle NPNVprivateModeBool.

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::isPrivateBrowsingEnabled):
Call PluginController::isPrivateBrowsingEnabled.

(WebKit::NetscapePlugin::NPP_SetValue):
Add NPP_SetValue wrapper.

(WebKit::NetscapePlugin::privateBrowsingStateChanged):
Call NPP_SetValue with the updated state.

* WebProcess/Plugins/Plugin.h:
Add privateBrowsingStateChanged pure virtual member function.

* WebProcess/Plugins/PluginController.h:
Add isPrivateBrowsingEnabled pure virtual member function.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::privateBrowsingStateChanged):
Call Plugin::privateBrowsingStateChanged.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68962 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebKit2: Add SPI to convert a WKStringRef to a JSStringRef and vice-versa.
weinig@apple.com [Sat, 2 Oct 2010 00:40:14 +0000 (00:40 +0000)]
WebKit2: Add SPI to convert a WKStringRef to a JSStringRef and vice-versa.

Reviewed by Anders Carlsson.

API Test: WebKit2/WKStringJSString

* Shared/API/c/WKString.cpp:
(WKStringCreateWithJSString):
(WKStringCopyJSString):
* Shared/API/c/WKStringPrivate.h: Added.
* Shared/WebString.h:
(WebKit::WebString::create):
(WebKit::WebString::createJSString):
* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:
* win/WebKit2Generated.make:

WebKitTools: Build Fix for Windows.

Patch by Brian Weinstein <bweinstein@apple.com> on 2010-10-01
* WebKitTestRunner/win/WebKitTestRunner.vcproj: Don't copy ForwardingHeaders from
    WebKitTestRunner/ForwardingHeaders, instead, add $(WebKitOutputDir)/include/WebCore/
    ForwardingHeaders to the include path.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68961 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoBuild Fix for Windows.
bweinstein@apple.com [Sat, 2 Oct 2010 00:27:50 +0000 (00:27 +0000)]
Build Fix for Windows.

WebCore:

* WebCore.vcproj/WebCore.vcproj: Don't have an empty post-build step, use
    WebCoreCommon.vsprops to handle post-build step.
* WebCore.vcproj/WebCoreCommon.vsprops: Set the post-build step to delete
     $(WebKitOutputDir)/buildfailed.

WebKitTools:

* WebKitTestRunner/win/WebKitTestRunner.vcproj: Don't copy ForwardingHeaders from
    WebKitTestRunner/ForwardingHeaders, instead, add $(WebKitOutputDir)/include/WebCore/
    ForwardingHeaders to the include path.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68960 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Ragner Magalhaes <ragner.magalhaes@openbossa.org>
commit-queue@webkit.org [Sat, 2 Oct 2010 00:24:10 +0000 (00:24 +0000)]
2010-10-01  Ragner Magalhaes  <ragner.magalhaes@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Segmentation fault during zoom out
        https://bugs.webkit.org/show_bug.cgi?id=46984

        * platform/qt/QtMobileWebStyle.cpp:
        (QtMobileWebStyle::drawChecker): Adjust checkerSize to be greater than or equals to middle.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68959 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAnother Qt build fix attempt.
andersca@apple.com [Sat, 2 Oct 2010 00:17:52 +0000 (00:17 +0000)]
Another Qt build fix attempt.

* WebCore.pro:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68958 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=47021
hyatt@apple.com [Sat, 2 Oct 2010 00:13:00 +0000 (00:13 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=47021

Reviewed by Dan Bernstein.

Patch the floatBottom function and its friends.  Rename them and consolidate them to be block-flow-aware.

Nothing testable yet, since most of the float code is still unpatched.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::layoutBlock):
(WebCore::RenderBlock::layoutBlockChildren):
(WebCore::RenderBlock::layoutBlockChild):
(WebCore::RenderBlock::positionNewFloats):
(WebCore::RenderBlock::newLine):
(WebCore::RenderBlock::nextFloatLogicalBottomBelow):
(WebCore::RenderBlock::lowestFloatLogicalBottom):
(WebCore::RenderBlock::clearFloats):
(WebCore::RenderBlock::addOverhangingFloats):
(WebCore::RenderBlock::getClearDelta):
* rendering/RenderBlock.h:
(WebCore::RenderBlock::logicalBottomForFloat):
(WebCore::RenderBlock::hasOverhangingFloats):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::fitBelowFloats):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68957 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoFix Snow Leopard build.
andersca@apple.com [Sat, 2 Oct 2010 00:11:08 +0000 (00:11 +0000)]
Fix Snow Leopard build.

* Plugins/Hosted/NetscapePluginInstanceProxy.mm:
(WebKit::NetscapePluginInstanceProxy::getProxy):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68956 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoFix typo.
andersca@apple.com [Fri, 1 Oct 2010 23:49:58 +0000 (23:49 +0000)]
Fix typo.

* platform/network/qt/ProxyServerQt.cpp:
(WebCore::proxyServersForURL):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68954 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAdd Qt ProxyServer stub.
andersca@apple.com [Fri, 1 Oct 2010 23:45:33 +0000 (23:45 +0000)]
Add Qt ProxyServer stub.

* WebCore.pro:
* platform/network/qt/ProxyServerQt.cpp: Added.
(WebCore::proxyServersForURL):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68953 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoImplement proxiesForURL, cookiesForURL and setCookiesForURL
andersca@apple.com [Fri, 1 Oct 2010 23:42:13 +0000 (23:42 +0000)]
Implement proxiesForURL, cookiesForURL and setCookiesForURL
https://bugs.webkit.org/show_bug.cgi?id=47029

Reviewed by Sam Weinig.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::proxiesForURL):
(WebKit::PluginView::cookiesForURL):
(WebKit::PluginView::setCookiesForURL):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68952 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAdd proxy server query function proxyServersForURL and change the Mac plug-in code...
andersca@apple.com [Fri, 1 Oct 2010 23:28:17 +0000 (23:28 +0000)]
Add proxy server query function proxyServersForURL and change the Mac plug-in code to use it
https://bugs.webkit.org/show_bug.cgi?id=47022
<rdar://problem/8504712>

Reviewed by Dan Bernstein.

WebCore:

* WebCore.exp.in:
Export proxyServersForURL and toString.

* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
Add new files.

* platform/network/ProxyServer.cpp: Added.
(WebCore::appendProxyServerString):
(WebCore::toString):
New function that converts a vector of ProxyServers into a PAC style string.

* platform/network/ProxyServer.h: Added.
(WebCore::ProxyServer::ProxyServer):
(WebCore::ProxyServer::type):
(WebCore::ProxyServer::hostName):
(WebCore::ProxyServer::port):
Add ProxyServer class.

* platform/network/cf/ProxyServerCFNet.cpp: Added.
(WebCore::proxyServersForURL):
(WebCore::addProxyServersForURL):
Query CFNetwork for the proxy servers given a URL.

WebKit/mac:

* Plugins/Hosted/NetscapePluginInstanceProxy.mm:
(WebKit::NetscapePluginInstanceProxy::getProxy):
* Plugins/WebBaseNetscapePluginView.h:
* Plugins/WebBaseNetscapePluginView.mm:
* Plugins/WebNetscapePluginView.mm:
(-[WebNetscapePluginView getVariable:forURL:value:length:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68951 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Evan Martin <evan@chromium.org>
tony@chromium.org [Fri, 1 Oct 2010 23:21:29 +0000 (23:21 +0000)]
2010-10-01  Evan Martin  <evan@chromium.org>

        Reviewed by Tony Chang.

        editing/selection/5354455-1 has incorrect description text
        https://bugs.webkit.org/show_bug.cgi?id=44990

        This test includes descriptive text that describes an OS X-specific behavior.
        I almost checked in an incorrect baseline because I believed the text.
        This change amends the text to describe expected behavior on Mac/Win/Linux.

        Rather than requiring new baselines on all platforms, I took this opportunity
        to also convert the test to a markup dump.  We'll then end up with just one
        Mac baseline and one non-Mac baseline.

        * editing/selection/5354455-1.html:
        * platform/chromium-linux/editing/selection/5354455-1-expected.checksum: Removed.
        * platform/chromium-linux/editing/selection/5354455-1-expected.png: Removed.
        * platform/chromium-win/editing/selection/5354455-1-expected.checksum: Removed.
        * platform/chromium-win/editing/selection/5354455-1-expected.png: Removed.
        * platform/chromium-win/editing/selection/5354455-1-expected.txt: Removed.
        * platform/chromium/test_expectations.txt:
        * platform/gtk/editing/selection/5354455-1-expected.txt: Removed.
        * platform/mac-leopard/editing/selection/5354455-1-expected.checksum: Removed.
        * platform/mac-leopard/editing/selection/5354455-1-expected.png: Removed.
        * platform/mac/editing/selection/5354455-1-expected.checksum: Removed.
        * platform/mac/editing/selection/5354455-1-expected.png: Removed.
        * platform/mac/editing/selection/5354455-1-expected.txt: Updated.
        * platform/win/editing/selection/5354455-1-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68948 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoBuild fix. Not reviewed.
hclam@chromium.org [Fri, 1 Oct 2010 23:17:29 +0000 (23:17 +0000)]
Build fix. Not reviewed.

Add test expectations for Chromium.

* platform/chromium-linux/fast/blockflow/block-level-images-expected.checksum: Added.
* platform/chromium-linux/fast/blockflow/block-level-images-expected.png: Added.
* platform/chromium-linux/fast/css/rtl-to-viewport-expected.checksum: Added.
* platform/chromium-linux/fast/css/rtl-to-viewport-expected.png: Added.
* platform/chromium-linux/fast/css/rtl-to-viewport-expected.txt: Added.
* platform/chromium-linux/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt: Copied from LayoutTests/platform/chromium-linux/websocket/tests/bad-sub-protocol-control-chars-expected.txt.
* platform/chromium-linux/http/tests/websocket/tests/url-parsing-expected.txt: Added.
* platform/chromium-mac/fast/blockflow/block-level-images-expected.checksum: Added.
* platform/chromium-mac/fast/blockflow/block-level-images-expected.png: Added.
* platform/chromium-mac/fast/css/rtl-to-viewport-expected.checksum: Added.
* platform/chromium-mac/fast/css/rtl-to-viewport-expected.png: Added.
* platform/chromium-mac/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt: Copied from LayoutTests/platform/chromium-linux/websocket/tests/bad-sub-protocol-control-chars-expected.txt.
* platform/chromium-mac/http/tests/websocket/tests/url-parsing-expected.txt: Added.
* platform/chromium-win-xp/fast/blockflow/block-level-images-expected.png: Added.
* platform/chromium-win-xp/fast/css/rtl-to-viewport-expected.png: Added.
* platform/chromium-win/fast/blockflow/block-level-images-expected.checksum: Added.
* platform/chromium-win/fast/blockflow/block-level-images-expected.png: Added.
* platform/chromium-win/fast/css/rtl-to-viewport-expected.checksum: Added.
* platform/chromium-win/fast/css/rtl-to-viewport-expected.png: Added.
* platform/chromium-win/fast/css/rtl-to-viewport-expected.txt: Added.
* platform/chromium-win/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt: Copied from LayoutTests/platform/chromium-win/websocket/tests/bad-sub-protocol-control-chars-expected.txt.
* platform/chromium-win/http/tests/websocket/tests/url-parsing-expected.txt: Added.
* platform/chromium-win/platform/win/plugins/get-value-netscape-window-expected.txt: Added.
* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68943 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoFixed a typo
mitz@apple.com [Fri, 1 Oct 2010 23:09:33 +0000 (23:09 +0000)]
Fixed a typo

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68942 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-09-30 Zhenyao Mo <zmo@google.com>
zmo@google.com [Fri, 1 Oct 2010 23:08:27 +0000 (23:08 +0000)]
2010-09-30  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        texImage2D fails on 16-bit-per-channel images
        https://bugs.webkit.org/show_bug.cgi?id=46947

        * platform/graphics/GraphicsContext3D.cpp: Handling 16-bit-per-channel source formats.
        (WebCore::convertColor16To8):
        (WebCore::doPacking):
        * platform/graphics/GraphicsContext3D.h: Ditto.
        * platform/graphics/cg/GraphicsContext3DCG.cpp: Ditto.
        (WebCore::GraphicsContext3D::getImageData):
2010-09-30  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        texImage2D fails on 16-bit-per-channel images
        https://bugs.webkit.org/show_bug.cgi?id=46947

        * fast/canvas/webgl/gl-teximage-expected.txt: Add a test case for loading 16-bit-per-channel images as textures.
        * fast/canvas/webgl/gl-teximage.html: Ditto.
        * fast/canvas/webgl/resources/green-2x2-16bit.png: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68940 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoBuild fix. Not reviewed.
hclam@chromium.org [Fri, 1 Oct 2010 22:30:19 +0000 (22:30 +0000)]
Build fix. Not reviewed.

Add test expectations for Chromium.

* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68932 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Eric Uhrhane <ericu@chromium.org>
commit-queue@webkit.org [Fri, 1 Oct 2010 22:09:45 +0000 (22:09 +0000)]
2010-10-01  Eric Uhrhane  <ericu@chromium.org>

        Reviewed by Nate Chapin.

        Add v8 binding helpers to make FileWriter be an EventTarget.
        https://bugs.webkit.org/show_bug.cgi?id=46910

        No new tests; still waiting for the first complete implementation.

        * bindings/v8/V8DOMWrapper.cpp:
        (WebCore::V8DOMWrapper::convertEventTargetToV8Object):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68931 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAdd additional WKString API
weinig@apple.com [Fri, 1 Oct 2010 22:00:00 +0000 (22:00 +0000)]
Add additional WKString API
https://bugs.webkit.org/show_bug.cgi?id=46958

Reviewed by Kenneth Rohde Christiansen.

WebKit2:

API Test: WebKit2/WKString

* Shared/API/c/WKString.cpp:
(WKStringCreateWithUTF8CString):
(WKStringGetMaximumUTF8CStringSize):
(WKStringGetUTF8CString):
(WKStringIsEqual):
(WKStringIsEqualToUTF8CString):
* Shared/API/c/WKString.h:
* Shared/WebString.h:
(WebKit::WebString::createFromUTF8String):
(WebKit::WebString::maximumUTF8CStringSize):
(WebKit::WebString::getUTF8CString):
(WebKit::WebString::equal):
(WebKit::WebString::equalToUTF8String):

WebKitTools:

Add basic WKStringRef tests.

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WebKit2/WKString.cpp: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68930 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 1 Oct 2010 21:57:35 +0000 (21:57 +0000)]
2010-10-01  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Nate Chapin.

        [Chromium] Remove WebURLLoaderClient::didFinishLoading(WebURLLoader*)
        https://bugs.webkit.org/show_bug.cgi?id=47008

        Now that WebURLLoaderClient::didFinishLoading(WebURLLoader*) has no
        more callers, it can be removed (requires a Chromium roll to
        http://crrev.com/61206, which actually removed the last usage).

        * DEPS:
        * public/WebURLLoaderClient.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68929 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Alex Mathews <possessedpenguinbob@gmail.com>
commit-queue@webkit.org [Fri, 1 Oct 2010 21:43:05 +0000 (21:43 +0000)]
2010-10-01  Alex Mathews  <possessedpenguinbob@gmail.com>

        Reviewed by Simon Fraser.

        Bug 47013 - Main Web Inspector link on webkit.org links to old wiki page
        https://bugs.webkit.org/show_bug.cgi?id=47013

        * nav.inc: Removed the space from the web inspector wiki link.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68928 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoLand post-XP results for fast/text/backslash-to-yen-sign-euc.html
aroben@apple.com [Fri, 1 Oct 2010 21:30:29 +0000 (21:30 +0000)]
Land post-XP results for fast/text/backslash-to-yen-sign-euc.html

The fonts this test uses must have changed after Windows XP

* platform/win-xp/fast/text/backslash-to-yen-sign-euc-expected.txt:
Copied from LayoutTests/platform/win/fast/text/backslash-to-yen-sign-euc-expected.txt.
* platform/win/fast/text/backslash-to-yen-sign-euc-expected.txt:
Updated for post-XP.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68927 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=47015
hyatt@apple.com [Fri, 1 Oct 2010 21:25:39 +0000 (21:25 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=47015

Reviewed by Sam Weinig.

Change FloatingObject to store its dimensions as a rect.
This will make it easier for logical access for block-flow later on if
top/bottom is no different from left/width.  This change also simplifies
calling code a bit in places.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::addOverflowFromFloats):
(WebCore::RenderBlock::repaintOverhangingFloats):
(WebCore::RenderBlock::paintFloats):
(WebCore::RenderBlock::fillSelectionGaps):
(WebCore::RenderBlock::insertFloatingObject):
(WebCore::RenderBlock::removeFloatingObject):
(WebCore::RenderBlock::removeFloatingObjectsBelow):
(WebCore::RenderBlock::positionNewFloats):
(WebCore::RenderBlock::positionNewFloatOnLine):
(WebCore::RenderBlock::logicalLeftOffsetForLine):
(WebCore::RenderBlock::logicalRightOffsetForLine):
(WebCore::RenderBlock::nextFloatBottomBelow):
(WebCore::RenderBlock::floatBottom):
(WebCore::RenderBlock::lowestPosition):
(WebCore::RenderBlock::rightmostPosition):
(WebCore::RenderBlock::leftmostPosition):
(WebCore::RenderBlock::leftBottom):
(WebCore::RenderBlock::rightBottom):
(WebCore::RenderBlock::clearFloats):
(WebCore::RenderBlock::addOverhangingFloats):
(WebCore::RenderBlock::addIntrudingFloats):
(WebCore::RenderBlock::hitTestFloats):
(WebCore::RenderBlock::adjustForBorderFit):
* rendering/RenderBlock.h:
(WebCore::RenderBlock::FloatingObject::FloatingObject):
(WebCore::RenderBlock::FloatingObject::left):
(WebCore::RenderBlock::FloatingObject::right):
(WebCore::RenderBlock::FloatingObject::top):
(WebCore::RenderBlock::FloatingObject::bottom):
(WebCore::RenderBlock::FloatingObject::width):
(WebCore::RenderBlock::FloatingObject::height):
(WebCore::RenderBlock::FloatingObject::setLeft):
(WebCore::RenderBlock::FloatingObject::setTop):
(WebCore::RenderBlock::FloatingObject::setWidth):
(WebCore::RenderBlock::FloatingObject::setHeight):
(WebCore::RenderBlock::FloatingObject::frameRect):
(WebCore::RenderBlock::FloatingObject::setFrameRect):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutInlineChildren):
(WebCore::RenderBlock::matchedEndLine):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68926 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 1 Oct 2010 21:18:28 +0000 (21:18 +0000)]
2010-10-01  Adam Barth  <abarth@webkit.org>

        Add a Gtk-specific baseline for a WebSocket test.

        * platform/gtk/http/tests/websocket: Added.
        * platform/gtk/http/tests/websocket/tests: Added.
        * platform/gtk/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68925 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoBuild fix. Not reviewed.
hclam@chromium.org [Fri, 1 Oct 2010 21:07:37 +0000 (21:07 +0000)]
Build fix. Not reviewed.

Add the dummy README file to solve build breakages in Chromium.
It should be removed once the breakage is resolved.

* websocket/tests/workers/README: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68924 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoDOMFocusIn/DOMFocusOut return focusin/focusout Event.type
enrica@apple.com [Fri, 1 Oct 2010 20:50:41 +0000 (20:50 +0000)]
DOMFocusIn/DOMFocusOut return focusin/focusout Event.type
https://bugs.webkit.org/show_bug.cgi?id=42580
<rdar://problem/8107311>

Reviewed by Darin Adler.

WebCore:

This change removes the aliased type machinery from the Event class.
We now fire the event with the new name and the oldname.

Tests: Modified fast/events/focusinout.html to check the event
type.

* dom/Document.cpp:
(WebCore::Document::setFocusedNode):
* dom/Event.cpp: Removed aliasedType and hasAliasedType.
* dom/Event.h: Removed aliasedType and hasAliasedType.
* dom/EventTarget.cpp:
(WebCore::EventTarget::fireEventListeners): Removed aliasedType related code.

LayoutTests:

* fast/events/focusinout.html: Modified to check the event type.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68923 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAdd makefile for TestWebKitAPI and call it from the base makefile.
weinig@apple.com [Fri, 1 Oct 2010 20:44:35 +0000 (20:44 +0000)]
Add makefile for TestWebKitAPI and call it from the base makefile.

Reviewed by Dan Bernstein.

* Makefile:
* TestWebKitAPI/Makefile: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68922 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoLand new Windows results for fast/text/international/bidi-mirror-he-ar.html
aroben@apple.com [Fri, 1 Oct 2010 20:42:20 +0000 (20:42 +0000)]
Land new Windows results for fast/text/international/bidi-mirror-he-ar.html

Fixes <http://webkit.org/b/47001> <rdar://problem/8503550>
fast/text/international/bidi-mirror-he-ar.html fails on Windows

Recommended by Dan Bernstein.

* platform/win/fast/text/international/bidi-mirror-he-ar-expected.checksum: Added.
* platform/win/fast/text/international/bidi-mirror-he-ar-expected.png: Added.
* platform/win/fast/text/international/bidi-mirror-he-ar-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68921 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Rafael Antognolli <antognolli@profusion.mobi>
commit-queue@webkit.org [Fri, 1 Oct 2010 20:29:19 +0000 (20:29 +0000)]
2010-10-01  Rafael Antognolli  <antognolli@profusion.mobi>

        Reviewed by Kenneth Rohde Christiansen.

        [EFL] Remove check for InitLayoutCompleted on fixed_layout_size_set.
        https://bugs.webkit.org/show_bug.cgi?id=47006

        This check isn't needed and isn't done on the other ports. The fixed
        layout property can be set before we have the first layout.

        * ewk/ewk_view.cpp:
        (ewk_view_fixed_layout_size_set):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68920 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoRemove unnecessary ForwardingHeaders from test runners.
weinig@apple.com [Fri, 1 Oct 2010 20:25:22 +0000 (20:25 +0000)]
Remove unnecessary ForwardingHeaders from test runners.
https://bugs.webkit.org/show_bug.cgi?id=47010

Reviewed by Adam Roben.

* TestWebKitAPI/Configurations/Base.xcconfig:
* TestWebKitAPI/ForwardingHeaders: Removed.
* WebKitTestRunner/Configurations/Base.xcconfig:
* WebKitTestRunner/ForwardingHeaders: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68919 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Rafael Antognolli <antognolli@profusion.mobi>
commit-queue@webkit.org [Fri, 1 Oct 2010 20:05:16 +0000 (20:05 +0000)]
2010-10-01  Rafael Antognolli  <antognolli@profusion.mobi>

        Reviewed by Kenneth Rohde Christiansen.

        [EFL] Call contents_resize when the main frame gets resized.
        https://bugs.webkit.org/show_bug.cgi?id=47004

        The previous implementation was just calling contents_resize when the
        viewport size had changed. That's not enough, and contents_resize
        shouldn't be called if the contents size didn't change.

        Now the contents_size_changed function is called directly from the
        ChromeClientEfl.

        * WebCoreSupport/ChromeClientEfl.cpp:
        (WebCore::ChromeClientEfl::contentsSizeChanged):
        * ewk/ewk_private.h:
        * ewk/ewk_view.cpp:
        (_ewk_view_smart_calculate):
        (ewk_view_fixed_layout_size_set):
        (ewk_view_contents_size_changed):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68918 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=46642, make replaced elements work with block...
hyatt@apple.com [Fri, 1 Oct 2010 19:59:48 +0000 (19:59 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46642, make replaced elements work with block-flow.  This patch changes
all of the computeReplacedLogicalWidth and comuteReplacedLogicalHeight functions (and their helpers) to use logical width
and logical height instead.

Reviewed by Darin Adler.

Added fast/blockflow/block-level-images.html

WebCore:

* rendering/RenderBox.cpp:
(WebCore::RenderBox::computeLogicalWidth):
(WebCore::RenderBox::computeLogicalHeight):
(WebCore::RenderBox::computeReplacedLogicalWidth):
(WebCore::RenderBox::computeReplacedLogicalWidthUsing):
(WebCore::RenderBox::computeReplacedLogicalHeight):
(WebCore::RenderBox::computeReplacedLogicalHeightUsing):
(WebCore::RenderBox::computePositionedLogicalWidthReplaced):
(WebCore::RenderBox::computePositionedLogicalHeightReplaced):
* rendering/RenderBox.h:
(WebCore::RenderBox::intrinsicLogicalWidth):
(WebCore::RenderBox::intrinsicLogicalHeight):
* rendering/RenderImage.cpp:
(WebCore::RenderImage::isLogicalWidthSpecified):
(WebCore::RenderImage::isLogicalHeightSpecified):
(WebCore::RenderImage::computeReplacedLogicalWidth):
(WebCore::RenderImage::computeReplacedLogicalHeight):
(WebCore::RenderImage::calcAspectRatioLogicalWidth):
(WebCore::RenderImage::calcAspectRatioLogicalHeight):
* rendering/RenderImage.h:
* rendering/RenderReplaced.cpp:
(WebCore::RenderReplaced::layout):
(WebCore::RenderReplaced::computeReplacedLogicalWidth):
(WebCore::RenderReplaced::computeReplacedLogicalHeight):
(WebCore::RenderReplaced::calcAspectRatioLogicalWidth):
(WebCore::RenderReplaced::calcAspectRatioLogicalHeight):
(WebCore::RenderReplaced::computePreferredLogicalWidths):
* rendering/RenderReplaced.h:
* rendering/RenderSVGRoot.cpp:
(WebCore::RenderSVGRoot::computePreferredLogicalWidths):
(WebCore::RenderSVGRoot::computeReplacedLogicalWidth):
(WebCore::RenderSVGRoot::computeReplacedLogicalHeight):
* rendering/RenderSVGRoot.h:
* rendering/RenderVideo.cpp:
(WebCore::RenderVideo::computeReplacedLogicalWidth):
(WebCore::RenderVideo::computeReplacedLogicalHeight):
* rendering/RenderVideo.h:

LayoutTests:

* fast/blockflow/block-level-images.html: Added.
* fast/blockflow/resources: Added.
* fast/blockflow/resources/circle.svg: Added.
* fast/blockflow/resources/oval.png: Added.
* platform/mac/fast/blockflow/block-level-images-expected.checksum: Added.
* platform/mac/fast/blockflow/block-level-images-expected.png: Added.
* platform/mac/fast/blockflow/block-level-images-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68917 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Fri, 1 Oct 2010 19:52:55 +0000 (19:52 +0000)]
2010-10-01  Nate Chapin  <japhet@chromium.org>

        Reviewed by Darin Adler.

        Remove unused Request::buffer() and Request::m_buffer.

        https://bugs.webkit.org/show_bug.cgi?id=47003

        * loader/Request.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68916 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Daniel Cheng <dcheng@chromium.org>
commit-queue@webkit.org [Fri, 1 Oct 2010 19:40:35 +0000 (19:40 +0000)]
2010-10-01  Daniel Cheng  <dcheng@chromium.org>

        Reviewed by Tony Chang.

        [chromium] Minor naming cleanup in WebDragData
        https://bugs.webkit.org/show_bug.cgi?id=46937

        This is a two-part patch--one to add the new methods with normalized
        names that follow general WebKit convention, and a followup patch to
        remove the original methods once Chromium is updated.

        * public/WebDragData.h:
        * src/WebDragData.cpp:
        (WebKit::WebDragData::hasFileNames): renamed to containsFilenames
        (WebKit::WebDragData::fileNames): renamed to filenames
        (WebKit::WebDragData::setFileNames): renamed to setFilenames
        (WebKit::WebDragData::appendToFileNames): renamed to appendToFilenames
        (WebKit::WebDragData::containsFilenames):
        (WebKit::WebDragData::filenames):
        (WebKit::WebDragData::setFilenames):
        (WebKit::WebDragData::appendToFilenames):
        (WebKit::WebDragData::fileContentFileName): renamed to fileContentFilename
        (WebKit::WebDragData::setFileContentFileName): renamed to setFileContentFilename
        (WebKit::WebDragData::fileContentFilename):
        (WebKit::WebDragData::setFileContentFilename):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68915 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-09-30 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 1 Oct 2010 19:40:07 +0000 (19:40 +0000)]
2010-09-30  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        WebSocket tests are flaky
        https://bugs.webkit.org/show_bug.cgi?id=46956

        Hosting the WebSocket tests using the Python HTTP server causes the
        tests to time out occationally.  This patch moves the tests to be
        hosted by the usual Apache server.

        This patch doesn't completely eliminate the flakiness.  However,
        testing on my local machine shows that it reduces it by a large factor.
        I suspect there's more flakiness hiding in the Python server, but this
        patch makes some amount of progress on the issue.

        * http/tests/websocket: Copied from LayoutTests/websocket.
        * http/tests/websocket/tests/alert-in-event-handler.html:
        * http/tests/websocket/tests/bad-handshake-crash.html:
        * http/tests/websocket/tests/bad-sub-protocol-control-chars.html:
        * http/tests/websocket/tests/bad-sub-protocol-empty.html:
        * http/tests/websocket/tests/bad-sub-protocol-non-ascii.html:
        * http/tests/websocket/tests/bufferedAmount-after-close.html:
        * http/tests/websocket/tests/close-on-navigate-new-location.html:
        * http/tests/websocket/tests/close-on-unload-and-force-gc.html:
        * http/tests/websocket/tests/close-on-unload-reference-in-parent.html:
        * http/tests/websocket/tests/close-on-unload.html:
        * http/tests/websocket/tests/cross-origin-expected.txt:
        * http/tests/websocket/tests/cross-origin.html:
        * http/tests/websocket/tests/error-detect.html:
        * http/tests/websocket/tests/frame-length-longer-than-buffer.html:
        * http/tests/websocket/tests/frame-length-overflow.html:
        * http/tests/websocket/tests/frame-length-skip.html:
        * http/tests/websocket/tests/handshake-challenge-randomness.html:
        * http/tests/websocket/tests/handshake-error.html:
        * http/tests/websocket/tests/handshake-fail-by-cross-origin-expected.txt:
        * http/tests/websocket/tests/handshake-fail-by-cross-origin.html:
        * http/tests/websocket/tests/handshake-fail-by-no-cr.html:
        * http/tests/websocket/tests/handshake-fail-by-sub-protocol-mismatch.html:
        * http/tests/websocket/tests/httponly-cookie.pl:
        * http/tests/websocket/tests/long-invalid-header.html:
        * http/tests/websocket/tests/null-character.html:
        * http/tests/websocket/tests/reload-crash.html:
        * http/tests/websocket/tests/resources/close-on-unload-iframe-reference-in-parent.html:
        * http/tests/websocket/tests/resources/close-on-unload-iframe.html:
        * http/tests/websocket/tests/resources/js-test-post-function.js: Copied from LayoutTests/fast/js/resources/js-test-post-function.js.
        * http/tests/websocket/tests/resources/js-test-pre.js: Copied from LayoutTests/fast/js/resources/js-test-pre.js.
        * http/tests/websocket/tests/resources/js-test-style.css: Copied from LayoutTests/fast/js/resources/js-test-style.css.
        * http/tests/websocket/tests/resources/reload-crash-iframe.html:
        * http/tests/websocket/tests/script-tests/TEMPLATE.html:
        * http/tests/websocket/tests/script-tests/cross-origin.js:
        (endTest):
        * http/tests/websocket/tests/send-after-close-on-unload.html:
        * http/tests/websocket/tests/send-throw.html:
        * http/tests/websocket/tests/send.html:
        * http/tests/websocket/tests/simple.html:
        * http/tests/websocket/tests/sub-protocol-with-space.html:
        * http/tests/websocket/tests/sub-protocol.html:
        * http/tests/websocket/tests/unicode.html:
        * http/tests/websocket/tests/url-no-trailing-slash.html:
        * http/tests/websocket/tests/url-parsing-expected.txt:
        * http/tests/websocket/tests/url-parsing.html:
        * http/tests/websocket/tests/url-with-credential.html:
        * http/tests/websocket/tests/url-with-empty-query.html:
        * http/tests/websocket/tests/url-with-query-for-no-query.html:
        * http/tests/websocket/tests/url-with-query.html:
        * http/tests/websocket/tests/websocket-event-target.html:
        * http/tests/websocket/tests/websocket-protocol-ignored.html:
        * platform/chromium-gpu/test_expectations.txt:
        * platform/chromium/test_expectations.txt:
        * platform/mac/test_expectations.txt:
        * platform/win/Skipped:
        * websocket: Removed.
        * websocket/resources: Removed.
        * websocket/resources/server-failed-to-start.html: Removed.
        * websocket/tests: Removed.
        * websocket/tests/alert-in-event-handler-expected.txt: Removed.
        * websocket/tests/alert-in-event-handler.html: Removed.
        * websocket/tests/bad-handshake-crash-expected.txt: Removed.
        * websocket/tests/bad-handshake-crash.html: Removed.
        * websocket/tests/bad-handshake-crash_wsh.py: Removed.
        * websocket/tests/bad-sub-protocol-control-chars-expected.txt: Removed.
        * websocket/tests/bad-sub-protocol-control-chars.html: Removed.
        * websocket/tests/bad-sub-protocol-empty-expected.txt: Removed.
        * websocket/tests/bad-sub-protocol-empty.html: Removed.
        * websocket/tests/bad-sub-protocol-non-ascii-expected.txt: Removed.
        * websocket/tests/bad-sub-protocol-non-ascii.html: Removed.
        * websocket/tests/bufferedAmount-after-close-expected.txt: Removed.
        * websocket/tests/bufferedAmount-after-close.html: Removed.
        * websocket/tests/close-on-navigate-new-location-expected.txt: Removed.
        * websocket/tests/close-on-navigate-new-location.html: Removed.
        * websocket/tests/close-on-unload-and-force-gc-expected.txt: Removed.
        * websocket/tests/close-on-unload-and-force-gc.html: Removed.
        * websocket/tests/close-on-unload-expected.txt: Removed.
        * websocket/tests/close-on-unload-reference-in-parent-expected.txt: Removed.
        * websocket/tests/close-on-unload-reference-in-parent.html: Removed.
        * websocket/tests/close-on-unload.html: Removed.
        * websocket/tests/close-on-unload_wsh.py: Removed.
        * websocket/tests/cross-origin-expected.txt: Removed.
        * websocket/tests/cross-origin.html: Removed.
        * websocket/tests/echo-challenge_wsh.py: Removed.
        * websocket/tests/echo-cookie_wsh.py: Removed.
        * websocket/tests/echo-location_wsh.py: Removed.
        * websocket/tests/echo_wsh.py: Removed.
        * websocket/tests/error-detect-expected.txt: Removed.
        * websocket/tests/error-detect.html: Removed.
        * websocket/tests/fixed-origin_wsh.py: Removed.
        * websocket/tests/frame-length-longer-than-buffer-expected.txt: Removed.
        * websocket/tests/frame-length-longer-than-buffer.html: Removed.
        * websocket/tests/frame-length-longer-than-buffer_wsh.py: Removed.
        * websocket/tests/frame-length-overflow-expected.txt: Removed.
        * websocket/tests/frame-length-overflow.html: Removed.
        * websocket/tests/frame-length-overflow_wsh.py: Removed.
        * websocket/tests/frame-length-skip-expected.txt: Removed.
        * websocket/tests/frame-length-skip.html: Removed.
        * websocket/tests/frame-length-skip_wsh.py: Removed.
        * websocket/tests/frame-lengths-expected.txt: Removed.
        * websocket/tests/frame-lengths.html: Removed.
        * websocket/tests/handler_map.txt: Removed.
        * websocket/tests/handshake-challenge-randomness-expected.txt: Removed.
        * websocket/tests/handshake-challenge-randomness.html: Removed.
        * websocket/tests/handshake-error-expected.txt: Removed.
        * websocket/tests/handshake-error.html: Removed.
        * websocket/tests/handshake-error_wsh.py: Removed.
        * websocket/tests/handshake-fail-by-cross-origin-expected.txt: Removed.
        * websocket/tests/handshake-fail-by-cross-origin.html: Removed.
        * websocket/tests/handshake-fail-by-no-cr-expected.txt: Removed.
        * websocket/tests/handshake-fail-by-no-cr.html: Removed.
        * websocket/tests/handshake-fail-by-no-cr_wsh.py: Removed.
        * websocket/tests/handshake-fail-by-sub-protocol-mismatch-expected.txt: Removed.
        * websocket/tests/handshake-fail-by-sub-protocol-mismatch.html: Removed.
        * websocket/tests/httponly-cookie-expected.txt: Removed.
        * websocket/tests/httponly-cookie.pl: Removed.
        * websocket/tests/long-invalid-header-expected.txt: Removed.
        * websocket/tests/long-invalid-header.html: Removed.
        * websocket/tests/long-invalid-header_wsh.py: Removed.
        * websocket/tests/multiple-connections-expected.txt: Removed.
        * websocket/tests/multiple-connections.html: Removed.
        * websocket/tests/no-query_wsh.py: Removed.
        * websocket/tests/null-character-expected.txt: Removed.
        * websocket/tests/null-character.html: Removed.
        * websocket/tests/origin-test_wsh.py: Removed.
        * websocket/tests/protocol-test_wsh.py: Removed.
        * websocket/tests/reload-crash-expected.txt: Removed.
        * websocket/tests/reload-crash.html: Removed.
        * websocket/tests/resources: Removed.
        * websocket/tests/resources/close-on-unload-iframe-reference-in-parent.html: Removed.
        * websocket/tests/resources/close-on-unload-iframe.html: Removed.
        * websocket/tests/resources/reload-crash-iframe.html: Removed.
        * websocket/tests/script-tests: Removed.
        * websocket/tests/script-tests/TEMPLATE.html: Removed.
        * websocket/tests/script-tests/alert-in-event-handler.js: Removed.
        * websocket/tests/script-tests/bad-handshake-crash.js: Removed.
        * websocket/tests/script-tests/bad-sub-protocol-control-chars.js: Removed.
        * websocket/tests/script-tests/bad-sub-protocol-empty.js: Removed.
        * websocket/tests/script-tests/bad-sub-protocol-non-ascii.js: Removed.
        * websocket/tests/script-tests/bufferedAmount-after-close.js: Removed.
        * websocket/tests/script-tests/cross-origin.js: Removed.
        * websocket/tests/script-tests/error-detect.js: Removed.
        * websocket/tests/script-tests/frame-length-longer-than-buffer.js: Removed.
        * websocket/tests/script-tests/frame-length-skip.js: Removed.
        * websocket/tests/script-tests/handshake-challenge-randomness.js: Removed.
        * websocket/tests/script-tests/handshake-error.js: Removed.
        * websocket/tests/script-tests/handshake-fail-by-cross-origin.js: Removed.
        * websocket/tests/script-tests/handshake-fail-by-no-cr.js: Removed.
        * websocket/tests/script-tests/handshake-fail-by-sub-protocol-mismatch.js: Removed.
        * websocket/tests/script-tests/long-invalid-header.js: Removed.
        * websocket/tests/script-tests/null-character.js: Removed.
        * websocket/tests/script-tests/send-throw.js: Removed.
        * websocket/tests/script-tests/send.js: Removed.
        * websocket/tests/script-tests/simple.js: Removed.
        * websocket/tests/script-tests/sub-protocol-with-space.js: Removed.
        * websocket/tests/script-tests/sub-protocol.js: Removed.
        * websocket/tests/script-tests/unicode.js: Removed.
        * websocket/tests/script-tests/url-no-trailing-slash.js: Removed.
        * websocket/tests/script-tests/url-parsing.js: Removed.
        * websocket/tests/script-tests/url-with-credential.js: Removed.
        * websocket/tests/script-tests/url-with-empty-query.js: Removed.
        * websocket/tests/script-tests/url-with-query-for-no-query.js: Removed.
        * websocket/tests/script-tests/url-with-query.js: Removed.
        * websocket/tests/script-tests/websocket-event-target.js: Removed.
        * websocket/tests/script-tests/websocket-protocol-ignored.js: Removed.
        * websocket/tests/send-after-close-on-unload-expected.txt: Removed.
        * websocket/tests/send-after-close-on-unload.html: Removed.
        * websocket/tests/send-expected.txt: Removed.
        * websocket/tests/send-throw-expected.txt: Removed.
        * websocket/tests/send-throw.html: Removed.
        * websocket/tests/send.html: Removed.
        * websocket/tests/send2_wsh.py: Removed.
        * websocket/tests/send_wsh.py: Removed.
        * websocket/tests/simple-expected.txt: Removed.
        * websocket/tests/simple-stress-expected.txt: Removed.
        * websocket/tests/simple-stress.html: Removed.
        * websocket/tests/simple.html: Removed.
        * websocket/tests/simple_wsh.py: Removed.
        * websocket/tests/sub-protocol-expected.txt: Removed.
        * websocket/tests/sub-protocol-with-space-expected.txt: Removed.
        * websocket/tests/sub-protocol-with-space.html: Removed.
        * websocket/tests/sub-protocol.html: Removed.
        * websocket/tests/unicode-expected.txt: Removed.
        * websocket/tests/unicode.html: Removed.
        * websocket/tests/unicode_wsh.py: Removed.
        * websocket/tests/unknown-frame-type_wsh.py: Removed.
        * websocket/tests/url-no-trailing-slash-expected.txt: Removed.
        * websocket/tests/url-no-trailing-slash.html: Removed.
        * websocket/tests/url-parsing-expected.txt: Removed.
        * websocket/tests/url-parsing.html: Removed.
        * websocket/tests/url-with-credential-expected.txt: Removed.
        * websocket/tests/url-with-credential.html: Removed.
        * websocket/tests/url-with-empty-query-expected.txt: Removed.
        * websocket/tests/url-with-empty-query.html: Removed.
        * websocket/tests/url-with-query-expected.txt: Removed.
        * websocket/tests/url-with-query-for-no-query-expected.txt: Removed.
        * websocket/tests/url-with-query-for-no-query.html: Removed.
        * websocket/tests/url-with-query.html: Removed.
        * websocket/tests/websocket-event-target-expected.txt: Removed.
        * websocket/tests/websocket-event-target.html: Removed.
        * websocket/tests/websocket-pending-activity-expected.txt: Removed.
        * websocket/tests/websocket-pending-activity.html: Removed.
        * websocket/tests/websocket-protocol-ignored-expected.txt: Removed.
        * websocket/tests/websocket-protocol-ignored.html: Removed.
        * websocket/tests/workers: Removed.
        * websocket/tests/workers/close-in-onmessage-crash-expected.txt: Removed.
        * websocket/tests/workers/close-in-onmessage-crash.html: Removed.
        * websocket/tests/workers/close-in-shared-worker-expected.txt: Removed.
        * websocket/tests/workers/close-in-shared-worker.html: Removed.
        * websocket/tests/workers/close-in-worker-expected.txt: Removed.
        * websocket/tests/workers/close-in-worker.html: Removed.
        * websocket/tests/workers/resources: Removed.
        * websocket/tests/workers/resources/close-in-onmessage-crash.js: Removed.
        * websocket/tests/workers/resources/close-in-worker.js: Removed.
        * websocket/tests/workers/resources/echo-challenge_wsh.py: Removed.
        * websocket/tests/workers/resources/echo_wsh.py: Removed.
        * websocket/tests/workers/resources/simple_wsh.py: Removed.
        * websocket/tests/workers/resources/worker-handshake-challenge-randomness.js: Removed.
        * websocket/tests/workers/resources/worker-simple.js: Removed.
        * websocket/tests/workers/shared-worker-simple-expected.txt: Removed.
        * websocket/tests/workers/shared-worker-simple.html: Removed.
        * websocket/tests/workers/worker-handshake-challenge-randomness-expected.txt: Removed.
        * websocket/tests/workers/worker-handshake-challenge-randomness.html: Removed.
        * websocket/tests/workers/worker-simple-expected.txt: Removed.
        * websocket/tests/workers/worker-simple.html: Removed.
2010-09-30  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        WebSocket tests are flaky
        https://bugs.webkit.org/show_bug.cgi?id=46956

        Update these tools to understand how to run the WebSocket tests off the
        Apache server.

        * Scripts/old-run-webkit-tests:
        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/websocket_server.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68914 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoEncode Executive command arguments using UTF-8 on Cygwin
aroben@apple.com [Fri, 1 Oct 2010 19:38:00 +0000 (19:38 +0000)]
Encode Executive command arguments using UTF-8 on Cygwin

Cygwin's Python's os.execv doesn't support unicode command arguments.
Cygwin's execv expects arguments to be encoded using the current code
page. But code pages are limited in what characters they can handle,
and our tests include characters that the English code page can't
handle.  So for now we'll just encode everything in UTF-8 on Cygwin,
which can handle all characters but might confuse some commands, for
expediency's sake. I'm sure we'll run into cases where UTF-8 isn't
good enough, but we can deal with that when the problem arises.

Reviewed by Adam Barth.

Fixes <http://webkit.org/b/46892> <rdar://problem/8496639>
webkitpy.common.system.executive_unittest.ExecutiveTest.test_run_command_with_unicode
fails on Windows

* Scripts/webkitpy/common/system/executive.py:
(Executive._run_command_with_teed_output):
(Executive.run_command):
On Cygwin, encode arguments using UTF-8.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68913 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoNot reviewed. Build fix.
hclam@chromium.org [Fri, 1 Oct 2010 19:25:18 +0000 (19:25 +0000)]
Not reviewed. Build fix.

Adjust test expectations for Chromium.

* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68912 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago<rdar://problem/7563219> Null dereference when dragging an element with generated...
mitz@apple.com [Fri, 1 Oct 2010 19:16:25 +0000 (19:16 +0000)]
<rdar://problem/7563219> Null dereference when dragging an element with generated content
https://bugs.webkit.org/show_bug.cgi?id=47005

Reviewed by Adele Peterson.

WebCore:

Test: fast/css-generated-content/drag-state.html

* rendering/RenderObject.cpp:
(WebCore::RenderObject::updateDragState): Null-check node().

LayoutTests:

* fast/css-generated-content/drag-state-expected.txt: Added.
* fast/css-generated-content/drag-state.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68911 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAdd simple API tester for WebKit2
weinig@apple.com [Fri, 1 Oct 2010 19:07:40 +0000 (19:07 +0000)]
Add simple API tester for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=46953

Reviewed by Adam Roben.

This adds a very simple testing infrastructure for testing APIs exposed
through the WebKit project. It consists of two parts: 1) a project that
builds the all the tests 2) a script that searches the tests directory and
calls the tester once for each test.

This adds the infrastructure and two tests:
- Tests/WTF/Vector1.cpp - A proof of concept test of WTF data-structures.
- Tests/WebKit2/BasicTest1.cpp - A proof of concept test of WebKit2 API.

This currently only works on the mac, but is designed to be easily ported
to any platform.

* Scripts/run-api-tests: Added.
* Scripts/build-api-tests: Added.
Scripts to build/run the tests.

* TestWebKitAPI: Added.
* TestWebKitAPI/Configurations: Added.
* TestWebKitAPI/Configurations/Base.xcconfig: Added.
* TestWebKitAPI/Configurations/DebugRelease.xcconfig: Added.
* TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig: Added.
* TestWebKitAPI/ForwardingHeaders: Added.
* TestWebKitAPI/ForwardingHeaders/wtf: Added.
* TestWebKitAPI/PlatformUtilities.h: Added.
* TestWebKitAPI/PlatformWebView.h: Added.
(TestWebKitAPI::PlatformWebView::platformView):
* TestWebKitAPI/StringFunctions.h: Added.
* TestWebKitAPI/Test.h: Added.
(TestWebKitAPI::Test::~Test):
(TestWebKitAPI::Test::name):
(TestWebKitAPI::Test::Register::Register):
(TestWebKitAPI::Test::Register::create):
(TestWebKitAPI::Test::Test):
* TestWebKitAPI/TestWebKitAPI.xcodeproj: Added.
* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added.
* TestWebKitAPI/TestWebKitAPIPrefix.h: Added.
* TestWebKitAPI/TestsController.cpp: Added.
(TestWebKitAPI::TestsController::shared):
(TestWebKitAPI::TestsController::TestsController):
(TestWebKitAPI::TestsController::runTestNamed):
(TestWebKitAPI::TestsController::testFailed):
(TestWebKitAPI::TestsController::registerCreateTestFunction):
* TestWebKitAPI/TestsController.h: Added.
* TestWebKitAPI/mac: Added.
* TestWebKitAPI/mac/PlatformUtilitiesMac.mm: Added.
(TestWebKitAPI::Util::run):
(TestWebKitAPI::Util::createURLForResource):
* TestWebKitAPI/mac/PlatformWebViewMac.mm: Added.
(TestWebKitAPI::PlatformWebView::PlatformWebView):
(TestWebKitAPI::PlatformWebView::resizeTo):
(TestWebKitAPI::PlatformWebView::~PlatformWebView):
(TestWebKitAPI::PlatformWebView::page):
(TestWebKitAPI::PlatformWebView::focus):
* TestWebKitAPI/mac/main.mm: Added.
Infrastructure.

* TestWebKitAPI/Tests: Added.
* TestWebKitAPI/Tests/WTF: Added.
* TestWebKitAPI/Tests/WTF/Vector1.cpp: Added.
* TestWebKitAPI/Tests/WebKit2: Added.
* TestWebKitAPI/Tests/WebKit2/BasicTest1.cpp: Added.
(TestWebKitAPI::State::State):
* TestWebKitAPI/Tests/WebKit2/basic-1.html: Added.
Proof of concept tests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68910 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoNot reviewed. Build fix.
hclam@chromium.org [Fri, 1 Oct 2010 19:03:38 +0000 (19:03 +0000)]
Not reviewed. Build fix.

Change test expectations for Chromium.

* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68909 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoRemove a test I just fixed from the Skipped file
aroben@apple.com [Fri, 1 Oct 2010 18:58:53 +0000 (18:58 +0000)]
Remove a test I just fixed from the Skipped file

* platform/win/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68908 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoDon't assume AccessibleObjectFromEvent succeeds
aroben@apple.com [Fri, 1 Oct 2010 18:56:10 +0000 (18:56 +0000)]
Don't assume AccessibleObjectFromEvent succeeds

Fixes <http://webkit.org/b/44136> <rdar://problem/8321684> Crash in
DumpRenderTree!notificationListenerProc when running
plugins/access-after-page-destroyed.html

Reviewed by Sam Weinig.

* DumpRenderTree/win/AccessibilityControllerWin.cpp:
(notificationListenerProc): Check both the return value of
AccessibleObjectFromEvent and the object it returns, as MSDN
recommends.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68907 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Robert Hogan <robert@webkit.org>
robert@webkit.org [Fri, 1 Oct 2010 18:40:19 +0000 (18:40 +0000)]
2010-10-01  Robert Hogan  <robert@webkit.org>

        Reviewed by Adam Barth.

        [Qt] Fix http/tests/loading/redirect-methods.html

        https://bugs.webkit.org/show_bug.cgi?id=41571

        Unskip http/tests/loading/redirect-methods.html

        * platform/qt/Skipped:
2010-10-01  Robert Hogan  <robert@webkit.org>

        Reviewed by Adam Barth.

        [Qt] Fix http/tests/loading/redirect-methods.html

        Document our redirection behaviour too.

        https://bugs.webkit.org/show_bug.cgi?id=41571

        * platform/network/qt/QNetworkReplyHandler.cpp:
        (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
        (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
        * platform/network/qt/QNetworkReplyHandler.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68906 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoCopy forwarding headers and Inspector JS files as part of WebCoreGenerated.vcproj
aroben@apple.com [Fri, 1 Oct 2010 18:31:14 +0000 (18:31 +0000)]
Copy forwarding headers and Inspector JS files as part of WebCoreGenerated.vcproj

WebCoreGenerated.vcproj runs on every build, while WebCore.vcproj only
runs when a .h or .cpp file changes. By moving the copying to
WebCoreGenerated, it will happen even when someone only changes a JS
file (as happened in r68887).

Fixes <http://webkit.org/b/46988> <rdar://problem/8502489> REGRESSION
(r68887): Web Inspector: inspector/extensions*.html are failing on
Windows

Reviewed by Anders Carlsson.

* WebCore.vcproj/WebCore.vcproj: Moved invocation of
copyForwardingHeaders and copyInspectorFiles from here...
* WebCore.vcproj/WebCoreGenerated.vcproj: ...to here.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68905 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-09-30 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 1 Oct 2010 18:25:59 +0000 (18:25 +0000)]
2010-09-30  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        Implement queryCommandState('justifyFull')
        https://bugs.webkit.org/show_bug.cgi?id=46954

        Implemented queryCommandState('justifyFull').
        New tests are added to editing/style/inline-style-container.html

        * editing/ApplyStyleCommand.cpp:
        (WebCore::getTextAlignment): Added support for CSSValueJustify.
        * editing/EditorCommand.cpp:
        (WebCore::stateJustifyFull): Added.
        (WebCore::createCommandMap): Added stateJustifyFull.
2010-09-30  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        Implement queryCommandState('justifyFull')
        https://bugs.webkit.org/show_bug.cgi?id=46954

        Added tests for queryCommandState('justifyFull') to editing/execCommand/query-text-alignment.html

        * editing/execCommand/query-text-alignment-expected.txt:
        * editing/execCommand/script-tests/query-text-alignment.js:
        (queryTextAlignment):
        (runRangeTests):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68904 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
ossy@webkit.org [Fri, 1 Oct 2010 18:17:35 +0000 (18:17 +0000)]
2010-10-01  Gabor Rapcsanyi  <rgabor@inf.u-szeged.hu>

        Reviewed by Tony Chang.

        [NRWT] Put the http and websocket tests first in the test list.
        https://bugs.webkit.org/show_bug.cgi?id=46453

        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68903 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Jia Pu <jpu@apple.com>
commit-queue@webkit.org [Fri, 1 Oct 2010 18:11:24 +0000 (18:11 +0000)]
2010-10-01  Jia Pu  <jpu@apple.com>

        Reviewed by Darin Adler.

        Autocorrection shouldn't prompt the same correction after user has edited previous correction.
        https://bugs.webkit.org/show_bug.cgi?id=46839
        <rdar://problem/8476963>

        * editing/Editor.cpp:
        (WebCore::Editor::respondToChangedSelection): Remove "CorrectionIndicator" marker instead of
          "Replacement" marker. Since the former controls whether we draw autocorrection underline,
          and the latter is used to prevent autocorrection from being applied again on already auto-
          corrected word. So the "Replacement" shouldn't be removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68902 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Fri, 1 Oct 2010 18:05:40 +0000 (18:05 +0000)]
2010-10-01  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Anders Carlsson.

        [CMake] Add handling for ENABLE(NETSCAPE_PLUGIN_API)
        https://bugs.webkit.org/show_bug.cgi?id=46309

        * CMakeLists.txt:
        * CMakeListsEfl.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68901 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=46996, patch the functions dealing with the...
hyatt@apple.com [Fri, 1 Oct 2010 17:55:12 +0000 (17:55 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46996, patch the functions dealing with the bottom of the block to
be block-flow-aware.

Reviewed by Darin Adler.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::setCollapsedBottomMargin):
(WebCore::RenderBlock::handleAfterSideOfBlock):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68900 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Pratik Solanki <psolanki@apple.com>
commit-queue@webkit.org [Fri, 1 Oct 2010 17:50:39 +0000 (17:50 +0000)]
2010-10-01  Pratik Solanki  <psolanki@apple.com>

        Reviewed by Geoffrey Garen.
        Specify ALWAYS_INLINE at function declaration not function definition
        https://bugs.webkit.org/show_bug.cgi?id=46960

        For functions defined with ALWAYS_INLINE, add the attribute to the declaration as well.

        * bytecompiler/BytecodeGenerator.h:
        * wtf/FastMalloc.cpp:
2010-10-01  Pratik Solanki  <psolanki@apple.com>

        Reviewed by Geoffrey Garen.
        Specify ALWAYS_INLINE at function declaration not function definition
        https://bugs.webkit.org/show_bug.cgi?id=46960

        For functions defined with ALWAYS_INLINE, add the attribute to the declaration as well.

        * css/CSSStyleSelector.h:
        * rendering/InlineIterator.h:
        * rendering/style/RenderStyle.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68899 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoImplement NPN_GetValueForURL/NPN_SetValueForURL and stub out PluginController functions
andersca@apple.com [Fri, 1 Oct 2010 17:46:27 +0000 (17:46 +0000)]
Implement NPN_GetValueForURL/NPN_SetValueForURL and stub out PluginController functions
https://bugs.webkit.org/show_bug.cgi?id=46992

Reviewed by Dan Bernstein.

* WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
(WebKit::copyCString):
Helper function for allocating a string using NPN_MemAlloc.

(WebKit::NPN_GetValueForURL):
Ask the plug-in for either the proxy or the cookies given an URL.

(WebKit::NPN_SetValueForURL):
* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
Tell the plug-in to set the cookies for the given URL.

(WebKit::NetscapePlugin::proxiesForURL):
(WebKit::NetscapePlugin::cookiesForURL):
(WebKit::NetscapePlugin::setCookiesForURL):
Call the corresponding PluginController functions.

* WebProcess/Plugins/PluginController.h:
Add new pure virtual member functions.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::proxiesForURL):
(WebKit::PluginView::cookiesForURL):
(WebKit::PluginView::setCookiesForURL):
Add stubbed out implementations of the new PluginController functions.

* WebProcess/Plugins/PluginView.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68898 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=46995, make direction propagate up to the...
hyatt@apple.com [Fri, 1 Oct 2010 17:43:59 +0000 (17:43 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46995, make direction propagate up to the viewport from the root element.

Reviewed by Dan Bernstein.

WebCore:

Added fast/css/rtl-to-viewport.html

* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::styleForDocument):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::styleDidChange):

LayoutTests:

* fast/css/rtl-to-viewport.html: Added.
* platform/mac/fast/css/rtl-to-viewport-expected.checksum: Added.
* platform/mac/fast/css/rtl-to-viewport-expected.png: Added.
* platform/mac/fast/css/rtl-to-viewport-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68897 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago Reviewed by Anders Carlsson.
ap@apple.com [Fri, 1 Oct 2010 17:29:18 +0000 (17:29 +0000)]
    Reviewed by Anders Carlsson.

        https://bugs.webkit.org/show_bug.cgi?id=44406
        <rdar://problem/8310921> Application Cache crash when a fallback document has a manifest URL

        Test: http/tests/appcache/foreign-fallback.html

        * loader/appcache/ApplicationCacheGroup.cpp: (WebCore::ApplicationCacheGroup::selectCache):
        Changed ApplicationCacheResource lookup to find fallback resources correctly.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68896 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed, Brew MP build fix.
kseo@webkit.org [Fri, 1 Oct 2010 17:20:27 +0000 (17:20 +0000)]
Unreviewed, Brew MP build fix.

* platform/brew/ClipboardBrew.cpp:
(WebCore::ClipboardBrew::ClipboardBrew):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68895 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUpdated stuff.
fsamuel@chromium.org [Fri, 1 Oct 2010 17:01:16 +0000 (17:01 +0000)]
Updated stuff.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68894 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed.
kseo@webkit.org [Fri, 1 Oct 2010 16:54:59 +0000 (16:54 +0000)]
Unreviewed.

[BREWMP] Change Collector BLOCK_SIZE to 64KB
https://bugs.webkit.org/show_bug.cgi?id=46436

Lower BLOCK_SIZE to 64KB because Brew MP runs on low end devices.

* runtime/Collector.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68893 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Rafael Antognolli <antognolli@profusion.mobi>
commit-queue@webkit.org [Fri, 1 Oct 2010 16:32:27 +0000 (16:32 +0000)]
2010-10-01  Rafael Antognolli  <antognolli@profusion.mobi>

        Unreviewed build fix.

        [CMAKE] Build fix for r68878
        https://bugs.webkit.org/show_bug.cgi?id=46985

        Fix name of files added to CMakeLists.txt:
        SVGTextLayoutBaseline.cpp -> SVGTextLayoutEngineBaseline.cpp
        SVGTextLayoutSpacing.cpp -> SVGTextLayoutEngineSpacing.cpp

        No features added, so no new tests.

        * CMakeLists.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68892 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoImplement NPN_GetValue(NPNVnetscapeWindow)
aroben@apple.com [Fri, 1 Oct 2010 16:16:03 +0000 (16:16 +0000)]
Implement NPN_GetValue(NPNVnetscapeWindow)

Fixes <http://webkit.org/b/46726> <rdar://problem/8486319>
Right-clicking on windowless Flash plugin in WebKit2 makes a context
menu appear in the bottom-right corner of the screen

Test: platform/win/plugins/get-value-netscape-window.html

Reviewed by Anders Carlsson.

WebKit2:

* WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
(WebKit::NPN_GetValue): Added case for NPNVnetscapeWindow that calls
through to NetscapePlugin::containingWindow.

* WebProcess/Plugins/Netscape/NetscapePlugin.h: Added containingWindow
on Windows.

* WebProcess/Plugins/Netscape/win/NetscapePluginWin.cpp:
(WebKit::NetscapePlugin::containingWindow): Added. Calls through to
the PluginController.
(WebKit::NetscapePlugin::platformPostInitialize): Changed to use
containingWindow.

WebKitTools:

Test NPN_GetValue(NPNVnetscapeWindow)

* DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
(PluginTest::NPN_GetValue): Added. Calls through to the browser.

* DumpRenderTree/TestNetscapePlugIn/PluginTest.h: Added NPN_GetValue.

* DumpRenderTree/TestNetscapePlugIn/Tests/win/GetValueNetscapeWindow.cpp: Added.
(GetValueNetscapeWindow::GetValueNetscapeWindow): Initialize members.
(GetValueNetscapeWindow::NPP_SetWindow): Test that
NPN_GetValue(NPNVnetscapeWindow) returns a valid HWND and that it
isn't our HWND.

* DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
Added GetValueNetscapeWindow.

LayoutTests:

Support for testing NPN_GetValue(NPNVnetscapeWindow)

* platform/win/plugins/get-value-netscape-window-expected.txt: Added.
* platform/win/plugins/get-value-netscape-window.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68891 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
commit-queue@webkit.org [Fri, 1 Oct 2010 14:56:18 +0000 (14:56 +0000)]
2010-10-01  Viatcheslav Ostapenko  <ostapenko.viatcheslav@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Stack overflow on symbian platform.
        https://bugs.webkit.org/show_bug.cgi?id=40598

        Move big allocation in arrayProtoFuncToString from stack to heap.
        JSC::arrayProtoFuncToString function can be called recursivly and
        1K allocation on stack cahse stack overflow.
        Can be useful for other platforms with limited stack size.

        * runtime/ArrayPrototype.cpp:
        (JSC::arrayProtoFuncToString):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68890 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Ragner Magalhaes <ragner.magalhaes@openbossa.org>
andreas.kling@nokia.com [Fri, 1 Oct 2010 13:52:33 +0000 (13:52 +0000)]
2010-10-01  Ragner Magalhaes  <ragner.magalhaes@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] New buttons style for Qt Mobile theme
        https://bugs.webkit.org/show_bug.cgi?id=46920

        Rename Maemo5Webstyle to QtMobileWebStyle since it implements the style for all Qt mobile platform.
        Adjust new Qt mobile style for buttons, radios, checks and combos.

        * WebCore.pro:
        * css/themeQtMobile.css: Adjust gradient color for buttons and combos.
        (select):
        (select:active):
        * platform/qt/QtMobileWebStyle.cpp: Renamed from platform/qt/Maemo5Webstyle.cpp to match name scheme.
        (QtMobileWebStyle::QtMobileWebStyle):
        (drawRectangularControlBackground):
        (QtMobileWebStyle::drawChecker):
        (QtMobileWebStyle::findChecker):
        (QtMobileWebStyle::drawRadio): Adjust gradient color for RadioButton.
        (QtMobileWebStyle::findRadio):
        (QtMobileWebStyle::drawControl): Adjust gradient color for CheckBox.
        (QtMobileWebStyle::drawMultipleComboButton):
        (QtMobileWebStyle::drawSimpleComboButton): Adjust ComboBox arrow.
        (QtMobileWebStyle::getButtonImageSize):
        (QtMobileWebStyle::findComboButton):
        (QtMobileWebStyle::drawComplexControl):
        * platform/qt/QtMobileWebStyle.h: Renamed from platform/qt/Maemo5Webstyle.h to match name scheme.
        * platform/qt/RenderThemeQt.cpp:
        (WebCore::RenderThemeQt::RenderThemeQt):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68889 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAdd expected Windows results for scrollbars/custom-scrollbar-with-incomplete-style...
aroben@apple.com [Fri, 1 Oct 2010 13:49:59 +0000 (13:49 +0000)]
Add expected Windows results for scrollbars/custom-scrollbar-with-incomplete-style.html

This test was added in r66372 without any expected results.

* platform/win/scrollbars/custom-scrollbar-with-incomplete-style-expected.checksum: Added.
* platform/win/scrollbars/custom-scrollbar-with-incomplete-style-expected.png: Added.
* platform/win/scrollbars/custom-scrollbar-with-incomplete-style-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68888 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Fri, 1 Oct 2010 13:43:02 +0000 (13:43 +0000)]
2010-10-01  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: [Extensions API] expose page load events timings
        Added webInspector.resources.getPageTimings()
        https://bugs.webkit.org/show_bug.cgi?id=45954

        * inspector/front-end/ExtensionAPI.js:
        (WebInspector.injectedExtensionAPI.Resources.prototype):
        (WebInspector.injectedExtensionAPI.Resources.prototype.getPageTimings):
        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer):
        (WebInspector.ExtensionServer.prototype._onGetPageTimings):
        * inspector/front-end/HAREntry.js: Return page event timings as -1 if start or event time unknown.
        (WebInspector.HARLog.prototype._buildPages):
        (WebInspector.HARLog.prototype.buildMainResourceTimings):
        (WebInspector.HARLog.prototype._convertResource):
        (WebInspector.HARLog.prototype._pageEventTime):

2010-10-01  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: [Extensions API] expose page load events timings
        Added webInspector.resources.getPageTimings()
        https://bugs.webkit.org/show_bug.cgi?id=45954

        * inspector/extensions-api-expected.txt:
        * inspector/extensions-resources-expected.txt:
        * inspector/extensions-resources.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68887 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoRemove the fixed test from the Skipped file, too
aroben@apple.com [Fri, 1 Oct 2010 13:37:38 +0000 (13:37 +0000)]
Remove the fixed test from the Skipped file, too

* platform/win/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68886 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoRemove bogus Windows results for clip-path-referencing-use2.svg
aroben@apple.com [Fri, 1 Oct 2010 13:35:19 +0000 (13:35 +0000)]
Remove bogus Windows results for clip-path-referencing-use2.svg

Fixes <http://webkit.org/b/46919> <rdar://problem/8497626> REGRESSION?
(r65617?): svg/custom/clip-path-referencing-use2.svg fails on Windows

Rubber-stamped by Nikolas Zimmermann.

* platform/win/svg/custom/clip-path-referencing-use2-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68885 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoMake regression tests pass on machines with 16-bit displays
aroben@apple.com [Fri, 1 Oct 2010 13:30:29 +0000 (13:30 +0000)]
Make regression tests pass on machines with 16-bit displays

I made these tests require 24-bit displays in r68808 and r68809,
thinking that we didn't have any testers that had 16-bit displays. But
apparently I was wrong; at least one Windows tester has a 16-bit
display.

Fixes <http://webkit.org/b/46980>
fast/media/color-does-not-include-alpha.html failing on Windows

Reviewed by Nikolas Zimmermann.

* fast/dom/Window/window-screen-properties-expected.txt: Updated
results.
* fast/dom/Window/window-screen-properties.html: Changed to allow
either 16 or 24 bits.
* fast/media/color-does-not-include-alpha.html: Changed to allow
either 5 or 8 bits per channel.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68884 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Fri, 1 Oct 2010 13:09:56 +0000 (13:09 +0000)]
2010-10-01  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        [WIN] Add GDIExtras
        https://bugs.webkit.org/show_bug.cgi?id=46974

        Some, but not all WinCE environments have support for AlphaBlend().
        Add this files to check for AlphaBlend (and SoftLink) on WinCE.
        On WinNT alphaBlendIfSupported() inlines AlphaBlend and returns true.

        * platform/graphics/win/GDIExtras.cpp: Added.
        (WebCore::AlphaBlendPointer):
        * platform/graphics/win/GDIExtras.h: Added.
        (WebCore::hasAlphaBlendSupport):
        (WebCore::alphaBlendIfSupported):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68883 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-10-01 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Fri, 1 Oct 2010 13:04:42 +0000 (13:04 +0000)]
2010-10-01  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        [WINCE] Use alphaBlendIfSupported in GraphicsContext
        https://bugs.webkit.org/show_bug.cgi?id=46979

        * platform/graphics/wince/GraphicsContextWinCE.cpp:
        (WebCore::GraphicsContextPlatformPrivate::paintBackTransparentLayerBitmap):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68882 268f45cc-cd09-0410-ab3c-d52691b4dbfc