Remove obsolete CSS proposals, adding links to the most recent ones. Add nodes to the HTML media proposals indicating that they are stagnant or have been superseded.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66236 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-08-27  Patrick Gansterer  <paroga@paroga.com>

        Reviewed by Nikolas Zimmermann.

        [WINCE] Buildfix for graphics code after r65449
        https://bugs.webkit.org/show_bug.cgi?id=44510

        * platform/graphics/wince/GraphicsContextWince.cpp:
        * platform/graphics/wince/ImageBufferWince.cpp:
        (WebCore::ImageBuffer::drawsUsingCopy):
        (WebCore::ImageBuffer::copyImage):
        (WebCore::ImageBuffer::clip):
        (WebCore::ImageBuffer::draw):
        (WebCore::ImageBuffer::drawPattern):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66237 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-08-27  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Darin Fisher.

        Crash in HistoryController::recursiveGoToItem when navigating in a frame
        while another frame has a custom window name
        https://bugs.webkit.org/show_bug.cgi?id=44183

        Add a test to check that we can handle navigation from a top-level frame
        when one of the child frames sets window.name after load.

        * fast/history/history-subframe-with-name-expected.txt: Added.
        * fast/history/history-subframe-with-name.html: Added.
        * fast/history/resources/history-subframe-with-name-2.html: Added.
        * fast/history/resources/history-subframe-with-name-3.html: Added.
        * fast/history/resources/history-subframe-with-name-container.html: Added.
2010-08-27  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Darin Fisher.

        Crash in HistoryController::recursiveGoToItem when navigating in a frame
        while another frame has a custom window name
        https://bugs.webkit.org/show_bug.cgi?id=44183

        Fix up HistoryController::recursiveGoToItem to better check whether the
        current document frames, the curent history item frames, and the
        destination history frames match up.

        Test: fast/history/history-subframe-with-name.html

        * history/HistoryItem.cpp:
        (WebCore::HistoryItem::childItemWithDocumentSequenceNumber): Add linear
        lookup of child by document sequence number
        (WebCore::HistoryItem::hasSameDocuments): Remove assumption that the
        other item has the children in the same order (it doesn't seem to be
        true)
        (WebCore::HistoryItem::hasSameFrames): Add recursive comparison of child
        frames.
        * history/HistoryItem.h:
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::loadItem): Compare full set of documents in
        history items, not just the topmost ones. Otherwise when going between
        framesets where only one of the subframes changed we wouldn't trigger a
        load.
        * loader/HistoryController.cpp:
        (WebCore::HistoryController::recursiveGoToItem): Also check that the
        two history items have the same frames
        (WebCore::HistoryController::currentFramesMatchItem): Refactor
        childFramesMatchItem to also check the top-most frame, to make
        recursiveGoToItem easier to read.
        * loader/HistoryController.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66238 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-08-27  Andrey Kosyakov  <caseq@chromium.org>

        Unreviewed. Revert r66218 & r66220 due to GTK test failures.

        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * inspector/front-end/AuditLauncherView.js:
        (WebInspector.AuditLauncherView.categorySortFunction):
        (WebInspector.AuditLauncherView):
        (WebInspector.AuditLauncherView.prototype._launchButtonClicked):
        (WebInspector.AuditLauncherView.prototype._selectAllClicked):
        (WebInspector.AuditLauncherView.prototype._categoryClicked):
        (WebInspector.AuditLauncherView.prototype._createCategoryElement):
        (WebInspector.AuditLauncherView.prototype._createLauncherUI):
        * inspector/front-end/AuditResultView.js:
        (WebInspector.AuditCategoryResultPane.prototype._appendResult):
        * inspector/front-end/AuditsPanel.js:
        (WebInspector.AuditsPanel):
        (WebInspector.AuditsPanel.prototype._executeAudit):
        (WebInspector.AuditCategory.prototype.runRules):
        * inspector/front-end/ExtensionAPI.js:
        (injectedExtensionAPI):
        (injectedExtensionAPI.EventSinkImpl.prototype.addListener):
        (injectedExtensionAPI.EventSinkImpl.prototype._fire):
        (injectedExtensionAPI.EventSink):
        (injectedExtensionAPI.InspectorExtensionAPI):
        (injectedExtensionAPI.Panels.prototype.create):
        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer):
        (WebInspector.ExtensionServer.prototype._postNotification):
        (WebInspector.ExtensionServer.prototype._addExtensions):
        (WebInspector.ExtensionStatus):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.html:
        * inspector/front-end/utilities.js:
        ():

2010-08-27  Andrey Kosyakov  <caseq@chromium.org>

        Unreviewed. Revert r66218 & r66220 due to GTK test failures.

        * inspector/audits-panel-functional.html:
        * inspector/audits-tests.js: Removed.
        * inspector/extensions-api-expected.txt:
        * inspector/extensions-audits-api-expected.txt: Removed.
        * inspector/extensions-audits-api.html: Removed.
        * inspector/extensions-audits-expected.txt: Removed.
        * inspector/extensions-audits-tests.js: Removed.
        * inspector/extensions-audits.html: Removed.
        * inspector/extensions-expected.txt:
        * inspector/resources/audits-script3.js: Added.
        (foo3):
        * platform/chromium/test_expectations.txt:




git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66239 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-08-27  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Tony Chang.

        Crash in CSSStyleSelector.cpp
        https://bugs.webkit.org/show_bug.cgi?id=44780

        Need to null-check the images when replacing pending images, because a later
        rule may have replaced an image with 'none'.

        Test: fast/css/pending-images-crash.html

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::loadPendingImages):
        * page/FrameView.cpp:
        (WebCore::FrameView::paintContents): Fix unrelated log message.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-08-27  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] tst_QWebFrame::inputFieldFocus() fails on MeeGo Handset with QtWebKit 2.1
        https://bugs.webkit.org/show_bug.cgi?id=44703

        Make the test more robust to changes in the execution environment.
        The position where the mouse events are sent is now computed from the element geometry,
        this make the test less dependent on the fonts.

        The test now also make sure the window manager mapped the window on screen
        before attempting to send the events.

        * tests/qwebframe/tst_qwebframe.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66241 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-08-27  Tony Chang  <tony@chromium.org>

        Unreviewed.  Add google-chrome linux ia32 results.  These are slightly
        different from the chromium-linux results because of rounding
        differences due to different compiler flags.  These results are
        expected to pass on ubuntu hardy 32.

        * platform/google-chrome-linux32/css1/box_properties/acid_test-expected.checksum: Added.
        * platform/google-chrome-linux32/css1/box_properties/acid_test-expected.png: Added.
        * platform/google-chrome-linux32/css1/box_properties/acid_test-expected.txt: Added.
        * platform/google-chrome-linux32/css2.1/t09-c5526c-display-00-e-expected.checksum: Added.
        * platform/google-chrome-linux32/css2.1/t09-c5526c-display-00-e-expected.png: Added.
        * platform/google-chrome-linux32/css2.1/t09-c5526c-display-00-e-expected.txt: Added.
        * platform/google-chrome-linux32/editing/execCommand/5138441-expected.checksum: Added.
        * platform/google-chrome-linux32/editing/execCommand/5138441-expected.png: Added.
        * platform/google-chrome-linux32/editing/inserting/editing-empty-divs-expected.checksum: Added.
        * platform/google-chrome-linux32/editing/inserting/editing-empty-divs-expected.png: Added.
        * platform/google-chrome-linux32/fast/backgrounds/repeat/negative-offset-repeat-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/backgrounds/repeat/negative-offset-repeat-expected.png: Added.
        * platform/google-chrome-linux32/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png: Added.
        * platform/google-chrome-linux32/fast/backgrounds/size/backgroundSize04-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/backgrounds/size/backgroundSize04-expected.png: Added.
        * platform/google-chrome-linux32/fast/backgrounds/size/backgroundSize18-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/backgrounds/size/backgroundSize18-expected.png: Added.
        * platform/google-chrome-linux32/fast/backgrounds/size/backgroundSize21-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/backgrounds/size/backgroundSize21-expected.png: Added.
        * platform/google-chrome-linux32/fast/backgrounds/size/contain-and-cover-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/backgrounds/size/contain-and-cover-expected.png: Added.
        * platform/google-chrome-linux32/fast/backgrounds/svg-as-background-4-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/backgrounds/svg-as-background-4-expected.png: Added.
        * platform/google-chrome-linux32/fast/backgrounds/svg-as-background-5-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/backgrounds/svg-as-background-5-expected.png: Added.
        * platform/google-chrome-linux32/fast/block/basic/011-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/block/basic/011-expected.png: Added.
        * platform/google-chrome-linux32/fast/block/basic/011-expected.txt: Added.
        * platform/google-chrome-linux32/fast/block/positioning/absolute-in-inline-ltr-2-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/block/positioning/absolute-in-inline-ltr-2-expected.png: Added.
        * platform/google-chrome-linux32/fast/block/positioning/absolute-in-inline-ltr-3-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/block/positioning/absolute-in-inline-ltr-3-expected.png: Added.
        * platform/google-chrome-linux32/fast/block/positioning/absolute-in-inline-ltr-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/block/positioning/absolute-in-inline-ltr-expected.png: Added.
        * platform/google-chrome-linux32/fast/block/positioning/absolute-in-inline-rtl-2-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/block/positioning/absolute-in-inline-rtl-2-expected.png: Added.
        * platform/google-chrome-linux32/fast/block/positioning/absolute-in-inline-rtl-3-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/block/positioning/absolute-in-inline-rtl-3-expected.png: Added.
        * platform/google-chrome-linux32/fast/block/positioning/absolute-in-inline-rtl-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/block/positioning/absolute-in-inline-rtl-expected.png: Added.
        * platform/google-chrome-linux32/fast/block/positioning/absolute-in-inline-short-ltr-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/block/positioning/absolute-in-inline-short-ltr-expected.png: Added.
        * platform/google-chrome-linux32/fast/block/positioning/absolute-in-inline-short-rtl-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/block/positioning/absolute-in-inline-short-rtl-expected.png: Added.
        * platform/google-chrome-linux32/fast/borders/border-image-omit-right-slice-expected.checksum: Copied from LayoutTests/platform/chromium-win/fast/borders/border-image-omit-right-slice-expected.checksum.
        * platform/google-chrome-linux32/fast/borders/border-image-omit-right-slice-expected.png: Copied from LayoutTests/platform/chromium-win/fast/borders/border-image-omit-right-slice-expected.png.
        * platform/google-chrome-linux32/fast/borders/border-image-rotate-transform-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/borders/border-image-rotate-transform-expected.png: Added.
        * platform/google-chrome-linux32/fast/borders/borderRadiusSolid03-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/borders/borderRadiusSolid03-expected.png: Added.
        * platform/google-chrome-linux32/fast/css-generated-content/012-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/css-generated-content/012-expected.png: Added.
        * platform/google-chrome-linux32/fast/css/border-height-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/css/border-height-expected.png: Added.
        * platform/google-chrome-linux32/fast/css/margin-top-bottom-dynamic-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/css/margin-top-bottom-dynamic-expected.png: Added.
        * platform/google-chrome-linux32/fast/dom/HTMLProgressElement/progress-element-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/dom/HTMLProgressElement/progress-element-expected.png: Added.
        * platform/google-chrome-linux32/fast/forms/menulist-style-color-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/forms/menulist-style-color-expected.png: Added.
        * platform/google-chrome-linux32/fast/forms/negativeLineHeight-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/forms/negativeLineHeight-expected.png: Copied from LayoutTests/platform/chromium-linux/fast/forms/negativeLineHeight-expected.png.
        * platform/google-chrome-linux32/fast/forms/search-vertical-alignment-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/forms/search-vertical-alignment-expected.png: Added.
        * platform/google-chrome-linux32/fast/forms/textAreaLineHeight-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/forms/textAreaLineHeight-expected.png: Added.
        * platform/google-chrome-linux32/fast/gradients/border-image-gradient-sides-and-corners-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/gradients/border-image-gradient-sides-and-corners-expected.png: Added.
        * platform/google-chrome-linux32/fast/gradients/radial-centered-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/gradients/radial-centered-expected.png: Added.
        * platform/google-chrome-linux32/fast/images/animated-svg-as-image-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/images/animated-svg-as-image-expected.png: Added.
        * platform/google-chrome-linux32/fast/inline-block/inline-block-vertical-align-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/inline-block/inline-block-vertical-align-expected.png: Added.
        * platform/google-chrome-linux32/fast/js/navigator-mimeTypes-length-expected.txt: Copied from LayoutTests/fast/js/navigator-mimeTypes-length-expected.txt.
        * platform/google-chrome-linux32/fast/lists/ordered-list-with-no-ol-tag-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/lists/ordered-list-with-no-ol-tag-expected.png: Added.
        * platform/google-chrome-linux32/fast/multicol/span/span-as-immediate-columns-child-removal-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/multicol/span/span-as-immediate-columns-child-removal-expected.png: Added.
        * platform/google-chrome-linux32/fast/repaint/shadow-multiple-horizontal-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/repaint/shadow-multiple-horizontal-expected.png: Added.
        * platform/google-chrome-linux32/fast/repaint/shadow-multiple-strict-horizontal-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/repaint/shadow-multiple-strict-horizontal-expected.png: Added.
        * platform/google-chrome-linux32/fast/repaint/shadow-multiple-strict-vertical-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/repaint/shadow-multiple-strict-vertical-expected.png: Added.
        * platform/google-chrome-linux32/fast/repaint/shadow-multiple-vertical-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/repaint/shadow-multiple-vertical-expected.png: Added.
        * platform/google-chrome-linux32/fast/replaced/absolute-image-sizing-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/replaced/absolute-image-sizing-expected.png: Added.
        * platform/google-chrome-linux32/fast/table/empty-table-percent-height-expected.checksum: Added.
        * platform/google-chrome-linux32/fast/table/empty-table-percent-height-expected.png: Added.
        * platform/google-chrome-linux32/plugins/embed-attributes-style-expected.checksum: Added.
        * platform/google-chrome-linux32/plugins/embed-attributes-style-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/animate-elem-30-t-expected.txt: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/animate-elem-33-t-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/animate-elem-33-t-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/animate-elem-36-t-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/animate-elem-40-t-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/animate-elem-40-t-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/animate-elem-80-t-expected.txt: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/animate-elem-82-t-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.checksum: Copied from LayoutTests/platform/chromium-linux/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.checksum.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.png: Copied from LayoutTests/platform/chromium-linux/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.png.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/linking-a-05-t-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/linking-a-05-t-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/painting-marker-03-f-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/painting-marker-03-f-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/paths-data-03-f-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/paths-data-03-f-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/paths-data-05-t-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/paths-data-05-t-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/paths-data-09-t-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/paths-data-09-t-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/paths-data-12-t-expected.checksum: Copied from LayoutTests/platform/google-chrome-linux64/svg/W3C-SVG-1.1/paths-data-12-t-expected.checksum.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/paths-data-12-t-expected.png: Copied from LayoutTests/platform/google-chrome-linux64/svg/W3C-SVG-1.1/paths-data-12-t-expected.png.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/paths-data-12-t-expected.txt: Copied from LayoutTests/platform/google-chrome-linux64/svg/W3C-SVG-1.1/paths-data-12-t-expected.txt.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/render-elems-06-t-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/render-elems-06-t-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/render-elems-07-t-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/render-elems-07-t-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/render-elems-08-t-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/render-elems-08-t-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/struct-frag-02-t-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/struct-frag-02-t-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/struct-frag-03-t-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/struct-frag-03-t-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/struct-group-03-t-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/struct-group-03-t-expected.png: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/struct-image-10-t-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/W3C-SVG-1.1/struct-image-10-t-expected.png: Added.
        * platform/google-chrome-linux32/svg/batik/filters/filterRegions-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/batik/filters/filterRegions-expected.png: Added.
        * platform/google-chrome-linux32/svg/batik/filters/filterRegions-expected.txt: Added.
        * platform/google-chrome-linux32/svg/batik/text/textEffect-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/batik/text/textEffect-expected.png: Added.
        * platform/google-chrome-linux32/svg/batik/text/textOnPath-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/batik/text/textOnPath-expected.png: Added.
        * platform/google-chrome-linux32/svg/batik/text/textOnPath2-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/batik/text/textOnPath2-expected.png: Added.
        * platform/google-chrome-linux32/svg/batik/text/textOnPath3-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/batik/text/textOnPath3-expected.png: Added.
        * platform/google-chrome-linux32/svg/batik/text/textOnPathSpaces-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/batik/text/textOnPathSpaces-expected.png: Added.
        * platform/google-chrome-linux32/svg/batik/text/verticalText-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/batik/text/verticalText-expected.png: Added.
        * platform/google-chrome-linux32/svg/batik/text/verticalTextOnPath-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/batik/text/verticalTextOnPath-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/circular-marker-reference-2-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/circular-marker-reference-2-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/control-points-for-S-and-T-expected.checksum: Copied from LayoutTests/platform/chromium-linux/svg/custom/control-points-for-S-and-T-expected.checksum.
        * platform/google-chrome-linux32/svg/custom/control-points-for-S-and-T-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/control-points-for-S-and-T-expected.png.
        * platform/google-chrome-linux32/svg/custom/empty-merge-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/empty-merge-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/empty-merge-expected.txt: Added.
        * platform/google-chrome-linux32/svg/custom/feComponentTransfer-Table-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/feComponentTransfer-Table-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/feDisplacementMap-01-expected.txt: Added.
        * platform/google-chrome-linux32/svg/custom/focus-ring-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/focus-ring-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/glyph-setting-d-attribute-expected.txt: Added.
        * platform/google-chrome-linux32/svg/custom/gradient-userSpaceOnUse-with-percentage-expected.checksum: Copied from LayoutTests/platform/chromium-win/svg/custom/gradient-userSpaceOnUse-with-percentage-expected.checksum.
        * platform/google-chrome-linux32/svg/custom/gradient-userSpaceOnUse-with-percentage-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/gradient-userSpaceOnUse-with-percentage-expected.png.
        * platform/google-chrome-linux32/svg/custom/image-small-width-height-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/image-small-width-height-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/image-with-transform-clip-filter-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/image-with-transform-clip-filter-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/inline-svg-in-xhtml-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/inline-svg-in-xhtml-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/linking-a-03-b-all-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/linking-a-03-b-all-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/linking-a-03-b-transform-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/linking-a-03-b-transform-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/linking-a-03-b-viewBox-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/linking-a-03-b-viewBox-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/linking-a-03-b-viewBox-transform-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/linking-a-03-b-viewBox-transform-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/non-circular-marker-reference-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/non-circular-marker-reference-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/path-getTotalLength-expected.txt: Copied from LayoutTests/svg/custom/path-getTotalLength-expected.txt.
        * platform/google-chrome-linux32/svg/custom/pattern-with-transformation-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/pattern-with-transformation-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/recursive-filter-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/recursive-filter-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/recursive-filter-expected.txt: Added.
        * platform/google-chrome-linux32/svg/custom/relative-sized-content-with-resources-expected.txt: Added.
        * platform/google-chrome-linux32/svg/custom/relative-sized-use-on-symbol-expected.checksum: Copied from LayoutTests/platform/chromium-linux/svg/custom/relative-sized-use-on-symbol-expected.checksum.
        * platform/google-chrome-linux32/svg/custom/relative-sized-use-on-symbol-expected.png: Copied from LayoutTests/platform/chromium-linux/svg/custom/relative-sized-use-on-symbol-expected.png.
        * platform/google-chrome-linux32/svg/custom/resource-invalidate-on-target-update-expected.txt: Added.
        * platform/google-chrome-linux32/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt: Added.
        * platform/google-chrome-linux32/svg/custom/svg-curve-with-relative-cordinates-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/svg-curve-with-relative-cordinates-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/svg-fonts-in-html-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/svg-fonts-in-html-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/svg-fonts-in-html-expected.txt: Added.
        * platform/google-chrome-linux32/svg/custom/svg-fonts-with-no-element-reference-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/svg-fonts-with-no-element-reference-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/svg-fonts-with-no-element-reference-expected.txt: Copied from LayoutTests/platform/gtk/svg/custom/svg-fonts-with-no-element-reference-expected.txt.
        * platform/google-chrome-linux32/svg/custom/use-css-events-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/custom/use-css-events-expected.png: Added.
        * platform/google-chrome-linux32/svg/custom/width-full-percentage-expected.txt: Copied from LayoutTests/platform/chromium-win/svg/custom/width-full-percentage-expected.txt.
        * platform/google-chrome-linux32/svg/filters/feColorMatrix-values-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/filters/feColorMatrix-values-expected.png: Added.
        * platform/google-chrome-linux32/svg/filters/feColorMatrix-values-expected.txt: Added.
        * platform/google-chrome-linux32/svg/filters/filteredImage-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/filters/filteredImage-expected.png: Added.
        * platform/google-chrome-linux32/svg/filters/filteredImage-expected.txt: Copied from LayoutTests/platform/qt/svg/filters/filteredImage-expected.txt.
        * platform/google-chrome-linux32/svg/filters/parent-children-with-same-filter-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/filters/parent-children-with-same-filter-expected.png: Added.
        * platform/google-chrome-linux32/svg/filters/parent-children-with-same-filter-expected.txt: Added.
        * platform/google-chrome-linux32/svg/filters/subRegion-one-effect-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/filters/subRegion-one-effect-expected.png: Added.
        * platform/google-chrome-linux32/svg/filters/subRegion-two-effects-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/filters/subRegion-two-effects-expected.png: Added.
        * platform/google-chrome-linux32/svg/hixie/perf/001-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/hixie/perf/001-expected.png: Added.
        * platform/google-chrome-linux32/svg/hixie/perf/001-expected.txt: Added.
        * platform/google-chrome-linux32/svg/hixie/perf/002-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/hixie/perf/002-expected.png: Added.
        * platform/google-chrome-linux32/svg/hixie/perf/002-expected.txt: Added.
        * platform/google-chrome-linux32/svg/overflow/overflow-on-inner-svg-element-expected.txt: Added.
        * platform/google-chrome-linux32/svg/text/text-path-01-b-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/text/text-path-01-b-expected.png: Added.
        * platform/google-chrome-linux32/svg/text/text-text-06-t-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/text/text-text-06-t-expected.png: Added.
        * platform/google-chrome-linux32/svg/zoom/page/zoom-coords-viewattr-01-b-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/zoom/page/zoom-coords-viewattr-01-b-expected.png: Added.
        * platform/google-chrome-linux32/svg/zoom/page/zoom-hixie-mixed-008-expected.checksum: Added.
        * platform/google-chrome-linux32/svg/zoom/page/zoom-hixie-mixed-008-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug1296-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug1296-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug1430-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug1430-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug15544-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug15544-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug23235-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug23235-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug2886-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug2886-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug2947-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug2947-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug2981-2-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug2981-2-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug4284-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug4284-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug4427-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug4427-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug625-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/bugs/bug625-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/core/bloomberg-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/core/bloomberg-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/core/col_widths_auto_autoFix-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/core/col_widths_auto_autoFix-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/marvin/backgr_layers-opacity-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/marvin/backgr_layers-opacity-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/marvin/backgr_position-table-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/marvin/backgr_position-table-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/marvin/backgr_simple-table-cell-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/marvin/backgr_simple-table-cell-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/marvin/backgr_simple-table-column-group-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/marvin/backgr_simple-table-column-group-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/marvin/backgr_simple-table-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/marvin/backgr_simple-table-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/marvin/backgr_simple-table-row-group-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/marvin/backgr_simple-table-row-group-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla/other/cell_widths-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla/other/cell_widths-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/bugs/bug2479-5-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/bugs/bug85016-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/bugs/bug85016-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_border-table-cell-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_border-table-cell-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_border-table-column-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_border-table-column-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_border-table-column-group-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_border-table-column-group-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_border-table-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_border-table-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_border-table-quirks-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_border-table-quirks-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_border-table-row-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_border-table-row-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_layers-hide-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_layers-hide-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_position-table-column-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_position-table-column-expected.png: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_position-table-row-group-expected.checksum: Added.
        * platform/google-chrome-linux32/tables/mozilla_expected_failures/marvin/backgr_position-table-row-group-expected.png: Added.
        * platform/google-chrome-linux32/transforms/svg-vs-css-expected.checksum: Added.
        * platform/google-chrome-linux32/transforms/svg-vs-css-expected.png: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-08-27  Michael Nordman  <michaeln@google.com>

        Reviewed by David Levin.

        https://bugs.webkit.org/show_bug.cgi?id=44133
        IDL bindings for XmlHttpRequest.responseBlob support, doesn't do anything yet.
        Adds two new attributes, asBlob and responseBlob.
        Runtime disabled by default, also behind a new ENABLE_XHR_RESPONSE_BLOB compile time guard.

        No new tests, just adding some stubs.

        * bindings/generic/RuntimeEnabledFeatures.cpp:
        * bindings/generic/RuntimeEnabledFeatures.h:
        (WebCore::RuntimeEnabledFeatures::setResponseBlobEnabled):
        (WebCore::RuntimeEnabledFeatures::responseBlobEnabled):
        (WebCore::RuntimeEnabledFeatures::asBlobEnabled):
        * bindings/js/JSXMLHttpRequestCustom.cpp:
        (WebCore::JSXMLHttpRequest::responseText): Changed to allow an exceptional return path.
        * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
        (WebCore::V8XMLHttpRequest::responseTextAccessorGetter): Changed to allow an exceptional return path.
        * xml/XMLHttpRequest.cpp:
        (WebCore::XMLHttpRequest::responseText): Changed to raise an exception when accessed with asBlob set to true.
        (WebCore::XMLHttpRequest::responseXML): Changed to raise an exception when accessed with asBlob set to true.
        (WebCore::XMLHttpRequest::responseBlob): Added stub method, returns 0 for now.
        (WebCore::XMLHttpRequest::setAsBlob): Sets the asBlob attribute, raises exception if called at an inappropriate time.
        (WebCore::XMLHttpRequest::open): Resets asBlob to false, the default value.
        (WebCore::XMLHttpRequest::abort): Clears m_responseBlob.
        (WebCore::XMLHttpRequest::clearResponse): Clears m_responseBlob.
        (WebCore::XMLHttpRequest::didFinishLoading): Added a FIXME to populate m_responseBlob.
        * xml/XMLHttpRequest.h:
        (WebCore::XMLHttpRequest::asBlob):
        * xml/XMLHttpRequest.idl:
2010-08-27  Michael Nordman  <michaeln@google.com>

        Reviewed by David Levin.

        https://bugs.webkit.org/show_bug.cgi?id=44133
        WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob.

        * features.gypi: Define ENABLE_XHR_RESPONSE_BLOB.
        * public/WebRuntimeFeatures.h:
        * src/WebRuntimeFeatures.cpp:
        (WebKit::WebRuntimeFeatures::enableXHRResponseBlob):
        (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-08-27  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Unreviewed. Fix compiling dependencies on EFL port due to r65891.

        No new functionality so no new tests.

        * cmake/WebKitGenerators.cmake:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66244 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Bug 44745 - Number.toFixed/toExponential/toPrecision are inaccurate.

Reviewed by Oliver Hunt.

These methods should be using a version of dtoa that can generate results accurate
to the requested precision, whereas our version of dtoa is only currently able to
support producing results sufficiently accurate to distinguish the value from any
other IEEE-754 double precision number.

JavaScriptCore: 

This change has no impact on benchmarks we track.

On microbenchmarks for these functions, this is a slight regression where a high
precision is requested (dtoa now need to iterate further to generate a a greater
number of digits), but with smaller precision values (hopefully more common) this
improves performance, since it reduced the accurate of result dtoa is required,
to produce, and removes the need to pre-round values before calling dtoa. 

* JavaScriptCore.exp:
    doubleToStringInJavaScriptFormat renamed to numberToString

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
    doubleToStringInJavaScriptFormat renamed to numberToString

* runtime/UString.cpp:
(JSC::UString::number):
    doubleToStringInJavaScriptFormat renamed to numberToString

* wtf/DecimalNumber.h:
(WTF::DecimalNumber::DecimalNumber):
(WTF::DecimalNumber::toStringDecimal):
(WTF::DecimalNumber::toStringExponential):
    Remove all pre-rounding of values, instead call dtoa correctly.

* wtf/dtoa.cpp:
(WTF::dtoa):
* wtf/dtoa.h:
    Reenable support for rounding to specific-figures/decimal-places in dtoa.
    Modify to remove unbiased rounding, provide ECMA required away-from-zero.
    Rewrite doubleToStringInJavaScriptFormat to use DecimalNumber, rename to
    numberToString.

WebCore: 

* html/HTMLTreeBuilder.cpp:
(WebCore::serializeForNumberType):
    doubleToStringInJavaScriptFormat renamed to numberToString.

LayoutTests: 

Updating expected results, corrected errors in fast/js/kde/script-tests/Number.js
(corrected results confirmed with FireFox).

* fast/js/kde/Number-expected.txt:
* fast/js/kde/script-tests/Number.js:
* fast/js/number-toExponential-expected.txt:
* fast/js/number-tofixed-expected.txt:
* fast/js/number-toprecision-expected.txt:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Windows build fix pt 1.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
https://bugs.webkit.org/show_bug.cgi?id=44788, implement HTML5-compliant doctype switching.

Reviewed by Simon Fraser.

WebCore: 

Rename the various modes to match the HTML5 specification:
    ParseMode -> CompatibilityMode
    CompatMode -> QuirksMode
    AlmostStrictMode -> LimitedQuirksMode
    StrictMode -> NoQuirksMode
            
Remove the htmlHacks() accessor from RenderStyle and make rendering code just go to the document
instead.  This makes switching modes avoid forcing all RenderStyles to detect as changed.
        
Clean up user stylesheets to minimize style recalculation when the mode is switched.
        
Fix bugs with the propagation of correct modes in the HTML5 parser.  Make sure the
dummy document created for fragment parsing properly inherits the real document's CompatibilityMode.
Make sure the tree builder properly changes the insertion mode to "BeforeHTML" after handling
a doctype token.
        
determineParseMode -> setCompatibilityModeFromDoctype, and it now implements the HTML5 algorithm
precisely.
        
* WebCore.exp.in:
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::styleForDocument):
(WebCore::CSSStyleSelector::applyProperty):
(WebCore::CSSStyleSelector::fontSizeForKeyword):
* dom/ClassNodeList.cpp:
(WebCore::ClassNodeList::ClassNodeList):
* dom/DecodedDataDocumentParser.cpp:
(WebCore::DecodedDataDocumentParser::appendBytes):
* dom/Document.cpp:
(WebCore::Document::Document):
(WebCore::Document::setCompatibilityMode):
(WebCore::Document::setDocType):
(WebCore::Document::unscheduleStyleRecalc):
(WebCore::Document::recalcStyle):
(WebCore::Document::updateStyleIfNeeded):
(WebCore::Document::createStyleSelector):
(WebCore::Document::implicitOpen):
(WebCore::Document::pageUserSheet):
(WebCore::Document::clearPageUserSheet):
(WebCore::Document::updatePageUserSheet):
(WebCore::Document::pageGroupUserSheets):
(WebCore::Document::clearPageGroupUserSheets):
(WebCore::Document::updatePageGroupUserSheets):
(WebCore::Document::findAnchor):
* dom/Document.h:
(WebCore::Document::):
(WebCore::Document::setCompatibilityModeFromDoctype):
(WebCore::Document::lockCompatibilityMode):
(WebCore::Document::compatibilityMode):
(WebCore::Document::inQuirksMode):
(WebCore::Document::inLimitedQuirksMode):
(WebCore::Document::inNoQuirksMode):
* dom/Element.cpp:
(WebCore::Element::clientWidth):
(WebCore::Element::clientHeight):
(WebCore::Element::webkitMatchesSelector):
* dom/NamedNodeMap.cpp:
(WebCore::NamedNodeMap::setClass):
* dom/Node.cpp:
(WebCore::Node::querySelector):
(WebCore::Node::querySelectorAll):
* dom/OptionElement.cpp:
(WebCore::OptionElement::collectOptionLabelOrText):
* dom/SelectorNodeList.cpp:
(WebCore::createSelectorNodeList):
* dom/StyleElement.cpp:
(WebCore::StyleElement::createSheet):
* dom/StyledElement.cpp:
(WebCore::StyledElement::createInlineStyleDecl):
(WebCore::StyledElement::parseMappedAttribute):
* editing/ReplaceSelectionCommand.cpp:
(WebCore::ReplaceSelectionCommand::shouldRemoveEndBR):
* html/HTMLBodyElement.cpp:
(WebCore::HTMLBodyElement::createLinkDecl):
* html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::getContext):
* html/HTMLConstructionSite.cpp:
(WebCore::HTMLConstructionSite::insertDoctype):
* html/HTMLDocument.cpp:
(WebCore::HTMLDocument::HTMLDocument):
(WebCore::HTMLDocument::compatMode):
(WebCore::HTMLDocument::setCompatibilityModeFromDoctype):
* html/HTMLDocument.h:
* html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::setCSSStyleSheet):
* html/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
(WebCore::HTMLTreeBuilder::FragmentParsingContext::FragmentParsingContext):
(WebCore::HTMLTreeBuilder::processDoctypeToken):
(WebCore::HTMLTreeBuilder::processStartTagForInBody):
(WebCore::HTMLTreeBuilder::defaultForInitial):
* html/HTMLViewSourceDocument.cpp:
(WebCore::HTMLViewSourceDocument::HTMLViewSourceDocument):
* loader/DocumentWriter.cpp:
(WebCore::DocumentWriter::replaceDocument):
(WebCore::DocumentWriter::reportDataReceived):
* loader/DocumentWriter.h:
* loader/ImageDocument.cpp:
(WebCore::ImageDocument::ImageDocument):
* loader/MediaDocument.cpp:
(WebCore::MediaDocument::MediaDocument):
* loader/PluginDocument.cpp:
(WebCore::PluginDocument::PluginDocument):
* loader/SinkDocument.cpp:
(WebCore::SinkDocument::SinkDocument):
* loader/TextDocument.cpp:
(WebCore::TextDocument::TextDocument):
* page/Page.cpp:
(WebCore::Page::userStyleSheetLocationChanged):
* page/PageGroup.cpp:
(WebCore::PageGroup::resetUserStyleCacheInAllFrames):
* page/Settings.cpp:
(WebCore::Settings::Settings):
(WebCore::Settings::setEnforceCSSMIMETypeInNoQuirksMode):
* page/Settings.h:
(WebCore::Settings::enforceCSSMIMETypeInNoQuirksMode):
* rendering/AutoTableLayout.cpp:
(WebCore::AutoTableLayout::recalcColumn):
* rendering/FixedTableLayout.cpp:
(WebCore::FixedTableLayout::calcPrefWidths):
* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::paintBoxDecorations):
(WebCore::InlineFlowBox::paintMask):
(WebCore::InlineFlowBox::paintTextDecorations):
* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::paint):
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::isSelfCollapsingBlock):
(WebCore::RenderBlock::collapseMargins):
(WebCore::RenderBlock::handleBottomOfBlock):
(WebCore::RenderBlock::calcInlinePrefWidths):
(WebCore::RenderBlock::calcBlockPrefWidths):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::createInlineBoxForRenderer):
(WebCore::RenderBlock::findNextLineBreak):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::calcPercentageHeight):
(WebCore::RenderBox::calcAbsoluteHorizontal):
(WebCore::RenderBox::calcAbsoluteHorizontalReplaced):
* rendering/RenderBox.h:
(WebCore::RenderBox::stretchesToViewHeight):
* rendering/RenderListItem.cpp:
(WebCore::getParentOfFirstLineBox):
* rendering/RenderTable.cpp:
(WebCore::RenderTable::layout):
* rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::calcRowHeight):
* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::verticallyAlignBoxes):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff):
* rendering/style/RenderStyle.h:
(WebCore::):
(WebCore::InheritedFlags::setBitDefaults):

WebKit/mac: 

Rename the various modes to match the HTML5 specification:
    ParseMode -> CompatibilityMode
    CompatMode -> QuirksMode
    AlmostStrictMode -> LimitedQuirksMode
    StrictMode -> NoQuirksMode
            
Remove the htmlHacks() accessor from RenderStyle and make rendering code just go to the document
instead.  This makes switching modes avoid forcing all RenderStyles to detect as changed.
        
Clean up user stylesheets to minimize style recalculation when the mode is switched.
        
Fix bugs with the propagation of correct modes in the HTML5 parser.  Make sure the
dummy document created for fragment parsing properly inherits the real document's CompatibilityMode.
Make sure the tree builder properly changes the insertion mode to "BeforeHTML" after handling
a doctype token.
        
determineParseMode -> setCompatibilityModeFromDoctype, and it now implements the HTML5 algorithm
precisely.

* WebView/WebView.mm:
(-[WebView _preferencesChangedNotification:]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-08-27  James Robinson  <jamesr@chromium.org>

        Reviewed by Darin Fisher.

        Move Texture class from p/g/chromium to p/g/gpu
        https://bugs.webkit.org/show_bug.cgi?id=44783

        This class and its support were developed in platform/graphics/chromium but are not chromium-specific
        in any way.  This patch moves them to a common location so they can be shared by all platforms.

        Pure refactor, so no new tests.

        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * platform/graphics/chromium/GLES2Canvas.cpp:
        (WebCore::GLES2Canvas::drawTexturedRect):
        (WebCore::GLES2Canvas::drawTexturedRectTile):
        (WebCore::GLES2Canvas::createTexture):
        (WebCore::GLES2Canvas::getTexture):
        * platform/graphics/chromium/GLES2Canvas.h:
        * platform/graphics/chromium/GLES2Texture.cpp: Removed.
        * platform/graphics/chromium/GLES2Texture.h: Removed.
        * platform/graphics/gpu/Texture.cpp: Added.
        (WebCore::Texture::Texture):
        (WebCore::Texture::~Texture):
        (WebCore::convertFormat):
        (WebCore::Texture::create):
        (WebCore::copySubRect):
        (WebCore::Texture::load):
        (WebCore::Texture::bindTile):
        * platform/graphics/gpu/Texture.h: Added.
        (WebCore::Texture::):
        (WebCore::Texture::format):
        (WebCore::Texture::tiles):
        * platform/graphics/gpu/TilingData.cpp: Renamed from WebCore/platform/graphics/chromium/TilingData.cpp.
        (WebCore::computeNumTiles):
        (WebCore::TilingData::TilingData):
        (WebCore::TilingData::tileXIndexFromSrcCoord):
        (WebCore::TilingData::tileYIndexFromSrcCoord):
        (WebCore::TilingData::tileBounds):
        (WebCore::TilingData::tileBoundsWithBorder):
        (WebCore::TilingData::tileBoundsNormalized):
        (WebCore::TilingData::tilePositionX):
        (WebCore::TilingData::tilePositionY):
        (WebCore::TilingData::tileSizeX):
        (WebCore::TilingData::tileSizeY):
        (WebCore::TilingData::overlappedTileIndices):
        (WebCore::TilingData::intersectDrawQuad):
        * platform/graphics/gpu/TilingData.h: Renamed from WebCore/platform/graphics/chromium/TilingData.h.
        (WebCore::TilingData::maxTextureSize):
        (WebCore::TilingData::totalSizeX):
        (WebCore::TilingData::totalSizeY):
        (WebCore::TilingData::numTiles):
        (WebCore::TilingData::numTilesX):
        (WebCore::TilingData::numTilesY):
        (WebCore::TilingData::tileIndex):
        (WebCore::TilingData::tileXIndex):
        (WebCore::TilingData::tileYIndex):
        (WebCore::TilingData::TilingData):
        (WebCore::TilingData::assertTile):
        * platform/graphics/skia/ImageSkia.cpp:
        (WebCore::drawBitmapGLES2):
        * platform/graphics/skia/PlatformContextSkia.cpp:
        (WebCore::PlatformContextSkia::uploadSoftwareToHardware):
        * platform/graphics/skia/PlatformContextSkia.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Windows build fix pt 2.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-08-27  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Dimitri Glazkov.

        [GTK] fast/history/history-subframe-with-name.html fails with GTK DRT
        https://bugs.webkit.org/show_bug.cgi?id=44784

        Skip fast/history/history-subframe-with-name.html for GTK while we figure out
        why it fails there.

        * platform/gtk/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-27  Jer Noble  <jer.noble@apple.com>

        Reviewed by Eric Carlson.

        Add JavaScript API to allow a page to go fullscreen.
        rdar://problem/6867795
        https://bugs.webkit.org/show_bug.cgi?id=43099

        * wtf/Platform.h: Enable FULLSCREEN_API mode for the Mac (except iOS).
2010-07-27  Jer Noble  <jer.noble@apple.com>

        Reviewed by Eric Carlson.

        Add JavaScript API to allow a page to go fullscreen.
        rdar://problem/6867795

        Added chrome client overrides which support entering and exiting full screen.  A new preference has
        been added (setFullScreenEnabled:) to control at runtime whether full screen support is enabled 
        (defaults to disabled).  Added a new WebKitFullScreenListener callback object which notifies WebCore
        when the chrome has started/finished its full screen animation.

        * Configurations/FeatureDefines.xcconfig:
        * WebCoreSupport/WebChromeClient.h:
        * WebCoreSupport/WebChromeClient.mm:
        (WebChromeClient::supportsFullscreenForElement):
        (WebChromeClient::enterFullscreenForElement):
        (WebChromeClient::exitFullscreenForElement):
        (-[WebKitFullScreenListener initWithElement:]):
        (-[WebKitFullScreenListener webkitWillEnterFullScreen]):
        (-[WebKitFullScreenListener webkitDidEnterFullScreen]):
        (-[WebKitFullScreenListener webkitWillExitFullScreen]):
        (-[WebKitFullScreenListener webkitDidExitFullScreen]):
        * WebView/WebPreferenceKeysPrivate.h:
        * WebView/WebPreferences.h:
        * WebView/WebPreferences.mm:
        (+[WebPreferences initialize]):
        (-[WebPreferences setFullScreenEnabled:]):
        (-[WebPreferences fullScreenEnabled]):
        * WebView/WebUIDelegatePrivate.h:
        * WebView/WebView.mm:
        (-[WebView _preferencesChangedNotification:]):
2010-07-27  Jer Noble  <jer.noble@apple.com>

        Reviewed by Eric Carlson.

        Add JavaScript API to allow a page to go fullscreen.
        rdar://problem/6867795
        https://bugs.webkit.org/show_bug.cgi?id=43099
        
        Mozilla has proposed a new set of JavaScript APIs which allow any element in
        a document to go full-screen.  The current revision of their proposal can be 
        found here:
        <https://wiki.mozilla.org/index.php?title=Gecko:FullScreenAPI&oldid=243429>
        
        The proposed specification includes the following:
        
        Document:
        - Three new methods on Document:
            + void requestFullScreen()
            + void requestFullScreenWithKeys()
            + void cancelFullScreen()
        - Three new attributes of Document:
            + readonly attribute boolean fullScreen
            + readonly attribute boolean fullScreenWithKeys
            + (optional) readonly attribute Element currentFullScreenElement
            
        Element:
        - Two new methods on Element:
            + void requestFullScreen()
            + void requestFullScreenWithKeys()
        
        Events:
        - One new event:
            + fullScreenChange
        
        CSS Pseudo-classes:
        - Three new Pseudo-classes:
            + :full-screen
            + :full-screen-doc
            + :full-screen-root-with-target
        
        For WebKit's initial implementation, all the above new APIs will be prefixed with 
        "webkit" or "-webkit" where appropriate.
        
        New tests:
        LayoutTests/fullscreen/full-screen-api.html
        LayoutTests/fullscreen/full-screen-css.html
        LayoutTests/fullscreen/full-screen-request.html

        Project file changes:
        * Configurations/FeatureDefines.xcconfig: Added an ENABLE_FULLSCREEN_API entry.
        * DerivedSources.make: Added rules for fullscreen.css and WebCore.FullScreen.exp.
        * WebCore.FullScreen.exp: Added export symbols for Document and Element functions.
        * WebCore.xcodeproj/project.pbxproj: New source files added to the project.

        IDL changes:
        * dom/Document.idl: Added the new full-screen API to the Document's javascript interface.
        * dom/Element.idl: Added the new full-screen API to the Element's javascript interface.

        Source changes:
        * bindings/objc/PublicDOMInterfaces.h: Exposed Document and Element fullscreen functions in the DOM classes.
        * css/CSSSelector.cpp: Added new FullScreen pseudo-classes.
        * css/CSSSelector.h: Added new full-screen pseudo classes to the PseudoType enum.
        * css/CSSStyleSelector.cpp: 
        (WebCore::loadFullDefaultStyle): Pull the fullscreen.css sheet into the defaultStyle and the defaultQuirksStyle sheets.
        (WebCore::loadSimpleDefaultStyle): Pull the fullscreen.css sheet into the defaultStyle sheet.
        (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector): Check for the new FullScreen pseudo classes.
        * dom/Document.cpp:
        (WebCore::Document::createEvent): Support creating a "WebKitFullScreenChange" event.
        (WebCore::Document::addListenerTypeIfNeeded): Support listening for a "webKitFullScreenChangeEvent"
        (WebCore::Document::webkitRequestFullScreenForElement): Passes request to the chrome client to enter full screen mode.
        (WebCore::Document::webkitCancelFullScreen): Passes request to the chrome client to exit full screen mode.
        (WebCore::Document::webkitWillEnterFullScreenForElement): Sets the FullScreen pseudo-classes on the full-screen element and its document.
        (WebCore::Document::webkitDidEnterFullScreenForElement): Currently a no-op.
        (WebCore::Document::webkitWillExitFullScreenForElement): Currently a no-op.
        (WebCore::Document::webkitDidExitFullScreenForElement): Clears the FullScreen pseudo-classes on the full-screen element and its document.
        * dom/Document.h: Added const accessors for new full-screen instance variables.
        (WebCore::Document::):
        (WebCore::Document::webkitIsFullScreen): Accessor for m_isFullScreen.
        (WebCore::Document::webkitIsFullScreenWithKeysEnabled): Accessor for m_isFullScren and m_areKeysEnabled.
        (WebCore::Document::webkitCurrentFullScreenElement): Accessor for m_fullScreenElement.
        * dom/Element.cpp:
        (WebCore::Element::webkitRequestFullScreen): Calls Document::webkitRequestFullScreenForElement. 
        * dom/Element.h:
        * dom/EventNames.h: Add a webkitfullscreenchange event name.
        * html/HTMLElement.cpp:
        (WebCore::HTMLElement::parseMappedAttribute): Parse the new "onwebkitfullscreenchange" attribute and register a listener.
        * page/ChromeClient.h:
        (WebCore::ChromeClient::supportsFullscreenForElement): Pass through to the current UI delegate.
        (WebCore::ChromeClient::enterFullscreenForElement): Create a WebKitFullScreenListener and pass through to the current UI delegate.
        (WebCore::ChromeClient::exitFullscreenForElement): Create a WebKitFullScreenListener and pass through to the current UI delegate.
        * page/Settings.cpp:
        (WebCore::Settings::Settings):
        * page/Settings.h: Add a new setting to control runtime support for full screen mode (defaults to off)
        * rendering/MediaControlElements.cpp:
        (WebCore::MediaControlFullscreenButtonElement::defaultEventHandler): The full screen button now toggles full screen mode (previously, it only entered).
        * rendering/style/RenderStyleConstants.h: Added new style constants.
2010-08-09  Jer Noble  <jer.noble@apple.com>

        Add JavaScript API to allow a page to go fullscreen.
        rdar://problem/6867795
        https://bugs.webkit.org/show_bug.cgi?id=43099

        New tests for the new full screen API:

        full-screen-api.html: tests for the presence of the new full screen 
            apis.
        full-screen-request.html: tests that clients can request the browser 
            enter full screen mode successfully.
        full-screen-css.html: tests that the new full screen pseudo classes are 
            applied once full screen mode is entered.
        full-screen-remove.html: tests that the document's current full screen 
            element is changed when that element is removed from the DOM tree.
        full-screen-remove-ancestor.html: tests that the document's current full 
            screen element is changed an ancestor of that element is removed 
            from the DOM tree.
        full-screen-twice.html: tests that entering full screen mode on two     
            different elements in a row does not fail.
        
        Tests that were changed:
        
        domListEnumeration.html: This test returns a specific count of 
            properties on HTML elements; after consultation with Sam Weinig (the 
            original test author), it was decided that this part of the test 
            would be very difficult to make platform specific, and that nothing 
            significant would be lost if the property count sections were 
            removed.
        
        platform/*/Skipped: Added the fullscreen/ directory to the Skipped list 
            for every platform save mac.

        * fast/dom/Window/window-properties-expected.txt: Added the new 
            properties exposed on Document and Element.
        * fast/dom/domListEnumeration-expected.txt: Removed the iteration count 
            part of this test.
        * fast/dom/script-tests/domListEnumeration.js: ""
        * fullscreen: Added.
        * platform/mac/fullscreen: Added.
        * platform/mac/fullscreen/full-screen-api-expected.txt: Added.
        * platform/mac/fullscreen/full-screen-api.html: Added.
        * platform/mac/fullscreen/full-screen-css-expected.txt: Added.
        * platform/mac/fullscreen/full-screen-css.html: Added.
        * platform/mac/fullscreen/full-screen-remove-ancestor-expected.txt: Added.
        * platform/mac/fullscreen/full-screen-remove-ancestor.html: Added.
        * platform/mac/fullscreen/full-screen-remove-expected.txt: Added.
        * platform/mac/fullscreen/full-screen-remove.html: Added.
        * platform/mac/fullscreen/full-screen-request-expected.txt: Added.
        * platform/mac/fullscreen/full-screen-request.html: Added.
        * platform/mac/fullscreen/full-screen-twice-expected.txt: Added.
        * platform/mac/fullscreen/full-screen-twice.html: Added.
2010-07-27  Jer Noble  <jer.noble@apple.com>

        Reviewed by Eric Carlson.

        Add JavaScript API to allow a page to go fullscreen.
        rdar://problem/6867795
        
        Added basic full screen support to DumpRenderTree: when a webView requests
        that DumpRenderTree go "full screen", just call the provided callback listener object's
        will/did Enter/Exit full screen methods.  Also, register a new user default which 
        enables full screen support.

        * DumpRenderTree/mac/DumpRenderTree.mm:
        (resetDefaultsToConsistentValues):
        * DumpRenderTree/mac/UIDelegate.mm:
        (-[UIDelegate webView:supportsFullscreenForElement:]):
        (-[UIDelegate webView:enterFullscreenForElement:listener:]):
        (-[UIDelegate webView:exitFullscreenForElement:listener:]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Versioning.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Try to make some xssAuditor tests less flakey.
https://bugs.webkit.org/show_bug.cgi?id=44749
        
Reviewed by Simon Fraser.

Use postMessage() to communicate to the top window each time a
beforeload event fires in the iframe. When the top window has seen a
beforeload event from each widget in the iframe, it calls notifyDone().
This prevents the test from exiting before all the widgets have had a
chance to load, therefore ensuring that all relevant XSS Auditor
messages have been emitted.

* http/tests/security/xssAuditor/object-embed-tag-control-char-expected.txt:
* http/tests/security/xssAuditor/object-embed-tag-control-char.html:
* http/tests/security/xssAuditor/object-embed-tag-expected.txt:
* http/tests/security/xssAuditor/object-embed-tag-null-char-expected.txt:
* http/tests/security/xssAuditor/object-embed-tag-null-char.html:
* http/tests/security/xssAuditor/object-embed-tag.html:
* http/tests/security/xssAuditor/object-src-inject.html:
* http/tests/security/xssAuditor/object-tag-javascript-url.html:
* http/tests/security/xssAuditor/object-tag.html:
* http/tests/security/xssAuditor/resources/echo-intertag.pl:
* http/tests/security/xssAuditor/resources/echo-object-src.pl:
* http/tests/security/xssAuditor/resources/utilities.js:
(notifyDoneAfterReceivingBeforeloadFromIds):
* platform/mac/Skipped:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66254 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-08-27  Kinuko Yasuda  <kinuko@chromium.org>

        Reviewed by Darin Fisher.

        Add AsyncFileSystem interface for platform-dependent FileSystem API implementation
        https://bugs.webkit.org/show_bug.cgi?id=44433

        No new tests; tests will be added later.

        * CMakeLists.txt:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * platform/AsyncFileSystem.cpp: Added.
        * platform/AsyncFileSystem.h: Added.
        * platform/AsyncFileSystemCallbacks.h: Added.
        * storage/DOMFileSystem.cpp:
        (WebCore::DOMFileSystem::DOMFileSystem):
        (WebCore::DOMFileSystem::~DOMFileSystem):
        (WebCore::DOMFileSystem::stop):
        (WebCore::DOMFileSystem::hasPendingActivity):
        (WebCore::DOMFileSystem::contextDestroyed):
        * storage/DOMFileSystem.h:
        (WebCore::DOMFileSystem::create):
        * storage/FileSystemCallbacks.cpp:
        (WebCore::FileSystemCallbacksBase::didFail):
        (WebCore::FileSystemCallbacks::FileSystemCallbacks):
        (WebCore::FileSystemCallbacks::didOpenFileSystem):
        * storage/FileSystemCallbacks.h:
        * storage/LocalFileSystem.cpp: Added.
        * storage/LocalFileSystem.h: Added.

        * storage/Flags.h: Nits fix.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-08-27  James Robinson  <jamesr@chromium.org>

        Reviewed by Dimitri Glazkov.

        Move Shader class from platform/graphics/chromium to platform/graphics/gpu
        https://bugs.webkit.org/show_bug.cgi?id=44793

        The Shader class and its subclasses are not chromium-specific.  This moves
        them to a common location so they can be re-used on all platforms.  Also
        moves the Shader subclasses into their own .h/.cpp files.

        Refactor, no new tests.

        * WebCore.gypi:
        * platform/graphics/chromium/GLES2Canvas.cpp:
        * platform/graphics/chromium/Shader.cpp: Removed.
        * platform/graphics/chromium/Shader.h: Removed.
        * platform/graphics/gpu/Shader.cpp: Added.
        (WebCore::Shader::affineTo3x3):
        (WebCore::Shader::loadShader):
        (WebCore::Shader::loadProgram):
        (WebCore::Shader::Shader):
        (WebCore::Shader::~Shader):
        * platform/graphics/gpu/Shader.h: Added.
        * platform/graphics/gpu/SolidFillShader.cpp: Added.
        (WebCore::SolidFillShader::SolidFillShader):
        (WebCore::SolidFillShader::create):
        (WebCore::SolidFillShader::use):
        * platform/graphics/gpu/SolidFillShader.h: Added.
        * platform/graphics/gpu/TexShader.cpp: Added.
        (WebCore::TexShader::TexShader):
        (WebCore::TexShader::create):
        (WebCore::TexShader::use):
        * platform/graphics/gpu/TexShader.h: Added.

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