WebKit.git
10 years ago2011-01-26 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Thu, 27 Jan 2011 08:32:51 +0000 (08:32 +0000)]
2011-01-26  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Dan Bernstein.

        WebKitTestRunner needs to support layoutTestController.evaluateInWebInspector
        https://bugs.webkit.org/show_bug.cgi?id=42319

        Unskip inspector tests (except the few that mysteriously fail).

        * platform/mac-wk2/Skipped:
2011-01-26  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Dan Bernstein.

        WebKitTestRunner needs to support layoutTestController.evaluateInWebInspector
        https://bugs.webkit.org/show_bug.cgi?id=42319

        Add evaluateInWebInspector and other APIs needed for inspector tests to run.

        * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
        * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
        (WTR::LayoutTestController::showWebInspector):
        (WTR::LayoutTestController::closeWebInspector):
        (WTR::LayoutTestController::evaluateInWebInspector):
        (WTR::LayoutTestController::setTimelineProfilingEnabled):
        * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
        * WebKitTestRunner/TestInvocation.cpp:
        (WTR::shouldOpenWebInspector):
        (WTR::TestInvocation::invoke):
        * WebKitTestRunner/WebKitTestRunnerPrefix.h:
2011-01-26  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Dan Bernstein.

        WebKitTestRunner needs to support layoutTestController.evaluateInWebInspector
        https://bugs.webkit.org/show_bug.cgi?id=42319

        Add WKBundleInspector and APIs needed to implement WebKitTestRunner APIs.

        * GNUmakefile.am:
        * Shared/API/c/WKBase.h:
        * Shared/APIObject.h:
        * WebKit2.pro:
        * WebKit2.xcodeproj/project.pbxproj:
        * WebProcess/InjectedBundle/API/c/WKBundleAPICast.h:
        * WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp: Added.
        (WKBundleInspectorGetTypeID):
        (WKBundleInspectorShow):
        (WKBundleInspectorClose):
        (WKBundleInspectorEvaluateScriptForTest):
        (WKBundleInspectorSetPageProfilingEnabled):
        * WebProcess/InjectedBundle/API/c/WKBundleInspector.h: Added.
        * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
        (WKBundlePageGetInspector):
        * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
        * WebProcess/WebPage/WebInspector.cpp:
        (WebKit::WebInspector::create):
        (WebKit::WebInspector::evaluateScriptForTest):
        * WebProcess/WebPage/WebInspector.h:
        (WebKit::WebInspector::type):
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::inspector):
        * WebProcess/WebPage/WebPage.h:
        * win/WebKit2.vcproj:
        * win/WebKit2Generated.make:

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

10 years agoREGRESSION (r76743): Uneven spacing in right-to-left justified text
mitz@apple.com [Thu, 27 Jan 2011 08:23:31 +0000 (08:23 +0000)]
REGRESSION (r76743): Uneven spacing in right-to-left justified text
https://bugs.webkit.org/show_bug.cgi?id=53225

Reviewed by Sam Weinig.

Fixes failure in fast/text/atsui-spacing-features.html

There was an inconsistency between rendering code and font code in the interpretation of
'after expansion' and 'trailing expansion'. Changed all code to interpret these in terms of
visual order rather than logical.

* platform/graphics/Font.cpp:
(WebCore::Font::expansionOpportunityCount): Added a text direction parameter and changed to
iterate in visual order accordingly.
* platform/graphics/Font.h:
* platform/graphics/WidthIterator.cpp:
(WebCore::WidthIterator::WidthIterator): Pass the run direction to expansionOpportunityCount().
(WebCore::WidthIterator::advance): For right-to-left runs, evaluate the trailing expansion
condition with respect to the first character, which is the trailing character in visual order.
* platform/graphics/mac/ComplexTextController.cpp:
(WebCore::ComplexTextController::ComplexTextController): Pass the run direction to
expansionOpportunityCount().
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::computeInlineDirectionPositionsForLine): Ditto.

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

10 years ago2011-01-27 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Thu, 27 Jan 2011 08:15:59 +0000 (08:15 +0000)]
2011-01-27  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed Chromium test expectation change.

        Another test expectation update for r76743.

        * platform/chromium/test_expectations.txt:

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

10 years agoUnreviewed.
ossy@webkit.org [Thu, 27 Jan 2011 07:42:42 +0000 (07:42 +0000)]
Unreviewed.

[Qt] Update test expectations after r76726.

* platform/qt/fast/lists/002-vertical-expected.checksum:
* platform/qt/fast/lists/002-vertical-expected.png:
* platform/qt/fast/lists/002-vertical-expected.txt:
* platform/qt/fast/lists/003-vertical-expected.checksum:
* platform/qt/fast/lists/003-vertical-expected.png:
* platform/qt/fast/lists/003-vertical-expected.txt:
* platform/qt/fast/overflow/overflow-rtl-vertical-expected.checksum:
* platform/qt/fast/overflow/overflow-rtl-vertical-expected.png:
* platform/qt/fast/overflow/overflow-rtl-vertical-expected.txt:
* platform/qt/fast/table/028-vertical-expected.checksum:
* platform/qt/fast/table/028-vertical-expected.png:
* platform/qt/fast/table/028-vertical-expected.txt:
* platform/qt/fast/table/border-collapsing/003-vertical-expected.checksum:
* platform/qt/fast/table/border-collapsing/003-vertical-expected.png:
* platform/qt/fast/table/border-collapsing/003-vertical-expected.txt:
* platform/qt/fast/table/height-percent-test-vertical-expected.txt:

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

10 years ago2011-01-26 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Thu, 27 Jan 2011 07:14:01 +0000 (07:14 +0000)]
2011-01-26  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed Chromium test expectation change.

        Update test expectations for r76743

        * platform/chromium-linux/css1/box_properties/clear_float-expected.checksum:
        * platform/chromium-linux/css1/box_properties/clear_float-expected.png:
        * platform/chromium-linux/css1/box_properties/float_elements_in_series-expected.checksum:
        * platform/chromium-linux/css1/box_properties/float_elements_in_series-expected.png:
        * platform/chromium-linux/css1/box_properties/float_on_text_elements-expected.checksum:
        * platform/chromium-linux/css1/box_properties/float_on_text_elements-expected.png:
        * platform/chromium-linux/css2.1/t0905-c5525-fltwidth-00-c-g-expected.checksum:
        * platform/chromium-linux/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
        * platform/chromium-linux/fast/multicol/shadow-breaking-expected.checksum:
        * platform/chromium-linux/fast/multicol/shadow-breaking-expected.png: Added.
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-1-expected.checksum:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-1-expected.png:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-10-expected.checksum:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-10-expected.png:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-2-expected.checksum:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-2-expected.png:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-3-expected.checksum:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-3-expected.png:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-4-expected.checksum:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-4-expected.png:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-5-expected.checksum:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-5-expected.png:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-6-expected.checksum:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-6-expected.png:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-7-expected.checksum:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-7-expected.png:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-8-expected.checksum:
        * platform/chromium-linux/fast/repaint/line-flow-with-floats-8-expected.png:
        * platform/chromium-linux/svg/custom/svg-fonts-in-html-expected.checksum:
        * platform/chromium-linux/svg/custom/svg-fonts-in-html-expected.png:
        * platform/chromium-linux/tables/mozilla/marvin/x_tr_align_justify-expected.checksum:
        * platform/chromium-linux/tables/mozilla/marvin/x_tr_align_justify-expected.png:
        * platform/chromium-mac/css1/box_properties/clear_float-expected.checksum: Added.
        * platform/chromium-mac/css1/box_properties/clear_float-expected.png: Added.
        * platform/chromium-mac/css1/box_properties/float_on_text_elements-expected.checksum: Added.
        * platform/chromium-mac/css1/box_properties/float_on_text_elements-expected.png: Added.
        * platform/chromium-mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png: Added.
        * platform/chromium-mac/fast/multicol/shadow-breaking-expected.checksum: Added.
        * platform/chromium-mac/fast/multicol/shadow-breaking-expected.png: Added.
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-1-expected.checksum:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-1-expected.png:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-10-expected.checksum:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-10-expected.png:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-2-expected.checksum:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-2-expected.png:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-3-expected.checksum:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-3-expected.png:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-4-expected.checksum:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-4-expected.png:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-5-expected.checksum:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-5-expected.png:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-6-expected.checksum:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-6-expected.png:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-7-expected.checksum:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-7-expected.png:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-8-expected.checksum:
        * platform/chromium-mac/fast/repaint/line-flow-with-floats-8-expected.png:
        * platform/chromium-mac/svg/custom/svg-fonts-in-html-expected.checksum:
        * platform/chromium-mac/svg/custom/svg-fonts-in-html-expected.png:
        * platform/chromium-win/css1/box_properties/clear_float-expected.checksum:
        * platform/chromium-win/css1/box_properties/clear_float-expected.png:
        * platform/chromium-win/css1/box_properties/float_elements_in_series-expected.checksum:
        * platform/chromium-win/css1/box_properties/float_elements_in_series-expected.png:
        * platform/chromium-win/css1/box_properties/float_on_text_elements-expected.checksum:
        * platform/chromium-win/css1/box_properties/float_on_text_elements-expected.png:
        * platform/chromium-win/css2.1/t0905-c5525-fltwidth-00-c-g-expected.checksum:
        * platform/chromium-win/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
        * platform/chromium-win/fast/multicol/shadow-breaking-expected.checksum:
        * platform/chromium-win/fast/multicol/shadow-breaking-expected.png:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-1-expected.checksum:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-1-expected.png:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-10-expected.checksum:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-10-expected.png:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-2-expected.checksum:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-2-expected.png:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-3-expected.checksum:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-3-expected.png:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-4-expected.checksum:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-4-expected.png:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-5-expected.checksum:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-5-expected.png:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-6-expected.checksum:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-6-expected.png:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-7-expected.checksum:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-7-expected.png:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-8-expected.checksum:
        * platform/chromium-win/fast/repaint/line-flow-with-floats-8-expected.png:
        * platform/chromium-win/svg/custom/svg-fonts-in-html-expected.checksum:
        * platform/chromium-win/svg/custom/svg-fonts-in-html-expected.png:
        * platform/chromium-win/tables/mozilla/marvin/x_tr_align_justify-expected.checksum:
        * platform/chromium-win/tables/mozilla/marvin/x_tr_align_justify-expected.png:

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

10 years agoDon't create the Direct3D device before it's first needed
aroben@apple.com [Thu, 27 Jan 2011 06:41:35 +0000 (06:41 +0000)]
Don't create the Direct3D device before it's first needed

We only need the device once we decide to render. There's no point in creating it before
then.

Reviewed by Sam Weinig.

* platform/graphics/ca/win/CACFLayerTreeHost.cpp:
(WebCore::CACFLayerTreeHost::setWindow): Removed the call to createRenderer() from here.
We already have code to create it when we first try to draw.
(WebCore::CACFLayerTreeHost::createRenderer): Flush the context after we set our layer's
bounds so that the bounds will take effect the next time we render (which could be just
after this function returns).

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

10 years agoAdd assertions that CACFLayerTreeHost gains and loses an HWND only once
aroben@apple.com [Thu, 27 Jan 2011 06:40:54 +0000 (06:40 +0000)]
Add assertions that CACFLayerTreeHost gains and loses an HWND only once

CACFLayerTreeHost doesn't support any other use pattern.

Reviewed by Sam Weinig.

* platform/graphics/ca/win/CACFLayerTreeHost.cpp:
(WebCore::CACFLayerTreeHost::CACFLayerTreeHost): Initialize new member.
(WebCore::CACFLayerTreeHost::setWindow): Assert that we transition from not having a window,
to having a window, to not having a window just once over the lifetime of this object.

* platform/graphics/ca/win/CACFLayerTreeHost.h: Added m_state.

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

10 years agoNotify layers that their animations have started when we flush the context, not when...
aroben@apple.com [Thu, 27 Jan 2011 06:40:14 +0000 (06:40 +0000)]
Notify layers that their animations have started when we flush the context, not when we render

r76372 separated context flushing from rendering, but this bit of code got left behind.

Reviewed by Sam Weinig.

* platform/graphics/ca/win/CACFLayerTreeHost.cpp:
(WebCore::CACFLayerTreeHost::render): Moved code to notify the layers from here to
notifyAnimationsStarted.
(WebCore::CACFLayerTreeHost::flushPendingLayerChangesNow): Added a call to
notifyAnimationsStarted after we flush the context.
(WebCore::CACFLayerTreeHost::notifyAnimationsStarted): Added. Code came from render. Changed
to call PlatformCALayer::animationStarted rather than calling through to the client
directly.

* platform/graphics/ca/win/CACFLayerTreeHost.h: Added notifyAniamtionsStarted.

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

10 years agoSmall cleanup in MediaPlayerPrivateFullscreenWindow
aroben@apple.com [Thu, 27 Jan 2011 06:39:12 +0000 (06:39 +0000)]
Small cleanup in MediaPlayerPrivateFullscreenWindow

Reviewed by Sam Weinig.

* platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:
(WebCore::MediaPlayerPrivateFullscreenWindow::~MediaPlayerPrivateFullscreenWindow): Moved
code here from close(), since this was the only place that called it after the following
change to createWindow.
(WebCore::MediaPlayerPrivateFullscreenWindow::createWindow): Replaced code that handled the
case where we had already created the window with an assertion that we have not already done
so. Our single caller (FullscreenVideoController) did not require this behavior.

* platform/graphics/win/MediaPlayerPrivateFullscreenWindow.h: Removed layerView.

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

10 years agoUpdated results for the html.css changes in r76726. The old results were prepared...
mitz@apple.com [Thu, 27 Jan 2011 06:31:58 +0000 (06:31 +0000)]
Updated results for the html.css changes in r76726. The old results were prepared before
r76726.

* platform/mac/fast/text/justify-ideograph-vertical-expected.checksum:
* platform/mac/fast/text/justify-ideograph-vertical-expected.png:
* platform/mac/fast/text/justify-ideograph-vertical-expected.txt:

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

10 years ago2011-01-26 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Thu, 27 Jan 2011 06:30:53 +0000 (06:30 +0000)]
2011-01-26  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed Chromium test expectation change.

        fast/text/justify-ideograph-vertical.html crashes on LINUX.

        * platform/chromium/test_expectations.txt:

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

10 years ago2011-01-26 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Thu, 27 Jan 2011 05:59:31 +0000 (05:59 +0000)]
2011-01-26  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed Chromium test expectation change.

        Mark the tests started failing at http://trac.webkit.org/changeset/76726 as such.

        * platform/chromium/test_expectations.txt:

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

10 years agoMove ScrollView scroll wheel code to ScrollAnimator.
weinig@apple.com [Thu, 27 Jan 2011 05:12:24 +0000 (05:12 +0000)]
Move ScrollView scroll wheel code to ScrollAnimator.

Reviewed by Adam Roben.

* platform/ScrollAnimator.cpp:
(WebCore::ScrollAnimator::handleWheelEvent):
* platform/ScrollAnimator.h:
Moved implementation of handleWheelEvent from ScrollView::wheelEvent.

* platform/ScrollView.cpp:
(WebCore::ScrollView::wheelEvent):
Call down to the ScrollableArea.

* platform/ScrollableArea.cpp:
(WebCore::ScrollableArea::handleWheelEvent):
Call down to the ScrollAnimator.

* platform/ScrollableArea.h:
(WebCore::ScrollableArea::scrollPosition):
(WebCore::ScrollableArea::minimumScrollPosition):
(WebCore::ScrollableArea::maximumScrollPosition):
(WebCore::ScrollableArea::visibleContentRect):
(WebCore::ScrollableArea::visibleHeight):
(WebCore::ScrollableArea::visibleWidth):
Add functions needed to implement wheel event in the animator.

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

10 years ago<http://webkit.org/b/53192> Add experimental support for HTTP pipelining in CFNetwork
ddkilzer@apple.com [Thu, 27 Jan 2011 04:57:01 +0000 (04:57 +0000)]
<webkit.org/b/53192> Add experimental support for HTTP pipelining in CFNetwork
<rdar://problem/8821760>

Reviewed by Antti Koivisto.

Source/WebCore:

This adds support for HTTP pipelining in CFNetwork, but does not
enable it.  To enable it post-SnowLeopard, use this command:

    defaults write BUNDLE.ID WebKitEnableHTTPPipelining -bool YES

Once enabled, it is possible to force the same load priority
(high) to be sent to CFNetwork to allow WebCore to handle the
scheduling:

    defaults write BUNDLE.ID WebKitForceHTTPPipeliningPriorityHigh -bool YES

* WebCore.exp.in: Export _wkGetHTTPPipeliningPriority and
_wkSetHTTPPipeliningPriority.

* loader/DocumentThreadableLoader.cpp:
(WebCore::DocumentThreadableLoader::makeCrossOriginAccessRequestWithPreflight):
Copy the priority to preflightRequest.

* loader/ResourceLoadScheduler.cpp:
(WebCore::ResourceLoadScheduler::scheduleLoad): Refactored code
at the end of the method to use an early return.

* loader/cache/CachedResourceRequest.cpp:
(WebCore::CachedResourceRequest::load): Set the priority on the
ResourceRequest object based on the priority of the
CachedResourceRequest before calling
ResourceLoadScheduler::scheduleSubresourceLoad().

* loader/icon/IconLoader.cpp:
(WebCore::IconLoader::startLoading): Create a ResourceRequest
object and set its priority to ResourceLoadPriorityLow before
passing it to ResourceLoadScheduler::scheduleSubresourceLoad().

* platform/mac/WebCoreSystemInterface.h:
(wkGetHTTPPipeliningPriority): Added.
(wkSetHTTPPipeliningPriority): Added.
* platform/mac/WebCoreSystemInterface.mm:
(wkGetHTTPPipeliningPriority): Added.
(wkSetHTTPPipeliningPriority): Added.

* platform/network/ResourceRequestBase.cpp:
(WebCore::ResourceRequestBase::adopt): Set m_priority when
adopting a CrossThreadResourceRequestData.
(WebCore::ResourceRequestBase::copyData): Set m_priority when
creating a CrossThreadResourceRequestData.
(WebCore::ResourceRequestBase::priority): Added.
(WebCore::ResourceRequestBase::setPriority): Added.
(WebCore::equalIgnoringHeaderFields): Priorities must match when
comparing two ResourceRequest objects.

* platform/network/ResourceRequestBase.h:
(WebCore::ResourceRequestBase::ResourceRequestBase): Set default
priority of new objects to ResourceLoadPriorityLow.
(WebCore::ResourceRequestBase::priority): Added declaration.
(WebCore::ResourceRequestBase::setPriority): Added declaration.
(WebCore::isHTTPPipeliningEnabled): Added.
(WebCore::shouldUseHTTPPipeliningPriority): Added.

* platform/network/cf/ResourceRequestCFNet.cpp: Updated so that
Mac OS X and Windows share code.
(WebCore::initializeMaximumHTTPConnectionCountPerHost): Always
set the HTTP connection count per host, but return an
'unlimited' value when using HTTP pipelining.  This method used
to be defined in ResourceRequestMac.mm for Mac OS X.
(WebCore::readBooleanPreference): Added.  Helper method for
reading boolean user defaults.
(WebCore::isHTTPPipeliningEnabled): Returns value of user
default key WebKitEnableHTTPPipelining, or false if not set.
(WebCore::shouldUseHTTPPipeliningPriority): Returns value of
user default key WebKitForceHTTPPipeliningPriorityHigh, or false
if not set.
* platform/network/cf/ResourceRequestCFNet.h: Updated so that
Mac OS X and Windows share code.  Fixed indentation.
(WebCore::mapHTTPPipeliningPriorityToResourceLoadPriority): Added.
(WebCore::mapResourceLoadPriorityToHTTPPipeliningPriority): Added.

* platform/network/mac/ResourceRequestMac.mm:
(WebCore::ResourceRequest::doUpdatePlatformRequest): Update
HTTP pipelining priority on NSMutableFURLRequest object.
(WebCore::ResourceRequest::doUpdateResourceRequest): Update
m_priority from the NSURLRequest object.
(WebCore::initializeMaximumHTTPConnectionCountPerHost): Removed.
Code is now shared with Windows in ResourceRequestCFNet.cpp.

Source/WebKit/mac:

* WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface): Added initialization for
GetHTTPPipeliningPriority and SetHTTPPipeliningPriority.

Source/WebKit2:

* WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface): Added initialization for
GetHTTPPipeliningPriority and SetHTTPPipeliningPriority.

WebKitLibraries:

* WebKitSystemInterface.h:
    New methods added for HTTP pipelining support.
(WKGetHTTPPipeliningPriority): Added.
(WKSetHTTPPipeliningPriority): Added.
    Unrelated methods added after updating the header.
(WKMakeScrollbarPainter): Added.
(WKScrollbarPainterPaint): Added.
* libWebKitSystemInterfaceLeopard.a: Updated.
* libWebKitSystemInterfaceSnowLeopard.a: Updated.

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

10 years ago2011-01-26 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 27 Jan 2011 04:36:15 +0000 (04:36 +0000)]
2011-01-26  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed Chromium Mac rebaselines for r76726.

        * platform/chromium-mac/fast/blockflow/vertical-baseline-alignment-expected.checksum: Added.
        * platform/chromium-mac/fast/blockflow/vertical-baseline-alignment-expected.png: Added.
        * platform/chromium-mac/fast/multicol/vertical-rl: Added.
        * platform/chromium-mac/fast/multicol/vertical-rl/column-break-with-balancing-expected.txt: Added.
        * platform/chromium-mac/fast/table/028-vertical-expected.checksum: Added.
        * platform/chromium-mac/fast/table/028-vertical-expected.png: Added.
        * platform/chromium-mac/fast/text/complex-text-opacity-expected.checksum: Added.
        * platform/chromium-mac/fast/text/complex-text-opacity-expected.png: Added.

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

10 years agoFix for <rdar://problem/8895140> Adopt WKScrollbar metrics
bdakin@apple.com [Thu, 27 Jan 2011 04:08:49 +0000 (04:08 +0000)]
Fix for <rdar://problem/8895140> Adopt WKScrollbar metrics
when using WKScrollbars.

Reviewed by Darin Adler.

Source/WebCore:

New WebKitSystemInterface Functionality.
* WebCore.exp.in:
* platform/mac/WebCoreSystemInterface.h:
* platform/mac/WebCoreSystemInterface.mm:

Some of the terrible static arrays are now only needed in the
old non-WK code, so they are if-def'd now.
* platform/mac/ScrollbarThemeMac.mm:

Just patching this function in a better way than I did
before.
(WebCore::updateArrowPlacement):

Call into WK for the right values.
(WebCore::ScrollbarThemeMac::scrollbarThickness):
(WebCore::ScrollbarThemeMac::hasThumb):
(WebCore::ScrollbarThemeMac::minimumThumbLength):

Return false if there are no buttons.
(WebCore::ScrollbarThemeMac::hasButtons):

Return an empty IntRect if there are not buttons.
(WebCore::buttonRepaintRect):

Source/WebKit/mac:

* WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

Source/WebKit2:

* WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

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

10 years ago2011-01-26 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 27 Jan 2011 04:07:39 +0000 (04:07 +0000)]
2011-01-26  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed Chromium Windows/Linux rebaselines for r76726.

        * platform/chromium-linux/fast/multicol/vertical-rl/float-multicol-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/float-multicol-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/float-paginate-complex-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/float-paginate-complex-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/float-paginate-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/float-paginate-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/nested-columns-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/nested-columns-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/unsplittable-inline-block-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png: Added.
        * platform/chromium-linux/fast/table/028-vertical-expected.checksum:
        * platform/chromium-linux/fast/table/028-vertical-expected.png:
        * platform/chromium-linux/fast/table/border-collapsing/003-vertical-expected.checksum:
        * platform/chromium-linux/fast/table/border-collapsing/003-vertical-expected.png:
        * platform/chromium-win/fast/multicol/vertical-rl/float-multicol-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/float-multicol-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/float-multicol-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-complex-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-complex-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-complex-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/nested-columns-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/nested-columns-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/nested-columns-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/unsplittable-inline-block-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/unsplittable-inline-block-expected.txt: Added.
        * platform/chromium-win/fast/table/028-vertical-expected.checksum:
        * platform/chromium-win/fast/table/028-vertical-expected.png:
        * platform/chromium-win/fast/table/028-vertical-expected.txt:
        * platform/chromium-win/fast/table/border-collapsing/003-vertical-expected.checksum:
        * platform/chromium-win/fast/table/border-collapsing/003-vertical-expected.png:
        * platform/chromium-win/fast/table/border-collapsing/003-vertical-expected.txt:

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

10 years ago2011-01-26 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 27 Jan 2011 04:04:49 +0000 (04:04 +0000)]
2011-01-26  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed Chromium Windows/Linux rebaselines for r76726.

        * platform/chromium-linux/fast/multicol/vertical-lr/float-paginate-complex-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/float-paginate-complex-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/float-paginate-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/float-paginate-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/nested-columns-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/nested-columns-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/unsplittable-inline-block-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/unsplittable-inline-block-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/border-padding-pagination-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/border-padding-pagination-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/column-break-with-balancing-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/column-break-with-balancing-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/column-count-with-rules-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/column-count-with-rules-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/column-rules-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/column-rules-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/float-avoidance-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-rl/float-avoidance-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/float-paginate-complex-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/float-paginate-complex-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/float-paginate-complex-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/float-paginate-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/float-paginate-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/float-paginate-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/nested-columns-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/nested-columns-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/nested-columns-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/unsplittable-inline-block-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/unsplittable-inline-block-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/unsplittable-inline-block-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-rl: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/border-padding-pagination-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/border-padding-pagination-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/border-padding-pagination-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/column-break-with-balancing-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/column-break-with-balancing-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/column-break-with-balancing-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/column-count-with-rules-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/column-count-with-rules-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/column-count-with-rules-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/column-rules-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/column-rules-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/column-rules-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/float-avoidance-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/float-avoidance-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-rl/float-avoidance-expected.txt: Added.

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

10 years ago2011-01-26 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 27 Jan 2011 03:59:59 +0000 (03:59 +0000)]
2011-01-26  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed Chromium Windows/Linux rebaselines for r76726.

        * platform/chromium-linux/fast/blockflow/vertical-baseline-alignment-expected.checksum:
        * platform/chromium-linux/fast/blockflow/vertical-baseline-alignment-expected.png:
        * platform/chromium-linux/fast/lists/002-vertical-expected.checksum:
        * platform/chromium-linux/fast/lists/002-vertical-expected.png:
        * platform/chromium-linux/fast/lists/002-vertical-expected.txt: Removed.
        * platform/chromium-linux/fast/lists/003-vertical-expected.checksum:
        * platform/chromium-linux/fast/lists/003-vertical-expected.png:
        * platform/chromium-linux/fast/multicol/vertical-lr: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/border-padding-pagination-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/border-padding-pagination-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/column-break-with-balancing-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/column-break-with-balancing-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/column-count-with-rules-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/column-count-with-rules-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/column-rules-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/column-rules-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/float-avoidance-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/float-avoidance-expected.png: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/float-multicol-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/vertical-lr/float-multicol-expected.png: Added.
        * platform/chromium-win/fast/blockflow/vertical-baseline-alignment-expected.checksum:
        * platform/chromium-win/fast/blockflow/vertical-baseline-alignment-expected.png:
        * platform/chromium-win/fast/blockflow/vertical-baseline-alignment-expected.txt:
        * platform/chromium-win/fast/lists/002-vertical-expected.checksum:
        * platform/chromium-win/fast/lists/002-vertical-expected.png:
        * platform/chromium-win/fast/lists/002-vertical-expected.txt:
        * platform/chromium-win/fast/lists/003-vertical-expected.checksum:
        * platform/chromium-win/fast/lists/003-vertical-expected.png:
        * platform/chromium-win/fast/lists/003-vertical-expected.txt:
        * platform/chromium-win/fast/multicol/vertical-lr: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/border-padding-pagination-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/border-padding-pagination-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/border-padding-pagination-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/column-break-with-balancing-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/column-break-with-balancing-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/column-break-with-balancing-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/column-count-with-rules-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/column-count-with-rules-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/column-count-with-rules-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/column-rules-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/column-rules-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/column-rules-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/float-avoidance-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/float-avoidance-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/float-avoidance-expected.txt: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/float-multicol-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/float-multicol-expected.png: Added.
        * platform/chromium-win/fast/multicol/vertical-lr/float-multicol-expected.txt: Added.

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

10 years agoRebaseline Windows fast/blockfow results after r76726.
bweinstein@apple.com [Thu, 27 Jan 2011 03:13:40 +0000 (03:13 +0000)]
Rebaseline Windows fast/blockfow results after r76726.

* platform/win/fast/blockflow/Kusa-Makura-background-canvas-expected.txt:
* platform/win/fast/blockflow/vertical-baseline-alignment-expected.txt:

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

10 years ago2011-01-26 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 27 Jan 2011 02:46:02 +0000 (02:46 +0000)]
2011-01-26  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Pixel dumps do not include scrollbars in output images
        https://bugs.webkit.org/show_bug.cgi?id=53216

        Update expected results which should show scrollbars.

        * platform/gtk/css2.1/t0803-c5502-mrgn-r-02-c-expected.checksum:
        * platform/gtk/css2.1/t0803-c5502-mrgn-r-02-c-expected.png:
        * platform/gtk/css2.1/t0803-c5505-mrgn-02-c-expected.checksum:
        * platform/gtk/css2.1/t0803-c5505-mrgn-02-c-expected.png:
        * platform/gtk/css2.1/t080301-c411-vt-mrgn-00-b-expected.checksum:
        * platform/gtk/css2.1/t080301-c411-vt-mrgn-00-b-expected.png:
        * platform/gtk/css2.1/t0905-c5525-fltclr-00-c-ag-expected.checksum:
        * platform/gtk/css2.1/t0905-c5525-fltclr-00-c-ag-expected.png:
        * platform/gtk/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.checksum:
        * platform/gtk/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.png:
        * platform/gtk/css2.1/t0905-c5525-fltwidth-00-c-g-expected.checksum:
        * platform/gtk/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
        * platform/gtk/css2.1/t0905-c5526-fltclr-00-c-ag-expected.checksum:
        * platform/gtk/css2.1/t0905-c5526-fltclr-00-c-ag-expected.png:
        * platform/gtk/css2.1/t1002-c5523-width-02-b-g-expected.checksum:
        * platform/gtk/css2.1/t1002-c5523-width-02-b-g-expected.png:
        * platform/gtk/css2.1/t1202-counters-08-b-expected.checksum:
        * platform/gtk/css2.1/t1202-counters-08-b-expected.png:
        * platform/gtk/css2.1/t1202-counters-09-b-expected.checksum:
        * platform/gtk/css2.1/t1202-counters-09-b-expected.png:
        * platform/gtk/css2.1/t140201-c535-bg-fixd-00-b-g-expected.checksum:
        * platform/gtk/css2.1/t140201-c535-bg-fixd-00-b-g-expected.png:
        * platform/gtk/css2.1/t140201-c537-bgfxps-00-c-ag-expected.checksum:
        * platform/gtk/css2.1/t140201-c537-bgfxps-00-c-ag-expected.png:
        * platform/gtk/css2.1/t1508-c527-font-07-b-expected.checksum:
        * platform/gtk/css2.1/t1508-c527-font-07-b-expected.png:
2011-01-26  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Pixel dumps do not include scrollbars in output images
        https://bugs.webkit.org/show_bug.cgi?id=53216

        Show scrollbars in pixel dumps. This will fix pixel dumps for tests
        that have scrollbars.

        * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
        (createBitmapContextFromWebView): Take the snapshot of the containing GtkScrolledWindow
        instead of the web view itself.

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

10 years ago2011-01-26 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 27 Jan 2011 02:20:52 +0000 (02:20 +0000)]
2011-01-26  Martin Robinson  <mrobinson@igalia.com>

        [GTK] Text input controls do not react properly to CSS styling
        https://bugs.webkit.org/show_bug.cgi?id=40855

        Unskip tests which were previously skipped due to issue #40855.
        The bug is closed now, so it's safe to rebaseline the tests and
        unskip them.

        * platform/gtk/Skipped: Unskip tests.
        * platform/gtk/fast/forms/basic-selects-expected.checksum:
        * platform/gtk/fast/forms/basic-selects-expected.png:
        * platform/gtk/fast/forms/basic-selects-expected.txt:
        * platform/gtk/fast/forms/basic-textareas-quirks-expected.checksum:
        * platform/gtk/fast/forms/basic-textareas-quirks-expected.png:
        * platform/gtk/fast/forms/basic-textareas-quirks-expected.txt:

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

10 years ago2011-01-26 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 27 Jan 2011 02:02:00 +0000 (02:02 +0000)]
2011-01-26  Martin Robinson  <mrobinson@igalia.com>

        [GTK] media/unsupported-rtsp.html fails after timing out
        https://bugs.webkit.org/show_bug.cgi?id=53056

        * platform/gtk/Skipped: Update the skipped list to explain why this
        test is skipped and should remain skipped.

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

10 years ago2011-01-26 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 27 Jan 2011 02:01:43 +0000 (02:01 +0000)]
2011-01-26  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Mihai Parparita.

        Fix regression introduced in r76322 ... new-run-webkit-tests
        was attempting to save the image diff output as a UTF-8-encoded
        file.

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

        * Scripts/webkitpy/layout_tests/port/webkit.py:

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

10 years agoAdd events to represent the start/end of a gesture scroll
weinig@apple.com [Thu, 27 Jan 2011 01:55:07 +0000 (01:55 +0000)]
Add events to represent the start/end of a gesture scroll
https://bugs.webkit.org/show_bug.cgi?id=53215

Reviewed by Maciej Stachowiak.

Source/JavaScriptCore:

* wtf/Platform.h: Add ENABLE for gesture events.

Source/WebCore:

* WebCore.exp.in:
Add new file.

* WebCore.xcodeproj/project.pbxproj:
Add new file.

* page/EventHandler.cpp:
(WebCore::EventHandler::handleGestureEvent):
* page/EventHandler.h:
Add entry point for handling gesture events.

* platform/PlatformGestureEvent.h: Added.
(WebCore::PlatformGestureEvent::PlatformGestureEvent):
(WebCore::PlatformGestureEvent::type):
(WebCore::PlatformGestureEvent::position):
(WebCore::PlatformGestureEvent::globalPosition):
(WebCore::PlatformGestureEvent::timestamp):
Add platform agnostic representation of a gesture event.

Source/WebKit2:

* Scripts/webkit2/messages.py:
* Shared/WebEvent.h:
(WebKit::WebGestureEvent::WebGestureEvent):
(WebKit::WebGestureEvent::position):
(WebKit::WebGestureEvent::globalPosition):
* Shared/WebEventConversion.cpp:
(WebKit::WebKit2PlatformGestureEvent::WebKit2PlatformGestureEvent):
(WebKit::platform):
* Shared/WebEventConversion.h:
* Shared/WebGestureEvent.cpp: Added.
(WebKit::WebGestureEvent::WebGestureEvent):
(WebKit::WebGestureEvent::encode):
(WebKit::WebGestureEvent::decode):
(WebKit::WebGestureEvent::isGestureEventType):
* Shared/mac/WebEventFactory.h:
* Shared/mac/WebEventFactory.mm:
(WebKit::gestureEventTypeForEvent):
(WebKit::WebEventFactory::createWebGestureEvent):
* UIProcess/API/mac/WKView.mm:
(-[WKView shortCircuitedEndGestureWithEvent:]):
(-[WKView beginGestureWithEvent:]):
(-[WKView viewDidMoveToWindow]):
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::handleGestureEvent):
(WebKit::WebPageProxy::didReceiveEvent):
* UIProcess/WebPageProxy.h:
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::handleGestureEvent):
(WebKit::WebPage::gestureEvent):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:
Pipe gesture events down to WebCore.

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

10 years ago2011-01-26 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Thu, 27 Jan 2011 01:45:56 +0000 (01:45 +0000)]
2011-01-26  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        [Chromium] WebFrame::forms() should not return empty WebFormElements
        https://bugs.webkit.org/show_bug.cgi?id=53204

        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::forms):
         - Should iterate by forms->length(), not the number of HTMLElements.
         - Do not increment the index for "temp" if a node is not an HTMLElement.

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

10 years ago<rdar://problem/8446709> Allow inter-ideograph justification for CJK
mitz@apple.com [Thu, 27 Jan 2011 01:39:27 +0000 (01:39 +0000)]
<rdar://problem/8446709> Allow inter-ideograph justification for CJK
https://bugs.webkit.org/show_bug.cgi?id=53184

Reviewed by Dave Hyatt.

Source/WebCore:

Tests: fast/text/justify-ideograph-complex.html
       fast/text/justify-ideograph-simple.html
       fast/text/justify-ideograph-vertical.html

* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::drawTextInternal): Corrected the type of the third parameter
passed to the TextRun constructor and added the trailingExpansionBehavior parameter.
* platform/graphics/Font.cpp:
(WebCore::Font::expansionOpportunityCount): Added. Returns the number of expansion opportunities
for text justification. On entry, isAfterExpansion says whether an expansion opportunity exists
before the first character. On return, isAfterExpansion says whether an expansion opportunity
exists after the last character.
* platform/graphics/Font.h:
* platform/graphics/GlyphBuffer.h:
(WebCore::GlyphBuffer::expandLastAdvance): Added.
* platform/graphics/TextRun.h:
(WebCore::TextRun::TextRun): Added a TrailingExpansionBehavior parameter to the constructors.
Renamed padding to expansion.
(WebCore::TextRun::expansion): Renamed padding() to this.
(WebCore::TextRun::allowsTrailingExpansion): Added this accessor.
* platform/graphics/WidthIterator.cpp:
(WebCore::WidthIterator::WidthIterator): Initialize m_isAfterExpansion. Use Font::expansionOpportunityCount()
and adjust the count if it includes a trailing expansion opportunity but the run disallows trailing
expansion.
(WebCore::WidthIterator::advance): Apply expansion before and after CJK ideographs.
(WebCore::WidthIterator::advanceOneCharacter): Changed to not clear the GlyphBuffer so that advance()
can expand the last advance if it is followed by a CJK ideograph.
* platform/graphics/WidthIterator.h: Renamed m_padding to m_expansion and m_padPerSpace
to m_expansionPerOpportunity.
* platform/graphics/chromium/FontChromiumWin.cpp:
(WebCore::Font::canExpandAroundIdeographsInComplexText): Added.
* platform/graphics/chromium/FontLinux.cpp:
(WebCore::Font::canExpandAroundIdeographsInComplexText): Added.
* platform/graphics/efl/FontEfl.cpp:
(WebCore::Font::canExpandAroundIdeographsInComplexText): Added.
* platform/graphics/gtk/FontGtk.cpp:
(WebCore::Font::canExpandAroundIdeographsInComplexText): Added.
* platform/graphics/haiku/FontHaiku.cpp:
(WebCore::Font::canExpandAroundIdeographsInComplexText): Added.
* platform/graphics/mac/ComplexTextController.cpp:
(WebCore::ComplexTextController::ComplexTextController): Initialize m_isAfterExpansion. Use
Font::expansionOpportunityCount() and adjust the count if it includes a trailing expansion
opportunity but the run disallows trailing expansion.
(WebCore::ComplexTextController::adjustGlyphsAndAdvances): Moved the definition and initialization
of hasExtraSpacing outside the loop. Apply expansion before and after CJK ideographs.
* platform/graphics/mac/ComplexTextController.h: Renamed m_padding to m_expansion and m_padPerSpace
to m_expansionPerOpportunity.
* platform/graphics/mac/FontMac.mm:
(WebCore::Font::canExpandAroundIdeographsInComplexText): Added.
* platform/graphics/qt/FontQt.cpp:
(WebCore::Font::canExpandAroundIdeographsInComplexText): Added.
* platform/graphics/win/FontWin.cpp:
(WebCore::Font::canExpandAroundIdeographsInComplexText): Added.
* platform/graphics/win/UniscribeController.cpp:
(WebCore::UniscribeController::UniscribeController): Updated for rename.
* platform/graphics/wince/FontWinCE.cpp:
(WebCore::Font::canExpandAroundIdeographsInComplexText): Added.
* platform/graphics/wx/FontWx.cpp:
(WebCore::Font::canExpandAroundIdeographsInComplexText): Added.
* rendering/EllipsisBox.cpp:
(WebCore::EllipsisBox::paint): Pass a TrailingExpansionBehavior to the TextRun constructor.
(WebCore::EllipsisBox::selectionRect): Ditto.
(WebCore::EllipsisBox::paintSelection): Ditto.
* rendering/InlineBox.h:
(WebCore::InlineBox::InlineBox): Renamed m_toAdd to m_expansion.
(WebCore::InlineBox::expansion): Renamed toAdd() to this.
* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::selectionRect): Pass a TrailingExpansionBehavior to the TextRun constructor.
(WebCore::InlineTextBox::paint): Ditto.
(WebCore::InlineTextBox::paintSelection): Ditto.
(WebCore::InlineTextBox::paintCompositionBackground): Ditto.
(WebCore::InlineTextBox::paintSpellingOrGrammarMarker): Ditto.
(WebCore::InlineTextBox::paintTextMatchMarker): Ditto.
(WebCore::InlineTextBox::computeRectForReplacementMarker): Ditto.
(WebCore::InlineTextBox::offsetForPosition): Ditto.
(WebCore::InlineTextBox::positionForOffset): Ditto.
* rendering/InlineTextBox.h:
(WebCore::InlineTextBox::setExpansion): Renamed setSpaceAdd() to this.
(WebCore::InlineTextBox::trailingExpansionBehavior): Added. Trailing expansion is allowed if this
is not the last leaf box on the line.
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::computeInlineDirectionPositionsForLine): Keep expansion opportunity counts
in a vector instead of computing them twice. Discard the trailing expansion opportunity in the
last text box.
* rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::paintObject): Pass a TrailingExpansionBehavior to the TextRun constructor.
(WebCore::RenderFileUploadControl::computePreferredLogicalWidths): Ditto.
* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::updateFromElement): Ditto.
(WebCore::RenderListBox::paintItemForeground): Ditto. Also corrected the type of the second parameter.
* rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::getAvgCharWidth): Ditto.
(WebCore::RenderTextControl::paintPlaceholder): Ditto.
* rendering/svg/SVGInlineTextBox.cpp:
(WebCore::SVGInlineTextBox::constructTextRun): Ditto.

Source/WebKit/chromium:

* src/WebTextRun.cpp:
(WebKit::WebTextRun::operator WebCore::TextRun): Added a TrailingExpansionBehavior parameter to the
RenderText constructor.

Source/WebKit2:

* WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp:
(WebKit::WebPopupMenu::setUpPlatformData): Added a TrailingExpansionBehavior parameter to the
RenderText constructor.

LayoutTests:

* fast/text/justify-ideograph-complex.html: Added.
* fast/text/justify-ideograph-simple.html: Added.
* fast/text/justify-ideograph-vertical.html: Added.
* platform/mac/fast/text/justify-ideograph-complex-expected.checksum: Added.
* platform/mac/fast/text/justify-ideograph-complex-expected.png: Added.
* platform/mac/fast/text/justify-ideograph-complex-expected.txt: Added.
* platform/mac/fast/text/justify-ideograph-simple-expected.checksum: Added.
* platform/mac/fast/text/justify-ideograph-simple-expected.png: Added.
* platform/mac/fast/text/justify-ideograph-simple-expected.txt: Added.
* platform/mac/fast/text/justify-ideograph-vertical-expected.checksum: Added.
* platform/mac/fast/text/justify-ideograph-vertical-expected.png: Added.
* platform/mac/fast/text/justify-ideograph-vertical-expected.txt: Added.

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

10 years agoMethods to temporarily disable size updates to the page drawing area in WKView.
mitz@apple.com [Thu, 27 Jan 2011 01:34:54 +0000 (01:34 +0000)]
Methods to temporarily disable size updates to the page drawing area in WKView.
https://bugs.webkit.org/show_bug.cgi?id=53206
Part of <rdar://problem/8818585>

Patch by Jing Jin <jjin@apple.com> on 2011-01-26
Reviewed by Darin Adler.

* UIProcess/API/mac/WKView.h: Added _frameSizeUpdateDisabledCount.
* UIProcess/API/mac/WKView.mm:
(-[WKView setFrameSize:]): Only update page size if frame size updates are enabled.
(-[WKView _setDrawingAreaSize:]): Helper method to set the page's drawing area's size.
(-[WKView disableFrameSizeUpdates]): Increment _frameSizeUpdateDisabledCount
(-[WKView enableFrameSizeUpdates]): Decrement _frameSizeUpdateDisabledCount, and if the count is 0, meaning
that no one is disabling frame size updates anymore, update the drawing area's size to match the current frame.
(-[WKView frameSizeUpdatesDisabled]): Returns YES if at least one caller is disabling frame size updates.
* UIProcess/API/mac/WKViewInternal.h: Declared -disableFrameSizeUpdates, -enableFrameSizeUpdates, and -frameSizeUpdatesDisabled.
* UIProcess/API/mac/WKViewPrivate.h: Added.
* WebKit2.xcodeproj/project.pbxproj: Added WKViewPrivate.h

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

10 years agoSeveral WKView Internal category methods are implemented in the main category.
mitz@apple.com [Thu, 27 Jan 2011 01:32:37 +0000 (01:32 +0000)]
Several WKView Internal category methods are implemented in the main category.
https://bugs.webkit.org/show_bug.cgi?id=53195

Patch by Jing Jin <jjin@apple.com> on 2011-01-26
Rubber-stamped by Dan Bernstein.

* UIProcess/API/mac/WKView.mm:
(-[WKView _setEventBeingResent:]): Moved into implementation of WKView (Internal).
(-[WKView _interceptKeyEvent:]): Moved into implementation of WKView (Internal).
(-[WKView _getTextInputState:selectionEnd:underlines:WebCore::]): Moved into implementation of WKView (Internal).
(-[WKView _setAccessibilityChildToken:]): Moved into implementation of WKView (Internal).

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

10 years ago2011-01-26 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 27 Jan 2011 01:12:07 +0000 (01:12 +0000)]
2011-01-26  Martin Robinson  <mrobinson@igalia.com>

        Add the final set of CSS 2.1 GTK+ baselines.

        * platform/gtk/Skipped: Unskip the remaining CSS 2.1 tests.
        * platform/gtk/css2.1: Add the remaining baselines.

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

10 years agoUpdate fast/text/text-letter-spacing.html since it progressed.
hyatt@apple.com [Thu, 27 Jan 2011 01:09:57 +0000 (01:09 +0000)]
Update fast/text/text-letter-spacing.html since it progressed.

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

10 years ago2011-01-26 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 27 Jan 2011 01:06:05 +0000 (01:06 +0000)]
2011-01-26  Martin Robinson  <mrobinson@igalia.com>

        Add the next set of GTK+ baselines for the CSS 2.1 test suite.

        * platform/gtk/Skipped: Unskip the next block of tests.
        * platform/gtk/css2.1: Added CSS 2.1 test results for GTK+.

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

10 years agoUpdate fast/dom test since it progressed.
hyatt@apple.com [Thu, 27 Jan 2011 00:58:47 +0000 (00:58 +0000)]
Update fast/dom test since it progressed.

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

10 years agoUpdate fast/table results since they progressed.
hyatt@apple.com [Thu, 27 Jan 2011 00:57:36 +0000 (00:57 +0000)]
Update fast/table results since they progressed.

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

10 years agoUpdate fast/overflow results since they progressed.
hyatt@apple.com [Thu, 27 Jan 2011 00:53:36 +0000 (00:53 +0000)]
Update fast/overflow results since they progressed.

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

10 years agoUpdate fast/lists results since they progressed.
hyatt@apple.com [Thu, 27 Jan 2011 00:51:56 +0000 (00:51 +0000)]
Update fast/lists results since they progressed.

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

10 years agoInline HTMLObjectElement::hasValidClassId().
aestes@apple.com [Thu, 27 Jan 2011 00:50:39 +0000 (00:50 +0000)]
Inline HTMLObjectElement::hasValidClassId().

Rubber-stamped by Darin Adler.

* html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::hasValidClassId):

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

10 years ago2010-01-26 Evan Martin <evan@chromium.org>
evan@chromium.org [Thu, 27 Jan 2011 00:49:04 +0000 (00:49 +0000)]
2010-01-26  Evan Martin  <evan@chromium.org>

        Reviewed by Tony Chang.

        [chromium] crash on getBoundingClientRect in complex text
        https://bugs.webkit.org/show_bug.cgi?id=53199

        Add a test that reproduces the crash and verifies the resulting values
        are sane (when it didn't crash, it would get garbage values).

        * platform/chromium-linux/fast/text/international/complex-text-rectangle-expected.txt: Added.
        * platform/chromium-linux/fast/text/international/complex-text-rectangle.html: Added.
2011-01-26  Evan Martin  <evan@chromium.org>

        Reviewed by Tony Chang.

        [chromium] crash on getBoundingClientRect in complex text
        https://bugs.webkit.org/show_bug.cgi?id=53199

        Use the correct array bound; we want the number of characters processed by
        the shaper, not the longest continuous script run length.

        Test: platform/chromium-linux/fast/text/international/complex-text-rectangle.html

        * platform/graphics/chromium/ComplexTextControllerLinux.cpp:
        (WebCore::ComplexTextController::nextScriptRun):
        * platform/graphics/chromium/ComplexTextControllerLinux.h:
        (WebCore::ComplexTextController::numCodePoints):

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

10 years agoUpdate fast/blockflow results since they progressed.
hyatt@apple.com [Thu, 27 Jan 2011 00:44:16 +0000 (00:44 +0000)]
Update fast/blockflow results since they progressed.

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

10 years ago2011-01-26 Emil A Eklund <eae@chromium.org>
inferno@chromium.org [Wed, 26 Jan 2011 23:43:02 +0000 (23:43 +0000)]
2011-01-26  Emil A Eklund  <eae@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Remove cached document reference from CSSStyleSheet and XSLStyleSheet.
        https://bugs.webkit.org/show_bug.cgi?id=52084

        Test: fast/dom/css-delete-doc.html

        * css/CSSMediaRule.cpp:
        (WebCore::CSSMediaRule::insertRule):
        (WebCore::CSSMediaRule::deleteRule):
        * css/CSSStyleSheet.cpp:
        (WebCore::CSSStyleSheet::CSSStyleSheet):
        (WebCore::CSSStyleSheet::document):
        * css/CSSStyleSheet.h:
        * xml/XSLStyleSheet.h:
        (WebCore::XSLStyleSheet::parentStyleSheet):
        * xml/XSLStyleSheetLibxslt.cpp:
        (WebCore::XSLStyleSheet::XSLStyleSheet):
        (WebCore::XSLStyleSheet::cachedResourceLoader):
        (WebCore::XSLStyleSheet::setParentStyleSheet):
        (WebCore::XSLStyleSheet::ownerDocument):
        * xml/XSLStyleSheetQt.cpp:
        (WebCore::XSLStyleSheet::XSLStyleSheet):
        (WebCore::XSLStyleSheet::cachedResourceLoader):
        (WebCore::XSLStyleSheet::ownerDocument):
2011-01-26  Emil A Eklund  <eae@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Remove cached document reference from CSSStyleSheet and XSLStyleSheet.
        https://bugs.webkit.org/show_bug.cgi?id=52084

        Added test for accessing a style sheet associated with a document that
        has been removed.

        * fast/dom/css-delete-doc-expected.txt: Added.
        * fast/dom/css-delete-doc.html: Added.

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

10 years ago2011-01-25 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Wed, 26 Jan 2011 23:26:36 +0000 (23:26 +0000)]
2011-01-25  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Kent Tamura.

        Reduce ref-count churn in shadowPseudoId.
        https://bugs.webkit.org/show_bug.cgi?id=53136

        Refactoring, so no new tests.

        * dom/Element.h:
        (WebCore::Element::shadowPseudoId): Changed signature to use const AtomicString&
        * html/ValidationMessage.cpp:
        (WebCore::ElementWithPseudoId::shadowPseudoId): Ditto.
        * html/shadow/SliderThumbElement.cpp:
        (WebCore::SliderThumbElement::shadowPseudoId): Ditto, plus moved from the header file.
        * html/shadow/SliderThumbElement.h: Ditto.
        * rendering/MediaControlElements.cpp:
        (WebCore::MediaControlMuteButtonElement::shadowPseudoId): Ditto.
        (WebCore::MediaControlVolumeSliderMuteButtonElement::shadowPseudoId): Ditto.
        (WebCore::MediaControlPlayButtonElement::shadowPseudoId): Ditto.
        (WebCore::MediaControlSeekForwardButtonElement::shadowPseudoId): Ditto.
        (WebCore::MediaControlSeekBackButtonElement::shadowPseudoId): Ditto.
        (WebCore::MediaControlRewindButtonElement::shadowPseudoId): Ditto.
        (WebCore::MediaControlReturnToRealtimeButtonElement::shadowPseudoId): Ditto.
        (WebCore::MediaControlToggleClosedCaptionsButtonElement::shadowPseudoId): Ditto.
        (WebCore::MediaControlTimelineElement::shadowPseudoId): Ditto.
        (WebCore::MediaControlVolumeSliderElement::shadowPseudoId): Ditto.
        (WebCore::MediaControlFullscreenButtonElement::shadowPseudoId): Ditto.
        * rendering/MediaControlElements.h: Ditto.

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

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=46421, make multi-column layout work with...
hyatt@apple.com [Wed, 26 Jan 2011 23:10:57 +0000 (23:10 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46421, make multi-column layout work with vertical text.

Reviewed by Dan Bernstein.

Added new tests in fast/multicol/vertical-lr and fast/multicol/vertical-rl.

Source/WebCore:

* css/html.css:
Update p, blockquote and h1-h6 to respect directionality so that column layout tests that use those
elements work properly.

* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::placeBoxesInBlockDirection):
Fix a flipping bug with the computation of lineTopIncludingMargins where it could be incorrectly shrunk
in some cases (causing lines to all stack on top of one another).

* rendering/InlineTextBox.h:
(WebCore::InlineTextBox::calculateBoundaries):
Fix calculateBoundaries to be physical rather than logical.

* rendering/LayoutState.cpp:
(WebCore::LayoutState::addForcedColumnBreak):
* rendering/LayoutState.h:
Rename childY to childLogicalOffset.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::layoutBlock):
(WebCore::RenderBlock::addOverflowFromChildren):
(WebCore::RenderBlock::addOverflowFromFloats):
(WebCore::RenderBlock::collapseMargins):
(WebCore::RenderBlock::estimateLogicalTopPosition):
(WebCore::RenderBlock::layoutBlockChild):
(WebCore::RenderBlock::markForPaginationRelayoutIfNeeded):
(WebCore::RenderBlock::paintColumnRules):
(WebCore::RenderBlock::paintColumnContents):
(WebCore::RenderBlock::paintFloats):
(WebCore::RenderBlock::selectionGaps):
(WebCore::RenderBlock::removeFloatingObjectsBelow):
(WebCore::RenderBlock::addOverhangingFloats):
(WebCore::RenderBlock::hitTestFloats):
(WebCore::RenderBlock::hitTestColumns):
(WebCore::RenderBlock::calcColumnWidth):
(WebCore::RenderBlock::desiredColumnWidth):
(WebCore::RenderBlock::columnRectAt):
(WebCore::RenderBlock::layoutColumns):
(WebCore::RenderBlock::adjustPointToColumnContents):
(WebCore::RenderBlock::adjustRectForColumns):
(WebCore::RenderBlock::flipForWritingModeIncludingColumns):
(WebCore::RenderBlock::adjustForColumns):
(WebCore::RenderBlock::adjustForBorderFit):
(WebCore::RenderBlock::nextPageLogicalTop):
(WebCore::RenderBlock::applyBeforeBreak):
(WebCore::RenderBlock::applyAfterBreak):
(WebCore::RenderBlock::adjustForUnsplittableChild):
(WebCore::RenderBlock::adjustLinePositionForPagination):
* rendering/RenderBlock.h:
(WebCore::RenderBlock::logicalRightOffsetForContent):
(WebCore::RenderBlock::logicalLeftOffsetForContent):
(WebCore::RenderBlock::leftForFloatIncludingMargin):
(WebCore::RenderBlock::topForFloatIncludingMargin):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutInlineChildren):
(WebCore::RenderBlock::determineStartPosition):
Reworking of all the RenderBlock column functions to support flipping and vertical modes.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::offsetFromContainer):
(WebCore::RenderBox::flipForWritingModeIncludingColumns):
Patch offsetFromContainer to be aware of flipped block writing modes when dealing with column layouts.

* rendering/RenderBox.h:
(WebCore::RenderBox::clientLogicalBottom):
Fix a bug in clientLogicalBottom where it didn't add in the right border/padding.

* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::layoutBlock):
Better terminology for pagination.

* rendering/RenderInline.cpp:
(WebCore::RenderInline::offsetFromContainer):
(WebCore::RenderInline::mapLocalToContainer):
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintChildLayerIntoColumns):
(WebCore::RenderLayer::hitTestChildLayerColumns):
(WebCore::RenderLayer::localBoundingBox):
(WebCore::RenderLayer::boundingBox):
Patch painting in RenderLayers to be vertical-text-aware.

* rendering/RenderObject.cpp:
(WebCore::RenderObject::mapLocalToContainer):
Add code to be flipped block-aware with columns.

* rendering/RenderTable.cpp:
(WebCore::RenderTable::layout):
* rendering/RenderTableRow.cpp:
(WebCore::RenderTableRow::layout):
* rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::layoutRows):
Fix pagination to use better terminology.

* rendering/RenderText.cpp:
(WebCore::RenderText::absoluteQuads):
(WebCore::RenderText::absoluteQuadsForRange):
Fix a bug where vertical text wasn't taken into account.

LayoutTests:

* fast/multicol/break-properties-expected.txt:
* fast/multicol/break-properties.html:
* fast/multicol/float-truncation.html:
* fast/multicol/vertical-lr: Added.
* fast/multicol/vertical-lr/border-padding-pagination.html: Added.
* fast/multicol/vertical-lr/break-properties-expected.txt: Added.
* fast/multicol/vertical-lr/break-properties.html: Added.
* fast/multicol/vertical-lr/column-break-with-balancing.html: Added.
* fast/multicol/vertical-lr/column-count-with-rules.html: Added.
* fast/multicol/vertical-lr/column-rules.html: Added.
* fast/multicol/vertical-lr/float-avoidance.html: Added.
* fast/multicol/vertical-lr/float-multicol.html: Added.
* fast/multicol/vertical-lr/float-paginate-complex.html: Added.
* fast/multicol/vertical-lr/float-paginate.html: Added.
* fast/multicol/vertical-lr/float-truncation-expected.txt: Added.
* fast/multicol/vertical-lr/float-truncation.html: Added.
* fast/multicol/vertical-lr/gap-non-negative-expected.txt: Added.
* fast/multicol/vertical-lr/gap-non-negative.html: Added.
* fast/multicol/vertical-lr/image-inside-nested-blocks-with-border-expected.txt: Added.
* fast/multicol/vertical-lr/image-inside-nested-blocks-with-border.html: Added.
* fast/multicol/vertical-lr/nested-columns.html: Added.
* fast/multicol/vertical-lr/resources: Added.
* fast/multicol/vertical-lr/resources/blimp.png: Added.
* fast/multicol/vertical-lr/unsplittable-inline-block.html: Added.
* fast/multicol/vertical-rl: Added.
* fast/multicol/vertical-rl/border-padding-pagination.html: Added.
* fast/multicol/vertical-rl/break-properties-expected.txt: Added.
* fast/multicol/vertical-rl/break-properties.html: Added.
* fast/multicol/vertical-rl/column-break-with-balancing.html: Added.
* fast/multicol/vertical-rl/column-count-with-rules.html: Added.
* fast/multicol/vertical-rl/column-rules.html: Added.
* fast/multicol/vertical-rl/float-avoidance.html: Added.
* fast/multicol/vertical-rl/float-multicol.html: Added.
* fast/multicol/vertical-rl/float-paginate-complex.html: Added.
* fast/multicol/vertical-rl/float-paginate.html: Added.
* fast/multicol/vertical-rl/float-truncation-expected.txt: Added.
* fast/multicol/vertical-rl/float-truncation.html: Added.
* fast/multicol/vertical-rl/gap-non-negative-expected.txt: Added.
* fast/multicol/vertical-rl/gap-non-negative.html: Added.
* fast/multicol/vertical-rl/image-inside-nested-blocks-with-border-expected.txt: Added.
* fast/multicol/vertical-rl/image-inside-nested-blocks-with-border.html: Added.
* fast/multicol/vertical-rl/nested-columns.html: Added.
* fast/multicol/vertical-rl/resources: Added.
* fast/multicol/vertical-rl/resources/blimp.png: Added.
* fast/multicol/vertical-rl/unsplittable-inline-block.html: Added.
* platform/mac/fast/multicol/vertical-lr: Added.
* platform/mac/fast/multicol/vertical-lr/border-padding-pagination-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-lr/border-padding-pagination-expected.png: Added.
* platform/mac/fast/multicol/vertical-lr/border-padding-pagination-expected.txt: Added.
* platform/mac/fast/multicol/vertical-lr/column-break-with-balancing-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-lr/column-break-with-balancing-expected.png: Added.
* platform/mac/fast/multicol/vertical-lr/column-break-with-balancing-expected.txt: Added.
* platform/mac/fast/multicol/vertical-lr/column-count-with-rules-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-lr/column-count-with-rules-expected.png: Added.
* platform/mac/fast/multicol/vertical-lr/column-count-with-rules-expected.txt: Added.
* platform/mac/fast/multicol/vertical-lr/column-rules-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-lr/column-rules-expected.png: Added.
* platform/mac/fast/multicol/vertical-lr/column-rules-expected.txt: Added.
* platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.png: Added.
* platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.txt: Added.
* platform/mac/fast/multicol/vertical-lr/float-multicol-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-lr/float-multicol-expected.png: Added.
* platform/mac/fast/multicol/vertical-lr/float-multicol-expected.txt: Added.
* platform/mac/fast/multicol/vertical-lr/float-paginate-complex-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-lr/float-paginate-complex-expected.png: Added.
* platform/mac/fast/multicol/vertical-lr/float-paginate-complex-expected.txt: Added.
* platform/mac/fast/multicol/vertical-lr/float-paginate-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-lr/float-paginate-expected.png: Added.
* platform/mac/fast/multicol/vertical-lr/float-paginate-expected.txt: Added.
* platform/mac/fast/multicol/vertical-lr/nested-columns-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-lr/nested-columns-expected.png: Added.
* platform/mac/fast/multicol/vertical-lr/nested-columns-expected.txt: Added.
* platform/mac/fast/multicol/vertical-lr/unsplittable-inline-block-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-lr/unsplittable-inline-block-expected.png: Added.
* platform/mac/fast/multicol/vertical-lr/unsplittable-inline-block-expected.txt: Added.
* platform/mac/fast/multicol/vertical-rl: Added.
* platform/mac/fast/multicol/vertical-rl/border-padding-pagination-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-rl/border-padding-pagination-expected.png: Added.
* platform/mac/fast/multicol/vertical-rl/border-padding-pagination-expected.txt: Added.
* platform/mac/fast/multicol/vertical-rl/column-break-with-balancing-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-rl/column-break-with-balancing-expected.png: Added.
* platform/mac/fast/multicol/vertical-rl/column-break-with-balancing-expected.txt: Added.
* platform/mac/fast/multicol/vertical-rl/column-count-with-rules-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-rl/column-count-with-rules-expected.png: Added.
* platform/mac/fast/multicol/vertical-rl/column-count-with-rules-expected.txt: Added.
* platform/mac/fast/multicol/vertical-rl/column-rules-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-rl/column-rules-expected.png: Added.
* platform/mac/fast/multicol/vertical-rl/column-rules-expected.txt: Added.
* platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.png: Added.
* platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.txt: Added.
* platform/mac/fast/multicol/vertical-rl/float-multicol-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-rl/float-multicol-expected.png: Added.
* platform/mac/fast/multicol/vertical-rl/float-multicol-expected.txt: Added.
* platform/mac/fast/multicol/vertical-rl/float-paginate-complex-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-rl/float-paginate-complex-expected.png: Added.
* platform/mac/fast/multicol/vertical-rl/float-paginate-complex-expected.txt: Added.
* platform/mac/fast/multicol/vertical-rl/float-paginate-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-rl/float-paginate-expected.png: Added.
* platform/mac/fast/multicol/vertical-rl/float-paginate-expected.txt: Added.
* platform/mac/fast/multicol/vertical-rl/nested-columns-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-rl/nested-columns-expected.png: Added.
* platform/mac/fast/multicol/vertical-rl/nested-columns-expected.txt: Added.
* platform/mac/fast/multicol/vertical-rl/unsplittable-inline-block-expected.checksum: Added.
* platform/mac/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png: Added.
* platform/mac/fast/multicol/vertical-rl/unsplittable-inline-block-expected.txt: Added.

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

10 years agoWebKit2: Need API to get the frame load state of a BundleFrame
bweinstein@apple.com [Wed, 26 Jan 2011 22:58:45 +0000 (22:58 +0000)]
WebKit2: Need API to get the frame load state of a BundleFrame
https://bugs.webkit.org/show_bug.cgi?id=53193

Reviewed by John Sullivan.

* WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
(WKBundleFrameGetFrameLoadState): Call through to the FrameLoader to get the frame load state.
* WebProcess/InjectedBundle/API/c/WKBundleFrame.h:

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

10 years ago2011-01-26 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Wed, 26 Jan 2011 22:54:36 +0000 (22:54 +0000)]
2011-01-26  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, rolling out r76719.
        http://trac.webkit.org/changeset/76719
        https://bugs.webkit.org/show_bug.cgi?id=53122

        Broke a bunch of media tests in Chromium/Qt/GTK.

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

10 years ago2011-01-26 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 26 Jan 2011 22:52:28 +0000 (22:52 +0000)]
2011-01-26  Tony Chang  <tony@chromium.org>

        Reviewed by Ryosuke Niwa.

        [gtk] strip NUL characters when copying text/html on GTK+
        https://bugs.webkit.org/show_bug.cgi?id=52508

        * editing/pasteboard/copy-null-characters.html: Make sure we didn't
            change innerHTML (it should still contain the null)
        * platform/gtk/Skipped: Re-enable the test
2011-01-26  Tony Chang  <tony@chromium.org>

        Reviewed by Ryosuke Niwa.

        [gtk] strip NUL characters when copying text/html on GTK+
        https://bugs.webkit.org/show_bug.cgi?id=52508

        Putting NUL characters in the text/html clipboard doesn't work in
        WebKit GTK+ (the pasted value is truncated at the NUL).  Since we're
        already stripping this character for plain text (for Windows), strip
        it in text/html too.

        * editing/MarkupAccumulator.h: mark function as virtual
        * editing/markup.cpp:
        (WebCore::StyledMarkupAccumulator::appendString):
        (WebCore::StyledMarkupAccumulator::takeResults): strip nulls

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

10 years ago2011-01-26 Sheriff Bot <webkit.review.bot@gmail.com>
dpranke@chromium.org [Wed, 26 Jan 2011 22:50:49 +0000 (22:50 +0000)]
2011-01-26  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r76709.
        http://trac.webkit.org/changeset/76709
        https://bugs.webkit.org/show_bug.cgi?id=53194

        "broke python tests on non-snowleopard platforms" (Requested
        by dpranke on #webkit).

        * Scripts/webkitpy/layout_tests/port/factory.py:
        * Scripts/webkitpy/layout_tests/port/mock_drt.py: Removed.
        * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py: Removed.

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

10 years ago2011-01-26 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Wed, 26 Jan 2011 22:43:44 +0000 (22:43 +0000)]
2011-01-26  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Reliable crash with getTextAtOffset()
        https://bugs.webkit.org/show_bug.cgi?id=53131

        Properly calculate length in bytes for a UTF8 substring.

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (utf8Substr): Use character instead of bytes as units to
        calculate the length in bytes for the UTF8 string.
2011-01-26  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Reliable crash with getTextAtOffset()
        https://bugs.webkit.org/show_bug.cgi?id=53131

        New unit test to check the fix for this bug.

        * tests/testatk.c:
        (testWebkitAtkGetTextAtOffsetWithSpecialCharacters): New.
        (main): Add new unit test.

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

10 years ago2011-01-26 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 26 Jan 2011 22:22:02 +0000 (22:22 +0000)]
2011-01-26  Martin Robinson  <mrobinson@igalia.com>

        Add the next set of CSS 2.1 baselines for GTK+.

        * platform/gtk/Skipped: Unskip tests which now have results.
        * platform/gtk/css2.1/t010403-shand-border-00-c-expected.checksum: Added.
        * platform/gtk/css2.1/t010403-shand-border-00-c-expected.png: Added.
        * platform/gtk/css2.1/t010403-shand-border-00-c-expected.txt: Added.
        * platform/gtk/css2.1/t010403-shand-font-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t010403-shand-font-00-b-expected.png: Added.
        * platform/gtk/css2.1/t010403-shand-font-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t010403-shand-font-01-b-expected.checksum: Added.
        * platform/gtk/css2.1/t010403-shand-font-01-b-expected.png: Added.
        * platform/gtk/css2.1/t010403-shand-font-01-b-expected.txt: Added.
        * platform/gtk/css2.1/t010403-shand-font-02-b-expected.checksum: Added.
        * platform/gtk/css2.1/t010403-shand-font-02-b-expected.png: Added.
        * platform/gtk/css2.1/t010403-shand-font-02-b-expected.txt: Added.
        * platform/gtk/css2.1/t010403-shand-font-03-b-expected.checksum: Added.
        * platform/gtk/css2.1/t010403-shand-font-03-b-expected.png: Added.
        * platform/gtk/css2.1/t010403-shand-font-03-b-expected.txt: Added.
        * platform/gtk/css2.1/t040102-keywords-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t040102-keywords-00-b-expected.png: Added.
        * platform/gtk/css2.1/t040102-keywords-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t040102-keywords-01-b-expected.checksum: Added.
        * platform/gtk/css2.1/t040102-keywords-01-b-expected.png: Added.
        * platform/gtk/css2.1/t040102-keywords-01-b-expected.txt: Added.
        * platform/gtk/css2.1/t040103-case-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-case-00-b-expected.png: Added.
        * platform/gtk/css2.1/t040103-case-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t040103-case-01-c-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-case-01-c-expected.png: Added.
        * platform/gtk/css2.1/t040103-case-01-c-expected.txt: Added.
        * platform/gtk/css2.1/t040103-escapes-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-escapes-00-b-expected.png: Added.
        * platform/gtk/css2.1/t040103-escapes-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t040103-escapes-01-b-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-escapes-01-b-expected.png: Added.
        * platform/gtk/css2.1/t040103-escapes-01-b-expected.txt: Added.
        * platform/gtk/css2.1/t040103-escapes-02-d-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-escapes-02-d-expected.png: Added.
        * platform/gtk/css2.1/t040103-escapes-02-d-expected.txt: Added.
        * platform/gtk/css2.1/t040103-escapes-03-b-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-escapes-03-b-expected.png: Added.
        * platform/gtk/css2.1/t040103-escapes-03-b-expected.txt: Added.
        * platform/gtk/css2.1/t040103-escapes-04-b-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-escapes-04-b-expected.png: Added.
        * platform/gtk/css2.1/t040103-escapes-04-b-expected.txt: Added.
        * platform/gtk/css2.1/t040103-escapes-05-c-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-escapes-05-c-expected.png: Added.
        * platform/gtk/css2.1/t040103-escapes-05-c-expected.txt: Added.
        * platform/gtk/css2.1/t040103-escapes-06-b-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-escapes-06-b-expected.png: Added.
        * platform/gtk/css2.1/t040103-escapes-06-b-expected.txt: Added.
        * platform/gtk/css2.1/t040103-escapes-07-b-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-escapes-07-b-expected.png: Added.
        * platform/gtk/css2.1/t040103-escapes-07-b-expected.txt: Added.
        * platform/gtk/css2.1/t040103-escapes-08-b-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-escapes-08-b-expected.png: Added.
        * platform/gtk/css2.1/t040103-escapes-08-b-expected.txt: Added.
        * platform/gtk/css2.1/t040103-ident-00-c-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-ident-00-c-expected.png: Added.
        * platform/gtk/css2.1/t040103-ident-00-c-expected.txt: Added.
        * platform/gtk/css2.1/t040103-ident-01-c-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-ident-01-c-expected.png: Added.
        * platform/gtk/css2.1/t040103-ident-01-c-expected.txt: Added.
        * platform/gtk/css2.1/t040103-ident-02-c-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-ident-02-c-expected.png: Added.
        * platform/gtk/css2.1/t040103-ident-02-c-expected.txt: Added.
        * platform/gtk/css2.1/t040103-ident-03-c-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-ident-03-c-expected.png: Added.
        * platform/gtk/css2.1/t040103-ident-03-c-expected.txt: Added.
        * platform/gtk/css2.1/t040103-ident-04-c-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-ident-04-c-expected.png: Added.
        * platform/gtk/css2.1/t040103-ident-04-c-expected.txt: Added.
        * platform/gtk/css2.1/t040103-ident-05-c-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-ident-05-c-expected.png: Added.
        * platform/gtk/css2.1/t040103-ident-05-c-expected.txt: Added.
        * platform/gtk/css2.1/t040103-ident-06-c-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-ident-06-c-expected.png: Added.
        * platform/gtk/css2.1/t040103-ident-06-c-expected.txt: Added.
        * platform/gtk/css2.1/t040103-ident-07-c-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-ident-07-c-expected.png: Added.
        * platform/gtk/css2.1/t040103-ident-07-c-expected.txt: Added.
        * platform/gtk/css2.1/t040103-ident-08-c-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-ident-08-c-expected.png: Added.
        * platform/gtk/css2.1/t040103-ident-08-c-expected.txt: Added.
        * platform/gtk/css2.1/t040103-ident-09-c-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-ident-09-c-expected.png: Added.
        * platform/gtk/css2.1/t040103-ident-09-c-expected.txt: Added.
        * platform/gtk/css2.1/t040103-ident-10-c-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-ident-10-c-expected.png: Added.
        * platform/gtk/css2.1/t040103-ident-10-c-expected.txt: Added.
        * platform/gtk/css2.1/t040103-ident-11-c-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-ident-11-c-expected.png: Added.
        * platform/gtk/css2.1/t040103-ident-11-c-expected.txt: Added.
        * platform/gtk/css2.1/t040103-ident-12-c-expected.checksum: Added.
        * platform/gtk/css2.1/t040103-ident-12-c-expected.png: Added.
        * platform/gtk/css2.1/t040103-ident-12-c-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-02-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-02-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-02-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-03-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-03-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-03-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-04-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-04-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-04-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-05-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-05-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-05-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-06-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-06-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-06-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-07-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-07-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-07-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-08-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-08-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-08-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-09-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-09-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-09-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-11-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-11-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-11-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-12-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-12-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-12-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-13-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-13-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-13-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-14-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-14-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-14-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-15-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-15-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-15-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-16-c-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-16-c-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-16-c-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-17-d-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-17-d-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-17-d-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-18-f-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-18-f-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-18-f-expected.txt: Added.
        * platform/gtk/css2.1/t1204-implied-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1204-implied-00-b-expected.png: Added.
        * platform/gtk/css2.1/t1204-implied-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t1204-implied-01-c-expected.checksum: Added.
        * platform/gtk/css2.1/t1204-implied-01-c-expected.png: Added.
        * platform/gtk/css2.1/t1204-implied-01-c-expected.txt: Added.
        * platform/gtk/css2.1/t1204-implied-02-d-expected.checksum: Added.
        * platform/gtk/css2.1/t1204-implied-02-d-expected.png: Added.
        * platform/gtk/css2.1/t1204-implied-02-d-expected.txt: Added.
        * platform/gtk/css2.1/t1204-multiple-00-c-expected.checksum: Added.
        * platform/gtk/css2.1/t1204-multiple-00-c-expected.png: Added.
        * platform/gtk/css2.1/t1204-multiple-00-c-expected.txt: Added.
        * platform/gtk/css2.1/t1204-multiple-01-c-expected.checksum: Added.
        * platform/gtk/css2.1/t1204-multiple-01-c-expected.png: Added.
        * platform/gtk/css2.1/t1204-multiple-01-c-expected.txt: Added.
        * platform/gtk/css2.1/t1204-order-00-c-expected.checksum: Added.
        * platform/gtk/css2.1/t1204-order-00-c-expected.png: Added.
        * platform/gtk/css2.1/t1204-order-00-c-expected.txt: Added.
        * platform/gtk/css2.1/t1204-order-01-d-expected.checksum: Added.
        * platform/gtk/css2.1/t1204-order-01-d-expected.png: Added.
        * platform/gtk/css2.1/t1204-order-01-d-expected.txt: Added.
        * platform/gtk/css2.1/t1204-root-e-expected.checksum: Added.
        * platform/gtk/css2.1/t1204-root-e-expected.png: Added.
        * platform/gtk/css2.1/t1204-root-e-expected.txt: Added.
        * platform/gtk/css2.1/t1205-c561-list-displ-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1205-c561-list-displ-00-b-expected.png: Added.
        * platform/gtk/css2.1/t1205-c561-list-displ-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t1205-c563-list-type-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1205-c563-list-type-00-b-expected.png: Added.
        * platform/gtk/css2.1/t1205-c563-list-type-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t1205-c563-list-type-01-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1205-c563-list-type-01-b-expected.png: Added.
        * platform/gtk/css2.1/t1205-c563-list-type-01-b-expected.txt: Added.
        * platform/gtk/css2.1/t1205-c564-list-img-00-b-g-expected.checksum: Added.
        * platform/gtk/css2.1/t1205-c564-list-img-00-b-g-expected.png: Added.
        * platform/gtk/css2.1/t1205-c564-list-img-00-b-g-expected.txt: Added.
        * platform/gtk/css2.1/t1205-c565-list-pos-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1205-c565-list-pos-00-b-expected.png: Added.
        * platform/gtk/css2.1/t1205-c565-list-pos-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t1205-c566-list-stl-00-e-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t1205-c566-list-stl-00-e-ag-expected.png: Added.
        * platform/gtk/css2.1/t1205-c566-list-stl-00-e-ag-expected.txt: Added.
        * platform/gtk/css2.1/t1205-c566-list-stl-01-c-g-expected.checksum: Added.
        * platform/gtk/css2.1/t1205-c566-list-stl-01-c-g-expected.png: Added.
        * platform/gtk/css2.1/t1205-c566-list-stl-01-c-g-expected.txt: Added.
        * platform/gtk/css2.1/t1401-c531-color-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t1401-c531-color-00-a-expected.png: Added.
        * platform/gtk/css2.1/t1401-c531-color-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t1402-c45-bg-canvas-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1402-c45-bg-canvas-00-b-expected.png: Added.
        * platform/gtk/css2.1/t1402-c45-bg-canvas-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t1503-c522-font-family-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1503-c522-font-family-00-b-expected.png: Added.
        * platform/gtk/css2.1/t1503-c522-font-family-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t1504-c523-font-style-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1504-c523-font-style-00-b-expected.png: Added.
        * platform/gtk/css2.1/t1504-c523-font-style-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t1504-c543-txt-decor-00-d-g-expected.checksum: Added.
        * platform/gtk/css2.1/t1504-c543-txt-decor-00-d-g-expected.png: Added.
        * platform/gtk/css2.1/t1504-c543-txt-decor-00-d-g-expected.txt: Added.
        * platform/gtk/css2.1/t1505-c524-font-var-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1505-c524-font-var-00-b-expected.png: Added.
        * platform/gtk/css2.1/t1505-c524-font-var-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t1506-c525-font-wt-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1506-c525-font-wt-00-b-expected.png: Added.
        * platform/gtk/css2.1/t1506-c525-font-wt-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t1507-c526-font-sz-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1507-c526-font-sz-00-b-expected.png: Added.
        * platform/gtk/css2.1/t1507-c526-font-sz-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t1507-c526-font-sz-01-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t1507-c526-font-sz-01-b-a-expected.png: Added.
        * platform/gtk/css2.1/t1507-c526-font-sz-01-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t1507-c526-font-sz-02-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t1507-c526-font-sz-02-b-a-expected.png: Added.
        * platform/gtk/css2.1/t1507-c526-font-sz-02-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t1507-c526-font-sz-03-f-a-expected.checksum: Added.
        * platform/gtk/css2.1/t1507-c526-font-sz-03-f-a-expected.png: Added.
        * platform/gtk/css2.1/t1507-c526-font-sz-03-f-a-expected.txt: Added.
        * platform/gtk/css2.1/t1508-c527-font-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1508-c527-font-00-b-expected.png: Added.
        * platform/gtk/css2.1/t1508-c527-font-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t1508-c527-font-01-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1508-c527-font-01-b-expected.png: Added.
        * platform/gtk/css2.1/t1508-c527-font-01-b-expected.txt: Added.
        * platform/gtk/css2.1/t1508-c527-font-02-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1508-c527-font-02-b-expected.png: Added.
        * platform/gtk/css2.1/t1508-c527-font-02-b-expected.txt: Added.
        * platform/gtk/css2.1/t1508-c527-font-03-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1508-c527-font-03-b-expected.png: Added.
        * platform/gtk/css2.1/t1508-c527-font-03-b-expected.txt: Added.
        * platform/gtk/css2.1/t1508-c527-font-04-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1508-c527-font-04-b-expected.png: Added.
        * platform/gtk/css2.1/t1508-c527-font-04-b-expected.txt: Added.
        * platform/gtk/css2.1/t1508-c527-font-05-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1508-c527-font-05-b-expected.png: Added.
        * platform/gtk/css2.1/t1508-c527-font-05-b-expected.txt: Added.
        * platform/gtk/css2.1/t1508-c527-font-06-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1508-c527-font-06-b-expected.png: Added.
        * platform/gtk/css2.1/t1508-c527-font-06-b-expected.txt: Added.
        * platform/gtk/css2.1/t1508-c527-font-07-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1508-c527-font-07-b-expected.png: Added.
        * platform/gtk/css2.1/t1508-c527-font-07-b-expected.txt: Added.
        * platform/gtk/css2.1/t1508-c527-font-08-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1508-c527-font-08-b-expected.png: Added.
        * platform/gtk/css2.1/t1508-c527-font-08-b-expected.txt: Added.
        * platform/gtk/css2.1/t1508-c527-font-09-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1508-c527-font-09-b-expected.png: Added.
        * platform/gtk/css2.1/t1508-c527-font-09-b-expected.txt: Added.
        * platform/gtk/css2.1/t1508-c527-font-10-c-expected.checksum: Added.
        * platform/gtk/css2.1/t1508-c527-font-10-c-expected.png: Added.
        * platform/gtk/css2.1/t1508-c527-font-10-c-expected.txt: Added.
        * platform/gtk/css2.1/t1601-c547-indent-00-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t1601-c547-indent-00-b-a-expected.png: Added.
        * platform/gtk/css2.1/t1601-c547-indent-00-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t1601-c547-indent-01-d-expected.checksum: Added.
        * platform/gtk/css2.1/t1601-c547-indent-01-d-expected.png: Added.
        * platform/gtk/css2.1/t1601-c547-indent-01-d-expected.txt: Added.
        * platform/gtk/css2.1/t1602-c43-center-00-d-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t1602-c43-center-00-d-ag-expected.png: Added.
        * platform/gtk/css2.1/t1602-c43-center-00-d-ag-expected.txt: Added.
        * platform/gtk/css2.1/t1602-c546-txt-align-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1602-c546-txt-align-00-b-expected.png: Added.
        * platform/gtk/css2.1/t1602-c546-txt-align-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t1604-c541-word-sp-00-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t1604-c541-word-sp-00-b-a-expected.png: Added.
        * platform/gtk/css2.1/t1604-c541-word-sp-00-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t1604-c541-word-sp-01-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t1604-c541-word-sp-01-b-a-expected.png: Added.
        * platform/gtk/css2.1/t1604-c541-word-sp-01-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t1604-c542-letter-sp-00-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t1604-c542-letter-sp-00-b-a-expected.png: Added.
        * platform/gtk/css2.1/t1604-c542-letter-sp-00-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t1604-c542-letter-sp-01-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t1604-c542-letter-sp-01-b-a-expected.png: Added.
        * platform/gtk/css2.1/t1604-c542-letter-sp-01-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t1605-c545-txttrans-00-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t1605-c545-txttrans-00-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t1606-c562-white-sp-00-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t1606-c562-white-sp-00-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t1606-c562-white-sp-00-b-ag-expected.txt: Added.

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

10 years ago2011-01-25 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Wed, 26 Jan 2011 22:19:57 +0000 (22:19 +0000)]
2011-01-25  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Kent Tamura.

        Change HTMLInputElement-derived parts of media element shadow DOM to use shadowPseudoId.
        https://bugs.webkit.org/show_bug.cgi?id=53122

        This is the first step in converting HTMLMediaElement to the new shadow DOM.

        Should not regress any existing tests. No observable change in behavior.

        * css/CSSSelector.cpp:
        (WebCore::CSSSelector::pseudoId): Removed now-unnecessary hard-coded pseudo-element selectors.
        (WebCore::nameToPseudoTypeMap): Ditto.
        (WebCore::CSSSelector::extractPseudoType): Ditto.
        * css/CSSSelector.h: Ditto.
        * css/mediaControls.css: Added proper initial values, now that elements use the proper selector pipeline.
        * rendering/MediaControlElements.cpp:
        (WebCore::MediaControlInputElement::MediaControlInputElement): Removed the switch statement,
            which is now replaced with virtual shadowPseudoId on each corresponding class.
        (WebCore::MediaControlInputElement::styleForElement): Changed to use element pipeline.
        (WebCore::MediaControlMuteButtonElement::MediaControlMuteButtonElement): Changed to set
            display type in constructor.
        (WebCore::MediaControlMuteButtonElement::create): Changed to not take PseudoId as
            constructor argument.
        (WebCore::MediaControlMuteButtonElement::shadowPseudoId): Added.
        (WebCore::MediaControlVolumeSliderMuteButtonElement::MediaControlVolumeSliderMuteButtonElement): Added
            to disambiguate from the MediaControlMuteButtonElement.
        (WebCore::MediaControlVolumeSliderMuteButtonElement::create): Added.
        (WebCore::MediaControlVolumeSliderMuteButtonElement::shadowPseudoId): Added.
        (WebCore::MediaControlPlayButtonElement::MediaControlPlayButtonElement): Changed to not take PseudoId as
            constructor argument.
        (WebCore::MediaControlPlayButtonElement::shadowPseudoId): Added.
        (WebCore::MediaControlSeekButtonElement::MediaControlSeekButtonElement): Changed to not take PseudoId as
            constructor argument.
        (WebCore::MediaControlSeekForwardButtonElement::MediaControlSeekForwardButtonElement): Added.
        (WebCore::MediaControlSeekForwardButtonElement::create): Added.
        (WebCore::MediaControlSeekForwardButtonElement::shadowPseudoId): Added.
        (WebCore::MediaControlSeekBackButtonElement::MediaControlSeekBackButtonElement): Added.
        (WebCore::MediaControlSeekBackButtonElement::create): Added.
        (WebCore::MediaControlSeekBackButtonElement::shadowPseudoId): Added.
        (WebCore::MediaControlRewindButtonElement::MediaControlRewindButtonElement): Added.
        (WebCore::MediaControlRewindButtonElement::shadowPseudoId): Added.
        (WebCore::MediaControlReturnToRealtimeButtonElement::MediaControlReturnToRealtimeButtonElement): Changed to not take PseudoId as
            constructor argument.
        (WebCore::MediaControlReturnToRealtimeButtonElement::shadowPseudoId): Added.
        (WebCore::MediaControlToggleClosedCaptionsButtonElement::MediaControlToggleClosedCaptionsButtonElement): Changed to not take PseudoId as
            constructor argument.
        (WebCore::MediaControlToggleClosedCaptionsButtonElement::shadowPseudoId): Added.
        (WebCore::MediaControlTimelineElement::MediaControlTimelineElement): Changed to not take PseudoId as
            constructor argument.
        (WebCore::MediaControlTimelineElement::shadowPseudoId): Added.
        (WebCore::MediaControlVolumeSliderElement::MediaControlVolumeSliderElement): Changed to not take PseudoId as
            constructor argument.
        (WebCore::MediaControlVolumeSliderElement::shadowPseudoId): Added.
        (WebCore::MediaControlFullscreenButtonElement::MediaControlFullscreenButtonElement): Changed to not take PseudoId as
            constructor argument.
        (WebCore::MediaControlFullscreenButtonElement::shadowPseudoId): Added.
        * rendering/MediaControlElements.h:
        (WebCore::MediaControlSeekForwardButtonElement::isForwardButton): Added.
        (WebCore::MediaControlSeekBackButtonElement::isForwardButton): Added.
        * rendering/RenderMedia.cpp:
        (WebCore::RenderMedia::createMuteButton): Changed to use new constructor.
        (WebCore::RenderMedia::createSeekBackButton): Ditto.
        (WebCore::RenderMedia::createSeekForwardButton): Ditto.
        (WebCore::RenderMedia::createVolumeSliderMuteButton): Ditto.
        * rendering/style/RenderStyleConstants.h: Removed constants that are no longer used.

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

10 years ago2011-01-26 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 26 Jan 2011 22:10:53 +0000 (22:10 +0000)]
2011-01-26  Martin Robinson  <mrobinson@igalia.com>

        Continue the import of GTK+ test results for the CSS 2.1 test suite.

        * platform/gtk/Skipped: Unskip tests which now have results.
        * platform/gtk/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5513-brdr-bw-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5513-brdr-bw-00-b-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5513-brdr-bw-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5513-brdr-bw-01-b-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5513-brdr-bw-01-b-g-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5513-brdr-bw-01-b-g-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5513-brdr-bw-02-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5513-brdr-bw-02-b-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5513-brdr-bw-02-b-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5513-brdr-bw-03-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5513-brdr-bw-03-b-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5513-brdr-bw-03-b-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5514-brdr-lw-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5514-brdr-lw-00-b-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5514-brdr-lw-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5514-brdr-lw-01-b-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5514-brdr-lw-01-b-g-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5514-brdr-lw-01-b-g-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5514-brdr-lw-02-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5514-brdr-lw-02-b-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5514-brdr-lw-02-b-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5514-brdr-lw-03-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5514-brdr-lw-03-b-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5514-brdr-lw-03-b-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5515-brdr-w-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5515-brdr-w-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5515-brdr-w-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5515-brdr-w-01-b-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5515-brdr-w-01-b-g-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5515-brdr-w-01-b-g-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5515-brdr-w-02-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5515-brdr-w-02-b-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5515-brdr-w-02-b-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5515-ibrdr-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5515-ibrdr-00-b-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5515-ibrdr-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5516-brdr-c-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5516-brdr-c-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5516-brdr-c-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5516-ibrdr-c-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5516-ibrdr-c-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5516-ibrdr-c-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5517-brdr-s-00-c-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5517-brdr-s-00-c-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5517-brdr-s-00-c-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5517-ibrdr-s-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5517-ibrdr-s-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5517-ibrdr-s-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5518-brdr-t-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5518-brdr-t-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5518-brdr-t-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5518-brdr-t-01-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5518-brdr-t-01-e-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5518-brdr-t-01-e-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5518-ibrdr-t-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5518-ibrdr-t-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5518-ibrdr-t-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5519-brdr-r-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5519-brdr-r-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5519-brdr-r-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5519-brdr-r-01-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5519-brdr-r-01-e-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5519-brdr-r-01-e-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5519-brdr-r-02-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5519-brdr-r-02-e-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5519-brdr-r-02-e-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5519-ibrdr-r-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5519-ibrdr-r-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5519-ibrdr-r-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5520-brdr-b-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5520-brdr-b-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5520-brdr-b-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5520-brdr-b-01-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5520-brdr-b-01-e-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5520-brdr-b-01-e-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5520-ibrdr-b-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5520-ibrdr-b-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5520-ibrdr-b-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5521-brdr-l-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5521-brdr-l-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5521-brdr-l-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5521-brdr-l-01-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5521-brdr-l-01-e-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5521-brdr-l-01-e-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5521-brdr-l-02-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5521-brdr-l-02-e-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5521-brdr-l-02-e-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5521-ibrdr-l-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5521-ibrdr-l-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5521-ibrdr-l-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5522-brdr-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5522-brdr-00-b-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5522-brdr-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5522-brdr-01-b-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5522-brdr-01-b-g-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5522-brdr-01-b-g-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5522-brdr-02-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5522-brdr-02-e-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5522-brdr-02-e-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5522-ibrdr-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5522-ibrdr-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5522-ibrdr-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c414-flt-00-d-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c414-flt-00-d-expected.png: Added.
        * platform/gtk/css2.1/t0905-c414-flt-00-d-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c414-flt-01-d-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c414-flt-01-d-g-expected.png: Added.
        * platform/gtk/css2.1/t0905-c414-flt-01-d-g-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c414-flt-02-c-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c414-flt-02-c-expected.png: Added.
        * platform/gtk/css2.1/t0905-c414-flt-02-c-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c414-flt-03-c-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c414-flt-03-c-expected.png: Added.
        * platform/gtk/css2.1/t0905-c414-flt-03-c-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c414-flt-04-c-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c414-flt-04-c-expected.png: Added.
        * platform/gtk/css2.1/t0905-c414-flt-04-c-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c414-flt-fit-00-d-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c414-flt-fit-00-d-expected.png: Added.
        * platform/gtk/css2.1/t0905-c414-flt-fit-00-d-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c414-flt-fit-01-d-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c414-flt-fit-01-d-g-expected.png: Added.
        * platform/gtk/css2.1/t0905-c414-flt-fit-01-d-g-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c414-flt-wrap-00-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c414-flt-wrap-00-e-expected.png: Added.
        * platform/gtk/css2.1/t0905-c414-flt-wrap-00-e-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c414-flt-wrap-01-d-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c414-flt-wrap-01-d-g-expected.png: Added.
        * platform/gtk/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c5525-fltblck-00-d-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c5525-fltblck-00-d-ag-expected.png: Added.
        * platform/gtk/css2.1/t0905-c5525-fltblck-00-d-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c5525-fltblck-01-d-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c5525-fltblck-01-d-expected.png: Added.
        * platform/gtk/css2.1/t0905-c5525-fltblck-01-d-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c5525-fltclr-00-c-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c5525-fltclr-00-c-ag-expected.png: Added.
        * platform/gtk/css2.1/t0905-c5525-fltclr-00-c-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c5525-fltcont-00-d-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c5525-fltcont-00-d-g-expected.png: Added.
        * platform/gtk/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c5525-flthw-00-c-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c5525-flthw-00-c-g-expected.png: Added.
        * platform/gtk/css2.1/t0905-c5525-flthw-00-c-g-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c5525-fltinln-00-c-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c5525-fltinln-00-c-ag-expected.png: Added.
        * platform/gtk/css2.1/t0905-c5525-fltinln-00-c-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.png: Added.
        * platform/gtk/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c5525-fltmult-00-d-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c5525-fltmult-00-d-g-expected.png: Added.
        * platform/gtk/css2.1/t0905-c5525-fltmult-00-d-g-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c5525-fltwidth-00-c-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png: Added.
        * platform/gtk/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c5525-fltwidth-01-c-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c5525-fltwidth-01-c-g-expected.png: Added.
        * platform/gtk/css2.1/t0905-c5525-fltwidth-01-c-g-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c5525-fltwidth-02-c-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c5525-fltwidth-02-c-g-expected.png: Added.
        * platform/gtk/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c5525-fltwidth-03-c-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c5525-fltwidth-03-c-g-expected.png: Added.
        * platform/gtk/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c5525-fltwrap-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c5525-fltwrap-00-b-expected.png: Added.
        * platform/gtk/css2.1/t0905-c5525-fltwrap-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c5526-fltclr-00-c-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c5526-fltclr-00-c-ag-expected.png: Added.
        * platform/gtk/css2.1/t0905-c5526-fltclr-00-c-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0905-c5526-flthw-00-c-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0905-c5526-flthw-00-c-g-expected.png: Added.
        * platform/gtk/css2.1/t0905-c5526-flthw-00-c-g-expected.txt: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-01-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-01-b-expected.png: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-01-b-expected.txt: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-02-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-02-b-expected.png: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-02-b-expected.txt: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-03-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-03-b-expected.png: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-03-b-expected.txt: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-04-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-04-b-expected.png: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-04-b-expected.txt: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-05-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-05-b-expected.png: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-05-b-expected.txt: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-06-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-06-b-expected.png: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-06-b-expected.txt: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-07-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-07-b-expected.png: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-07-b-expected.txt: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-08-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-08-b-expected.png: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-08-b-expected.txt: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-09-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-09-b-expected.png: Added.
        * platform/gtk/css2.1/t1001-abs-pos-cb-09-b-expected.txt: Added.
        * platform/gtk/css2.1/t1002-c5523-width-00-b-g-expected.checksum: Added.
        * platform/gtk/css2.1/t1002-c5523-width-00-b-g-expected.png: Added.
        * platform/gtk/css2.1/t1002-c5523-width-00-b-g-expected.txt: Added.
        * platform/gtk/css2.1/t1002-c5523-width-01-b-g-expected.checksum: Added.
        * platform/gtk/css2.1/t1002-c5523-width-01-b-g-expected.png: Added.
        * platform/gtk/css2.1/t1002-c5523-width-01-b-g-expected.txt: Added.
        * platform/gtk/css2.1/t1002-c5523-width-02-b-g-expected.checksum: Added.
        * platform/gtk/css2.1/t1002-c5523-width-02-b-g-expected.png: Added.
        * platform/gtk/css2.1/t1002-c5523-width-02-b-g-expected.txt: Added.
        * platform/gtk/css2.1/t1004-c43-rpl-bbx-00-d-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t1004-c43-rpl-bbx-00-d-ag-expected.png: Added.
        * platform/gtk/css2.1/t1004-c43-rpl-bbx-00-d-ag-expected.txt: Added.
        * platform/gtk/css2.1/t1004-c43-rpl-ibx-00-d-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t1004-c43-rpl-ibx-00-d-ag-expected.png: Added.
        * platform/gtk/css2.1/t1004-c43-rpl-ibx-00-d-ag-expected.txt: Added.
        * platform/gtk/css2.1/t1004-c5524-width-00-b-g-expected.checksum: Added.
        * platform/gtk/css2.1/t1004-c5524-width-00-b-g-expected.png: Added.
        * platform/gtk/css2.1/t1004-c5524-width-00-b-g-expected.txt: Added.
        * platform/gtk/css2.1/t1005-c5524-width-00-b-g-expected.checksum: Added.
        * platform/gtk/css2.1/t1005-c5524-width-00-b-g-expected.png: Added.
        * platform/gtk/css2.1/t1005-c5524-width-00-b-g-expected.txt: Added.
        * platform/gtk/css2.1/t1005-c5524-width-01-b-g-expected.checksum: Added.
        * platform/gtk/css2.1/t1005-c5524-width-01-b-g-expected.png: Added.
        * platform/gtk/css2.1/t1005-c5524-width-01-b-g-expected.txt: Added.
        * platform/gtk/css2.1/t1008-c44-ln-box-00-d-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t1008-c44-ln-box-00-d-ag-expected.png: Added.
        * platform/gtk/css2.1/t1008-c44-ln-box-00-d-ag-expected.txt: Added.
        * platform/gtk/css2.1/t1008-c44-ln-box-01-d-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t1008-c44-ln-box-01-d-ag-expected.png: Added.
        * platform/gtk/css2.1/t1008-c44-ln-box-01-d-ag-expected.txt: Added.
        * platform/gtk/css2.1/t1008-c44-ln-box-02-d-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t1008-c44-ln-box-02-d-ag-expected.png: Added.
        * platform/gtk/css2.1/t1008-c44-ln-box-02-d-ag-expected.txt: Added.
        * platform/gtk/css2.1/t1008-c44-ln-box-03-d-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t1008-c44-ln-box-03-d-ag-expected.png: Added.
        * platform/gtk/css2.1/t1008-c44-ln-box-03-d-ag-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counter-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counter-00-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counter-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counter-01-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counter-01-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counter-01-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counter-02-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counter-02-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counter-02-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counter-03-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counter-03-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counter-03-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counter-04-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counter-04-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counter-04-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counter-05-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counter-05-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counter-05-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counter-06-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counter-06-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counter-06-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counter-07-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counter-07-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counter-07-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counter-08-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counter-08-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counter-08-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counter-09-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counter-09-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counter-09-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counter-11-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counter-11-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counter-11-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counter-12-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counter-12-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counter-12-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counter-13-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counter-13-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counter-13-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counter-14-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counter-14-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counter-14-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counter-15-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counter-15-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counter-15-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counter-16-f-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counter-16-f-expected.png: Added.
        * platform/gtk/css2.1/t1202-counter-16-f-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-00-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t1202-counters-01-b-expected.checksum: Added.
        * platform/gtk/css2.1/t1202-counters-01-b-expected.png: Added.
        * platform/gtk/css2.1/t1202-counters-01-b-expected.txt: Added.

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

10 years ago2011-01-26 Kenneth Russell <kbr@google.com>
kbr@google.com [Wed, 26 Jan 2011 22:06:45 +0000 (22:06 +0000)]
2011-01-26  Kenneth Russell  <kbr@google.com>

        Reviewed by James Robinson.

        Fix multisampling support in DrawingBuffer
        https://bugs.webkit.org/show_bug.cgi?id=53154

        Plumbed GL_ANGLE_framebuffer_multisample and
        GL_ANGLE_framebuffer_blit (exposed as the unified extension
        GL_CHROMIUM_framebuffer_multisample) through WebGraphicsContext3D.

        * public/WebGraphicsContext3D.h:
        * src/Extensions3DChromium.cpp:
        (WebCore::Extensions3DChromium::blitFramebuffer):
        (WebCore::Extensions3DChromium::renderbufferStorageMultisample):
        * src/GraphicsContext3DChromium.cpp:
        (WebCore::GraphicsContext3DInternal::supportsExtension):
        (WebCore::GraphicsContext3DInternal::ensureExtensionEnabled):
        * src/GraphicsContext3DInternal.h:
2011-01-26  Kenneth Russell  <kbr@google.com>

        Reviewed by James Robinson.

        Fix multisampling support in DrawingBuffer
        https://bugs.webkit.org/show_bug.cgi?id=53154

        In DrawingBuffer's multisampling code path, fixed enum usage and a
        bug where it would incorrectly redefine the depth and stencil
        buffers. Hooked up multisampling code path in Chromium port.

        Tested manually with some accelerated 2D canvas content.
        Multisampling isn't being switched on for the accelerated 2D
        canvas at the current time because it will increase fill rate
        requirements and cause a large number of rebaselines.

        * platform/graphics/Extensions3D.h:
        * platform/graphics/chromium/DrawingBufferChromium.cpp:
        (WebCore::DrawingBuffer::publishToPlatformLayer):
        * platform/graphics/chromium/Extensions3DChromium.h:
        * platform/graphics/gpu/DrawingBuffer.cpp:
        (WebCore::DrawingBuffer::create):
        (WebCore::DrawingBuffer::reset):
        * platform/graphics/opengl/Extensions3DOpenGL.cpp:
        (WebCore::Extensions3DOpenGL::supports):

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

10 years ago2011-01-26 Yael Aharon <yael.aharon@nokia.com>
yael.aharon@nokia.com [Wed, 26 Jan 2011 21:59:22 +0000 (21:59 +0000)]
2011-01-26  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt][Symbian] Fix --minimal build
        https://bugs.webkit.org/show_bug.cgi?id=52839

        Move definition of USE_SYSTEM_MALLOC out of pri file.
        Put it in platform.h instead.

        * Source/WebKit.pri:
2011-01-26  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt][Symbian] Fix --minimal build
        https://bugs.webkit.org/show_bug.cgi?id=52839

        Move definition of USE_SYSTEM_MALLOC out of pri file.
        Put it in platform.h instead.

        * wtf/Platform.h:
        * wtf/TCSystemAlloc.cpp:
        * wtf/wtf.pri:

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

10 years ago2011-01-26 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 26 Jan 2011 21:54:03 +0000 (21:54 +0000)]
2011-01-26  Martin Robinson  <mrobinson@igalia.com>

        Continue importing GTK+ test results for the CSS 2.1 test suite.

        * platform/gtk/Skipped: Unskip tests with results.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-05-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-05-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-05-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-06-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-06-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-06-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5504-mrgn-l-00-c-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5504-mrgn-l-00-c-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5504-mrgn-l-00-c-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5504-mrgn-l-01-c-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5504-mrgn-l-01-c-a-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5504-mrgn-l-01-c-a-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5504-mrgn-l-02-c-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5504-mrgn-l-02-c-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5504-mrgn-l-02-c-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5504-mrgn-l-03-c-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5504-mrgn-l-03-c-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5504-mrgn-l-03-c-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5505-imrgn-00-a-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5505-imrgn-00-a-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5505-imrgn-00-a-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5505-mrgn-00-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5505-mrgn-00-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5505-mrgn-00-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5505-mrgn-01-e-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5505-mrgn-01-e-a-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5505-mrgn-01-e-a-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5505-mrgn-02-c-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5505-mrgn-02-c-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5505-mrgn-02-c-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5505-mrgn-03-c-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5505-mrgn-03-c-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5505-mrgn-03-c-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5506-ipadn-t-00-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5506-ipadn-t-00-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5506-ipadn-t-00-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5506-ipadn-t-01-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5506-ipadn-t-01-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5506-ipadn-t-01-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5506-ipadn-t-02-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5506-ipadn-t-02-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5506-ipadn-t-02-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5506-padn-t-00-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5506-padn-t-00-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5506-padn-t-00-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5507-ipadn-r-00-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5507-ipadn-r-00-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5507-ipadn-r-00-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5507-ipadn-r-01-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5507-ipadn-r-01-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5507-ipadn-r-01-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5507-ipadn-r-02-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5507-ipadn-r-02-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5507-ipadn-r-02-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5507-ipadn-r-03-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5507-ipadn-r-03-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5507-ipadn-r-03-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5507-ipadn-r-04-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5507-ipadn-r-04-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5507-ipadn-r-04-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5507-padn-r-00-c-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5507-padn-r-00-c-ag-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5507-padn-r-00-c-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5507-padn-r-01-c-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5507-padn-r-01-c-a-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5507-padn-r-01-c-a-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5507-padn-r-02-f-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5507-padn-r-02-f-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5507-padn-r-02-f-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5507-padn-r-03-f-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5507-padn-r-03-f-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5507-padn-r-03-f-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5508-ipadn-b-00-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5508-ipadn-b-00-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5508-ipadn-b-00-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5508-ipadn-b-01-f-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5508-ipadn-b-01-f-a-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5508-ipadn-b-01-f-a-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5508-ipadn-b-02-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5508-ipadn-b-02-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5508-ipadn-b-02-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5508-ipadn-b-03-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5508-ipadn-b-03-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5508-ipadn-b-03-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5509-ipadn-l-00-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5509-ipadn-l-00-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5509-ipadn-l-00-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5509-ipadn-l-01-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5509-ipadn-l-01-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5509-ipadn-l-01-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5509-ipadn-l-02-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5509-ipadn-l-02-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5509-ipadn-l-02-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5509-ipadn-l-03-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5509-ipadn-l-03-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5509-ipadn-l-03-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5509-ipadn-l-04-f-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5509-ipadn-l-04-f-ag-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5509-ipadn-l-04-f-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5509-padn-l-00-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5509-padn-l-00-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5509-padn-l-00-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5509-padn-l-01-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5509-padn-l-01-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5509-padn-l-01-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5509-padn-l-02-f-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5509-padn-l-02-f-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5509-padn-l-02-f-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5509-padn-l-03-f-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5509-padn-l-03-f-g-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5509-padn-l-03-f-g-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5510-ipadn-00-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5510-ipadn-00-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5510-ipadn-00-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5510-padn-00-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5510-padn-00-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5510-padn-00-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5510-padn-01-e-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5510-padn-01-e-a-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5510-padn-01-e-a-expected.txt: Added.
        * platform/gtk/css2.1/t0804-c5510-padn-02-f-expected.checksum: Added.
        * platform/gtk/css2.1/t0804-c5510-padn-02-f-expected.png: Added.
        * platform/gtk/css2.1/t0804-c5510-padn-02-f-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5511-brdr-tw-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5511-brdr-tw-00-b-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5511-brdr-tw-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5511-brdr-tw-01-b-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5511-brdr-tw-01-b-g-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5511-brdr-tw-01-b-g-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5511-brdr-tw-02-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5511-brdr-tw-02-b-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5511-brdr-tw-02-b-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5511-brdr-tw-03-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5511-brdr-tw-03-b-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5511-brdr-tw-03-b-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5512-brdr-rw-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5512-brdr-rw-00-b-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5512-brdr-rw-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5512-brdr-rw-01-b-g-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5512-brdr-rw-01-b-g-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5512-brdr-rw-01-b-g-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5512-brdr-rw-02-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5512-brdr-rw-02-b-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5512-brdr-rw-02-b-expected.txt: Added.
        * platform/gtk/css2.1/t0805-c5512-brdr-rw-03-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0805-c5512-brdr-rw-03-b-expected.png: Added.
        * platform/gtk/css2.1/t0805-c5512-brdr-rw-03-b-expected.txt: Added.

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

10 years ago2011-01-26 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 26 Jan 2011 21:45:20 +0000 (21:45 +0000)]
2011-01-26  Martin Robinson  <mrobinson@igalia.com>

        Begin importing GTK+ results for the CSS 2.1 test suite. This will
        be the first in a series of commits. Each test results has been checked
        against those generated for Qt and Mac.

        * platform/gtk/Skipped: Unskip tests which now have results.
        * platform/gtk/css2.1/t0402-c71-fwd-parsing-00-f-expected.checksum: Added.
        * platform/gtk/css2.1/t0402-c71-fwd-parsing-00-f-expected.png: Added.
        * platform/gtk/css2.1/t0402-c71-fwd-parsing-00-f-expected.txt: Added.
        * platform/gtk/css2.1/t0402-c71-fwd-parsing-01-f-expected.checksum: Added.
        * platform/gtk/css2.1/t0402-c71-fwd-parsing-01-f-expected.png: Added.
        * platform/gtk/css2.1/t0402-c71-fwd-parsing-01-f-expected.txt: Added.
        * platform/gtk/css2.1/t0402-c71-fwd-parsing-02-f-expected.checksum: Added.
        * platform/gtk/css2.1/t0402-c71-fwd-parsing-02-f-expected.png: Added.
        * platform/gtk/css2.1/t0402-c71-fwd-parsing-02-f-expected.txt: Added.
        * platform/gtk/css2.1/t0402-c71-fwd-parsing-03-f-expected.checksum: Added.
        * platform/gtk/css2.1/t0402-c71-fwd-parsing-03-f-expected.png: Added.
        * platform/gtk/css2.1/t0402-c71-fwd-parsing-03-f-expected.txt: Added.
        * platform/gtk/css2.1/t0402-c71-fwd-parsing-04-f-expected.checksum: Added.
        * platform/gtk/css2.1/t0402-c71-fwd-parsing-04-f-expected.png: Added.
        * platform/gtk/css2.1/t0402-c71-fwd-parsing-04-f-expected.txt: Added.
        * platform/gtk/css2.1/t0402-syntax-01-f-expected.checksum: Added.
        * platform/gtk/css2.1/t0402-syntax-01-f-expected.png: Added.
        * platform/gtk/css2.1/t0402-syntax-01-f-expected.txt: Added.
        * platform/gtk/css2.1/t0402-syntax-02-f-expected.checksum: Added.
        * platform/gtk/css2.1/t0402-syntax-02-f-expected.png: Added.
        * platform/gtk/css2.1/t0402-syntax-02-f-expected.txt: Added.
        * platform/gtk/css2.1/t0402-syntax-03-f-expected.checksum: Added.
        * platform/gtk/css2.1/t0402-syntax-03-f-expected.png: Added.
        * platform/gtk/css2.1/t0402-syntax-03-f-expected.txt: Added.
        * platform/gtk/css2.1/t0402-syntax-04-f-expected.checksum: Added.
        * platform/gtk/css2.1/t0402-syntax-04-f-expected.png: Added.
        * platform/gtk/css2.1/t0402-syntax-04-f-expected.txt: Added.
        * platform/gtk/css2.1/t0402-syntax-05-f-expected.checksum: Added.
        * platform/gtk/css2.1/t0402-syntax-05-f-expected.png: Added.
        * platform/gtk/css2.1/t0402-syntax-05-f-expected.txt: Added.
        * platform/gtk/css2.1/t0402-syntax-06-f-expected.checksum: Added.
        * platform/gtk/css2.1/t0402-syntax-06-f-expected.png: Added.
        * platform/gtk/css2.1/t0402-syntax-06-f-expected.txt: Added.
        * platform/gtk/css2.1/t0505-c16-descendant-00-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0505-c16-descendant-00-e-expected.png: Added.
        * platform/gtk/css2.1/t0505-c16-descendant-00-e-expected.txt: Added.
        * platform/gtk/css2.1/t0505-c16-descendant-01-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0505-c16-descendant-01-e-expected.png: Added.
        * platform/gtk/css2.1/t0505-c16-descendant-01-e-expected.txt: Added.
        * platform/gtk/css2.1/t0505-c16-descendant-02-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0505-c16-descendant-02-e-expected.png: Added.
        * platform/gtk/css2.1/t0505-c16-descendant-02-e-expected.txt: Added.
        * platform/gtk/css2.1/t0509-c15-ids-00-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0509-c15-ids-00-a-expected.png: Added.
        * platform/gtk/css2.1/t0509-c15-ids-00-a-expected.txt: Added.
        * platform/gtk/css2.1/t0509-c15-ids-01-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0509-c15-ids-01-e-expected.png: Added.
        * platform/gtk/css2.1/t0509-c15-ids-01-e-expected.txt: Added.
        * platform/gtk/css2.1/t0509-id-sel-syntax-01-f-expected.checksum: Added.
        * platform/gtk/css2.1/t0509-id-sel-syntax-01-f-expected.png: Added.
        * platform/gtk/css2.1/t0509-id-sel-syntax-01-f-expected.txt: Added.
        * platform/gtk/css2.1/t0509-id-sel-syntax-02-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0509-id-sel-syntax-02-b-expected.png: Added.
        * platform/gtk/css2.1/t0509-id-sel-syntax-02-b-expected.txt: Added.
        * platform/gtk/css2.1/t0510-c25-pseudo-elmnt-00-c-expected.checksum: Added.
        * platform/gtk/css2.1/t0510-c25-pseudo-elmnt-00-c-expected.png: Added.
        * platform/gtk/css2.1/t0510-c25-pseudo-elmnt-00-c-expected.txt: Added.
        * platform/gtk/css2.1/t0511-c21-pseud-anch-00-e-i-expected.checksum: Added.
        * platform/gtk/css2.1/t0511-c21-pseud-anch-00-e-i-expected.png: Added.
        * platform/gtk/css2.1/t0511-c21-pseud-anch-00-e-i-expected.txt: Added.
        * platform/gtk/css2.1/t0511-c21-pseud-link-00-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0511-c21-pseud-link-00-e-expected.png: Added.
        * platform/gtk/css2.1/t0511-c21-pseud-link-00-e-expected.txt: Added.
        * platform/gtk/css2.1/t0511-c21-pseud-link-01-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0511-c21-pseud-link-01-e-expected.png: Added.
        * platform/gtk/css2.1/t0511-c21-pseud-link-01-e-expected.txt: Added.
        * platform/gtk/css2.1/t0511-c21-pseud-link-02-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0511-c21-pseud-link-02-e-expected.png: Added.
        * platform/gtk/css2.1/t0511-c21-pseud-link-02-e-expected.txt: Added.
        * platform/gtk/css2.1/t0511-c21-pseud-link-03-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0511-c21-pseud-link-03-e-expected.png: Added.
        * platform/gtk/css2.1/t0511-c21-pseud-link-03-e-expected.txt: Added.
        * platform/gtk/css2.1/t0602-c13-inh-underlin-00-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0602-c13-inh-underlin-00-e-expected.png: Added.
        * platform/gtk/css2.1/t0602-c13-inh-underlin-00-e-expected.txt: Added.
        * platform/gtk/css2.1/t0602-c13-inheritance-00-e-expected.checksum: Added.
        * platform/gtk/css2.1/t0602-c13-inheritance-00-e-expected.png: Added.
        * platform/gtk/css2.1/t0602-c13-inheritance-00-e-expected.txt: Added.
        * platform/gtk/css2.1/t0602-inherit-bdr-pad-b-00-expected.checksum: Added.
        * platform/gtk/css2.1/t0602-inherit-bdr-pad-b-00-expected.png: Added.
        * platform/gtk/css2.1/t0602-inherit-bdr-pad-b-00-expected.txt: Added.
        * platform/gtk/css2.1/t0603-c11-import-00-b-expected.checksum: Added.
        * platform/gtk/css2.1/t0603-c11-import-00-b-expected.png: Added.
        * platform/gtk/css2.1/t0603-c11-import-00-b-expected.txt: Added.
        * platform/gtk/css2.1/t0801-c412-hz-box-00-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0801-c412-hz-box-00-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0801-c412-hz-box-00-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5501-imrgn-t-00-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5501-imrgn-t-00-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5501-imrgn-t-00-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5501-mrgn-t-00-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5501-mrgn-t-00-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5501-mrgn-t-00-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-00-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-00-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-00-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-01-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-01-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-01-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-02-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-02-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-02-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-03-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-03-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-03-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-04-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-04-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-04-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-05-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-05-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-05-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-06-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-06-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5502-imrgn-r-06-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5502-mrgn-r-00-c-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5502-mrgn-r-00-c-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5502-mrgn-r-00-c-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5502-mrgn-r-01-c-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5502-mrgn-r-01-c-a-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5502-mrgn-r-01-c-a-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5502-mrgn-r-02-c-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5502-mrgn-r-02-c-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5502-mrgn-r-02-c-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5502-mrgn-r-03-c-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5502-mrgn-r-03-c-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5502-mrgn-r-03-c-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5503-imrgn-b-00-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5503-imrgn-b-00-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5503-imrgn-b-00-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5503-mrgn-b-00-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5503-mrgn-b-00-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5503-mrgn-b-00-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-00-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-00-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-00-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-01-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-01-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-01-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-02-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-02-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-02-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-03-b-a-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-03-b-a-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-03-b-a-expected.txt: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-04-b-ag-expected.checksum: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-04-b-ag-expected.png: Added.
        * platform/gtk/css2.1/t0803-c5504-imrgn-l-04-b-ag-expected.txt: Added.
        * platform/gtk/css2.1/t09-c5526c-display-00-e-expected.checksum: Added.
        * platform/gtk/css2.1/t09-c5526c-display-00-e-expected.png: Added.
        * platform/gtk/css2.1/t09-c5526c-display-00-e-expected.txt: Added.

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

10 years ago2011-01-26 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 26 Jan 2011 21:30:29 +0000 (21:30 +0000)]
2011-01-26  Tony Chang  <tony@chromium.org>

        Unreviewed.

        [chromium] revert r68310 because of race conditions detected by tsans
        https://bugs.webkit.org/show_bug.cgi?id=53185

        Causes stability problems for Chromium, http://crbug.com/70589

        * platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp:
        (WebCore::SQLiteFileSystem::registerSQLiteVFS):
2011-01-26  Tony Chang  <tony@chromium.org>

        Unreviewed.

        [chromium] revert r68310 because of race conditions detected by tsans
        https://bugs.webkit.org/show_bug.cgi?id=53185

        * DEPS: Roll chromium to 72673 to pick up sqlite revert.

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

10 years agoSkip fast/loader/willSendRequest-null-for-preload.html on GTK, because GTK doesn...
bweinstein@apple.com [Wed, 26 Jan 2011 21:07:38 +0000 (21:07 +0000)]
Skip fast/loader/willSendRequest-null-for-preload.html on GTK, because GTK doesn't have
support for setWillSendRequestReturnsNull.

* platform/gtk/Skipped:

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

10 years ago2011-01-26 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 26 Jan 2011 21:02:21 +0000 (21:02 +0000)]
2011-01-26  Ryosuke Niwa  <rniwa@webkit.org>

        Another unreviewed Chromium test expectation update.

        * platform/chromium/test_expectations.txt:

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

10 years ago2011-01-26 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 26 Jan 2011 20:46:20 +0000 (20:46 +0000)]
2011-01-26  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed Chromium test expectation update.

        * platform/chromium/test_expectations.txt:

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

10 years ago2011-01-26 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Wed, 26 Jan 2011 20:45:39 +0000 (20:45 +0000)]
2011-01-26  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        new-run-webkit-tests: add a "mock DRT" port implementation
        and a separate class that emulates what we expect the
        DumpRenderTree behavior to be.

        This will eventually replace port/dryrun.py and allow us to get
        better test coverage of the new-run-webkit-tests code as well as
        a reference for what new-run-webkit-tests expects from DRT.

        This is the first attempt at this, and it is pretty bare-boned. It
        really only has been tested on the 'mac' port (and a little on
        the 'chromium-mac' port.

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

        * Scripts/webkitpy/layout_tests/port/mock_drt.py: Added.
        * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py: Added.
        * Scripts/webkitpy/layout_tests/port/factory.py:

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

10 years ago2011-01-26 Justin Schuh <jschuh@chromium.org>
jschuh@chromium.org [Wed, 26 Jan 2011 20:42:28 +0000 (20:42 +0000)]
2011-01-26  Justin Schuh  <jschuh@chromium.org>

        Reviewed by Adam Barth.

        Make fireEventsAndUpdateStyle use stack local vectors.
        https://bugs.webkit.org/show_bug.cgi?id=46760

        Test: animations/animation-add-events-in-handler.html

        * page/animation/AnimationController.cpp:
        (WebCore::AnimationControllerPrivate::fireEventsAndUpdateStyle):
2011-01-26  Justin Schuh  <jschuh@chromium.org>

        Reviewed by Adam Barth.

        Make fireEventsAndUpdateStyle use stack local vectors.
        https://bugs.webkit.org/show_bug.cgi?id=46760

        * animations/animation-add-events-in-handler-expected.txt: Added.
        * animations/animation-add-events-in-handler.html: Added.

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

10 years ago2011-01-26 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 26 Jan 2011 20:32:21 +0000 (20:32 +0000)]
2011-01-26  Tony Chang  <tony@chromium.org>

        Unreviewed, marking fast/overflow/overflow-rtl-vertical.html as
        passing.  This was fixed in r76669.

        * platform/chromium/test_expectations.txt:

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

10 years agoSkip fast/loader/willSendRequest-null-for-preload.html on WebKit2, because WebKit2...
bweinstein@apple.com [Wed, 26 Jan 2011 20:12:30 +0000 (20:12 +0000)]
Skip fast/loader/willSendRequest-null-for-preload.html on WebKit2, because WebKit2 doesn't have
setWillSendRequestReturnsNull yet.

This is tracked by https://bugs.webkit.org/show_bug.cgi?id=42690.

* platform/mac-wk2/Skipped:

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

10 years agoUpdate the test landed in r76701 to not depend on loading a "script" from http:/...
bweinstein@apple.com [Wed, 26 Jan 2011 20:03:07 +0000 (20:03 +0000)]
Update the test landed in r76701 to not depend on loading a "script" from example.com, make it
use a local script (which still reproduces the crash).

Reviewed by Ryosuke Niwa.

* fast/loader/resources/empty-script.js: Added.
* fast/loader/willSendRequest-null-for-preload-expected.txt: Removed the line for the console error.
* fast/loader/willSendRequest-null-for-preload.html: Have the script in the head be a local script.
* platform/win/fast/loader: Removed.
* platform/win/fast/loader/willSendRequest-null-for-preload-expected.txt: Removed. No need for platform-specific results.

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

10 years ago2011-01-26 Xianzhu Wang <wangxianzhu@google.com>
commit-queue@webkit.org [Wed, 26 Jan 2011 19:53:52 +0000 (19:53 +0000)]
2011-01-26  Xianzhu Wang  <wangxianzhu@google.com>

        Reviewed by Tony Chang.

        Add '--no-timeout' option to Chromium DRT to ease debugging.
        https://bugs.webkit.org/show_bug.cgi?id=52873

        * DumpRenderTree/chromium/DumpRenderTree.cpp:
        (main):

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

10 years ago2011-01-26 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 26 Jan 2011 19:43:38 +0000 (19:43 +0000)]
2011-01-26  Ryosuke Niwa  <rniwa@webkit.org>

        Another unreviewed Chromium rebaselines for r76688.

        * platform/chromium-win/svg/batik/text/textEffect3-expected.checksum:
        * platform/chromium-win/svg/batik/text/textEffect3-expected.png:
        * platform/chromium-win/svg/custom/use-setAttribute-crash-expected.checksum:
        * platform/chromium-win/svg/custom/use-setAttribute-crash-expected.png:

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

10 years ago2011-01-26 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 26 Jan 2011 19:14:26 +0000 (19:14 +0000)]
2011-01-26  Nate Chapin  <japhet@chromium.org>

        Reviewed by Adam Barth.

        Remove m_URL from FrameLoader and depend on Document::url()
        instead. FrameLoader::url() will be removed in a followup patch.
        https://bugs.webkit.org/show_bug.cgi?id=41165

        Refactor only, no new tests.

        * WebCore.exp.in:
        * dom/Document.cpp:
        (WebCore::Document::Document):
        (WebCore::Document::updateURLForPushOrReplaceState):
        * loader/DocumentWriter.cpp:
        (WebCore::DocumentWriter::begin):
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::iconURL):
        (WebCore::FrameLoader::didOpenURL):
        (WebCore::FrameLoader::didExplicitOpen):
        (WebCore::FrameLoader::receivedFirstData):
        (WebCore::FrameLoader::url):
        (WebCore::FrameLoader::setOutgoingReferrer):
        (WebCore::FrameLoader::startIconLoader):
        (WebCore::FrameLoader::commitIconURLToIconDatabase):
        (WebCore::FrameLoader::finishedParsing):
        (WebCore::FrameLoader::checkIfDisplayInsecureContent):
        (WebCore::FrameLoader::checkIfRunInsecureContent):
        (WebCore::FrameLoader::updateFirstPartyForCookies):
        (WebCore::FrameLoader::loadInSameDocument):
        (WebCore::FrameLoader::commitProvisionalLoad):
        (WebCore::FrameLoader::open):
        (WebCore::FrameLoader::shouldScrollToAnchor):
        * loader/FrameLoader.h: Rename setURL() to setOutgoingReferrer().

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

10 years agoSource/WebCore: Crashes loading pages when cancelling subresource loads through WebKit
bweinstein@apple.com [Wed, 26 Jan 2011 19:07:15 +0000 (19:07 +0000)]
Source/WebCore: Crashes loading pages when cancelling subresource loads through WebKit
https://bugs.webkit.org/show_bug.cgi?id=53123
<rdar://problem/8914361>

Reviewed by Antti Koivisto.

Fix a crash that happened when cancelling subresource loads through WebKit.

When a load is cancelled synchronously (via the WebKit client), CachedResourceLoader::requestResource
can be called recursively on the same function, either leading to infinite recursion, or deleting
an object when it is not done being used.

The fix for this was to call checkForPendingPreloads and servePendingRequests asynchronously when
CachedResourceLoader::loadDone was called synchronously (due to the load being cancelled synchronously).

Test: fast/loader/willSendRequest-null-for-preload.html

* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::setRequest): Only dispatch didReceiveServerRedirectForProvisionalLoadForFrame
    if our new URL is non-null.
* loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::CachedResourceLoader): Initialize our timer.
(WebCore::CachedResourceLoader::loadDone): If the CachedResource we were passed in was 0, that means this
    function was called synchronously
    from CachedResourceRequest::load, and we don't want to call into checkForPendingPreloads synchronously,
    so put it on a 0-delay timer to make the calls to checkForPendingPreloads and servePendingRequests asynchronous.
(WebCore::CachedResourceLoader::loadDonePendingActionTimerFired): Call checkForPendingPreloads and servePendingRequests.
(WebCore::CachedResourceLoader::checkForPendingPreloads): m_pendingPreloads is now a Deque instead of a Vector,
    so use Deque methods.
* loader/cache/CachedResourceLoader.h: Add the timer, the timer callback function, and make m_pendingPreloads a Deque.

Source/WebKit2: Crashes loading pages when cancelling subresource loads through WebKit
https://bugs.webkit.org/show_bug.cgi?id=53123
<rdar://problem/8914361>

Reviewed by Antti Koivisto.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDecidePolicyForMIMEType): If our URL is null, return early instead of dispatching
    a message.

LayoutTests: Reviewed byAntti Koivisto.

Crashes loading pages when cancelling subresource loads through WebKit
https://bugs.webkit.org/show_bug.cgi?id=53123
<rdar://problem/8914361>

Add tests for crashing when cancelling subresource loads through WebKit via setWillSendRequestReturnsNull.

* fast/loader/willSendRequest-null-for-preload-expected.txt: Added.
* fast/loader/willSendRequest-null-for-preload.html: Added.

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

10 years ago2011-01-26 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 26 Jan 2011 18:40:47 +0000 (18:40 +0000)]
2011-01-26  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed Chromium Linux rebaselines for r76688.

        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.png:
        * platform/chromium-linux/svg/batik/text/textOnPathSpaces-expected.checksum:
        * platform/chromium-linux/svg/batik/text/textOnPathSpaces-expected.png:
        * platform/chromium-linux/svg/batik/text/verticalText-expected.checksum:
        * platform/chromium-linux/svg/batik/text/verticalText-expected.png:
        * platform/chromium-linux/svg/batik/text/verticalTextOnPath-expected.checksum:
        * platform/chromium-linux/svg/batik/text/verticalTextOnPath-expected.png:
        * platform/chromium-linux/svg/custom/linking-a-03-b-all-expected.checksum:
        * platform/chromium-linux/svg/custom/linking-a-03-b-all-expected.png:
        * platform/chromium-linux/svg/custom/linking-a-03-b-viewBox-transform-expected.checksum:
        * platform/chromium-linux/svg/custom/linking-a-03-b-viewBox-transform-expected.png:
        * platform/chromium-linux/svg/custom/preserve-aspect-ratio-syntax-expected.checksum:
        * platform/chromium-linux/svg/custom/preserve-aspect-ratio-syntax-expected.png:
        * platform/chromium-linux/svg/custom/use-transform-expected.checksum:
        * platform/chromium-linux/svg/custom/use-transform-expected.png:
        * platform/chromium-linux/svg/custom/viewbox-syntax-expected.checksum:
        * platform/chromium-linux/svg/custom/viewbox-syntax-expected.png:
        * platform/chromium-linux/svg/text/text-text-06-t-expected.checksum:
        * platform/chromium-linux/svg/text/text-text-06-t-expected.png:

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

10 years ago2011-01-25 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Wed, 26 Jan 2011 18:24:19 +0000 (18:24 +0000)]
2011-01-25  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: evaluate in console may not work when window.console is substituted or deleted.
        https://bugs.webkit.org/show_bug.cgi?id=53072

        * inspector/console-substituted-expected.txt: Added.
        * inspector/console-substituted.html: Added.
2011-01-25  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: evaluate in console may not work when window.console is substituted or deleted.
        https://bugs.webkit.org/show_bug.cgi?id=53072

        Test: inspector/console-substituted.html

        * inspector/InjectedScriptSource.js:
        (.):

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

10 years ago2011-01-26 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 26 Jan 2011 18:20:13 +0000 (18:20 +0000)]
2011-01-26  Ryosuke Niwa  <rniwa@webkit.org>

        Layout test missing expectation after 58524
        https://bugs.webkit.org/show_bug.cgi?id=38360

        Unreviewed; Chromium rebaselines.

        * platform/chromium-linux/fast/images/svg-background-partial-redraw-expected.checksum: Added.
        * platform/chromium-linux/fast/images/svg-background-partial-redraw-expected.png: Added.
        * platform/chromium-win/fast/images/svg-background-partial-redraw-expected.checksum: Added.
        * platform/chromium-win/fast/images/svg-background-partial-redraw-expected.png: Added.
        * platform/chromium-win/fast/images/svg-background-partial-redraw-expected.txt: Added.
        * platform/chromium-win/svg/carto.net/tabgroup-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

10 years ago2011-01-26 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Wed, 26 Jan 2011 18:17:00 +0000 (18:17 +0000)]
2011-01-26  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [cairo] Use CAIRO_OPERATOR_DARKEN when available
        https://bugs.webkit.org/show_bug.cgi?id=53084

        * platform/gtk/Skipped: Unskip test.
        * platform/gtk/fast/canvas/canvas-composite-expected.checksum: Added.
        * platform/gtk/fast/canvas/canvas-composite-expected.png: Added.
        * platform/gtk/fast/canvas/canvas-composite-expected.txt: Added.
2011-01-26  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [cairo] Use CAIRO_OPERATOR_DARKEN when available
        https://bugs.webkit.org/show_bug.cgi?id=53084

        Use CAIRO_OPERATOR_DARKEN for CompositePlusDarker instead of
        CAIRO_OPERATOR_SATURATE when building with cairo version >= 1.10.

        * platform/graphics/cairo/CairoUtilities.cpp:
        (WebCore::toCairoOperator):

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

10 years ago2011-01-26 Gustavo Noronha Silva <gns@gnome.org>
kov@webkit.org [Wed, 26 Jan 2011 18:09:08 +0000 (18:09 +0000)]
2011-01-26  Gustavo Noronha Silva  <gns@gnome.org>

        Rubber-stamped by Andreas Kling.

        Fix my blog's feed URL, since it seems to have changed with the
        new version of Wordpress causing unwanted posts to appear in
        Planet WebKit.

        * config.ini:

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

10 years ago2011-01-26 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 26 Jan 2011 18:07:17 +0000 (18:07 +0000)]
2011-01-26  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed Chromium rebaselines for r76688.

        * platform/chromium-linux/fast/backgrounds/size/contain-and-cover-expected.checksum:
        * platform/chromium-linux/fast/backgrounds/size/contain-and-cover-expected.png:
        * platform/chromium-linux/fast/backgrounds/svg-as-background-5-expected.checksum:
        * platform/chromium-linux/fast/backgrounds/svg-as-background-5-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-33-t-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-33-t-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
        * platform/chromium-linux/svg/custom/focus-ring-expected.checksum:
        * platform/chromium-linux/svg/custom/focus-ring-expected.png:
        * platform/chromium-linux/svg/custom/svg-curve-with-relative-cordinates-expected.checksum:
        * platform/chromium-linux/svg/custom/svg-curve-with-relative-cordinates-expected.png:
        * platform/chromium-linux/svg/transforms/animated-path-inside-transformed-html-expected.checksum: Added.
        * platform/chromium-linux/svg/transforms/animated-path-inside-transformed-html-expected.png: Added.
        * platform/chromium-win/fast/backgrounds/size/contain-and-cover-expected.checksum:
        * platform/chromium-win/fast/backgrounds/size/contain-and-cover-expected.png:
        * platform/chromium-win/fast/backgrounds/svg-as-background-5-expected.checksum:
        * platform/chromium-win/fast/backgrounds/svg-as-background-5-expected.png:
        * platform/chromium-win/fast/images/animated-svg-as-image-expected.checksum:
        * platform/chromium-win/fast/images/animated-svg-as-image-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-24-t-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-24-t-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-33-t-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-33-t-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-groups-01-b-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-groups-01-b-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-groups-03-t-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-groups-03-t-expected.png:
        * platform/chromium-win/svg/custom/focus-ring-expected.checksum:
        * platform/chromium-win/svg/custom/focus-ring-expected.png:
        * platform/chromium-win/svg/custom/svg-curve-with-relative-cordinates-expected.checksum:
        * platform/chromium-win/svg/custom/svg-curve-with-relative-cordinates-expected.png:
        * platform/chromium-win/svg/custom/use-css-events-expected.checksum:
        * platform/chromium-win/svg/custom/use-css-events-expected.png:
        * platform/chromium-win/svg/transforms/animated-path-inside-transformed-html-expected.checksum:
        * platform/chromium-win/svg/transforms/animated-path-inside-transformed-html-expected.png:
        * platform/chromium-win/svg/zoom/text/zoom-coords-viewattr-01-b-expected.checksum:
        * platform/chromium-win/svg/zoom/text/zoom-coords-viewattr-01-b-expected.png:

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

10 years ago[Qt] Fix qt_minimal build
ossy@webkit.org [Wed, 26 Jan 2011 17:56:42 +0000 (17:56 +0000)]
[Qt] Fix qt_minimal build
https://bugs.webkit.org/show_bug.cgi?id=53172

Reviewed by Andreas Kling.

* Source/WebKit.pri:
* Tools/QtTestBrowser/locationedit.h:

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

10 years ago2011-01-26 Mansi Mithal <mansi.mithal@nokia.com>
commit-queue@webkit.org [Wed, 26 Jan 2011 17:32:54 +0000 (17:32 +0000)]
2011-01-26  Mansi Mithal  <mansi.mithal@nokia.com>

        Reviewed by Antonio Gomes.

        QtTestBrowser should have a UI Setting to disable plugins
        https://bugs.webkit.org/show_bug.cgi?id=52408

        Added a new action item named "Disable Plugins"
        under the "Settings" menu.

        * QtTestBrowser/launcherwindow.cpp:
        (LauncherWindow::createChrome):
        (LauncherWindow::togglePlugins):
        * QtTestBrowser/launcherwindow.h:

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

10 years ago2011-01-26 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 26 Jan 2011 17:19:06 +0000 (17:19 +0000)]
2011-01-26  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: visualize \n in strings as unicode cr
        symbol in stack variables sidebar.
        https://bugs.webkit.org/show_bug.cgi?id=53162

        * inspector/front-end/ObjectPropertiesSection.js:
        (WebInspector.ObjectPropertyTreeElement.prototype.update):

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

10 years agoUnreviewed: fixed bug summary in ChangeLog entry for r76690.
caseq@chromium.org [Wed, 26 Jan 2011 16:24:45 +0000 (16:24 +0000)]
Unreviewed: fixed bug summary in ChangeLog entry for r76690.

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

10 years ago2011-01-26 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Wed, 26 Jan 2011 16:06:28 +0000 (16:06 +0000)]
2011-01-26  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: summary bar is not resized properly with the rest of network panel
        - Set the size for 304/not modified resources from cached resource.
        - Add response headers size to resource transfer size.
        https://bugs.webkit.org/show_bug.cgi?id=52886

        * inspector/InspectorResourceAgent.cpp:
        (WebCore::InspectorResourceAgent::didReceiveResponse):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource):
        (WebInspector.Resource.prototype.get transferSize):
        (WebInspector.Resource.prototype.set responseHeaders):
        (WebInspector.Resource.prototype._headersSize):
        (WebInspector.Resource.prototype._mimeTypeIsConsistentWithType):

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

10 years ago2011-01-26 Carol Szabo <carol.szabo@nokia.com>
carol.szabo@nokia.com [Wed, 26 Jan 2011 15:51:35 +0000 (15:51 +0000)]
2011-01-26  Carol Szabo  <carol.szabo@nokia.com>

        Reviewed by Simon Hausmann.

        Fixed TiledBacking store to take into account new dirty regions caused by
        paint time layouts.

        Flawed rendering design for QtWebKit resulting in artifacts being displayed
        https://bugs.webkit.org/show_bug.cgi?id=49184

        There are no new tests as this patch aims at fixing flicker that
        happen randomly, mostly on slow hardware, thus are hard to reproduce
        consistently in an automated test.

        This patch does not fully address the said bug but it is a step in the
        right direction. A full solution to the bug, as currently perceived,
        requires either a Qt GUI API change, a performance hit for QtWebKit,
        or a hack, until a full solution is provided this patch is progress.

        * platform/graphics/TiledBackingStore.cpp:
        (WebCore::TiledBackingStore::updateTileBuffers):
        Changed to take into account newly dirtied areas created during
        tile update initiated layouts during the same update.

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

10 years ago2011-01-26 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Wed, 26 Jan 2011 14:50:19 +0000 (14:50 +0000)]
2011-01-26  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [SKIA] Remove "current path" of GraphicsContext
        https://bugs.webkit.org/show_bug.cgi?id=53124

        * platform/graphics/GraphicsContext.h:
        * platform/graphics/skia/GraphicsContextSkia.cpp:
        (WebCore::GraphicsContext::clipPath):
        (WebCore::GraphicsContext::fillPath):
        (WebCore::GraphicsContext::strokePath):
        * platform/graphics/skia/PathSkia.cpp:
        (WebCore::Path::strokeBoundingRect):
        * platform/graphics/skia/PlatformContextSkia.cpp:
        * platform/graphics/skia/PlatformContextSkia.h:

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

10 years ago2011-01-26 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Wed, 26 Jan 2011 14:11:17 +0000 (14:11 +0000)]
2011-01-26  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [WINCE] Add JIT support to build system
        https://bugs.webkit.org/show_bug.cgi?id=53079

        * CMakeListsWinCE.txt:

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

10 years ago2011-01-26 Zalan Bujtas <zbujtas@gmail.com>
andreas.kling@nokia.com [Wed, 26 Jan 2011 14:09:50 +0000 (14:09 +0000)]
2011-01-26  Zalan Bujtas <zbujtas@gmail.com>

        Reviewed by Andreas Kling.

        [Qt] Path::normalAngleAtLength() returns incorrect value on ACID3.

        QPainterPath returns angle values with the origo being at the top left corner,
        we need to account for this in normalAngleAtLength().
        This Regressed with r66979.

        No new tests as this is already covered by ACID3.

        * platform/graphics/qt/PathQt.cpp:
        (WebCore::Path::normalAngleAtLength):

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

10 years ago2011-01-26 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Wed, 26 Jan 2011 13:06:48 +0000 (13:06 +0000)]
2011-01-26  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Andreas Kling.

        Skip a test for WebKit2 that uses eventSender
        https://bugs.webkit.org/show_bug.cgi?id=53168

        * platform/mac-wk2/Skipped:

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

10 years ago2011-01-26 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 26 Jan 2011 11:43:09 +0000 (11:43 +0000)]
2011-01-26  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: inspector should start in attached state by default
        https://bugs.webkit.org/show_bug.cgi?id=53165

        * WebCoreSupport/WebInspectorClientCF.cpp:
        (WebInspectorClient::inspectorStartsAttached):

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

10 years ago2011-01-26 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 26 Jan 2011 11:39:52 +0000 (11:39 +0000)]
2011-01-26  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: inspector tests fix.

        * http/tests/inspector/inspector-test2.js:
        (initialize_InspectorTest.InspectorTest.evaluateInPage):
        * inspector/console-format.html:

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

10 years ago2011-01-26 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Wed, 26 Jan 2011 10:26:56 +0000 (10:26 +0000)]
2011-01-26  Carlos Garcia Campos  <cgarcia@igalia.com>

        Unreviewed, unskip passing canvas tests in GTK port.

        * platform/gtk/Skipped: Unskip passing canvas tests.
        * platform/gtk/fast/canvas/arc360-expected.checksum: Added.
        * platform/gtk/fast/canvas/arc360-expected.png: Added.
        * platform/gtk/fast/canvas/arc360-expected.txt: Added.
        * platform/gtk/fast/canvas/canvas-as-image-expected.checksum: Added.
        * platform/gtk/fast/canvas/canvas-as-image-expected.png: Added.
        * platform/gtk/fast/canvas/canvas-as-image-expected.txt: Added.
        * platform/gtk/fast/canvas/canvas-as-image-incremental-repaint-expected.checksum: Added.
        * platform/gtk/fast/canvas/canvas-as-image-incremental-repaint-expected.png: Added.
        * platform/gtk/fast/canvas/canvas-as-image-incremental-repaint-expected.txt: Added.
        * platform/gtk/fast/canvas/canvas-before-css-expected.checksum: Added.
        * platform/gtk/fast/canvas/canvas-before-css-expected.png: Added.
        * platform/gtk/fast/canvas/canvas-before-css-expected.txt: Added.
        * platform/gtk/fast/canvas/canvas-bg-expected.checksum: Added.
        * platform/gtk/fast/canvas/canvas-bg-expected.png: Added.
        * platform/gtk/fast/canvas/canvas-bg-expected.txt: Added.
        * platform/gtk/fast/canvas/canvas-bg-zoom-expected.checksum: Added.
        * platform/gtk/fast/canvas/canvas-bg-zoom-expected.png: Added.
        * platform/gtk/fast/canvas/canvas-bg-zoom-expected.txt: Added.
        * platform/gtk/fast/canvas/canvas-incremental-repaint-2-expected.checksum: Added.
        * platform/gtk/fast/canvas/canvas-incremental-repaint-2-expected.png: Added.
        * platform/gtk/fast/canvas/canvas-incremental-repaint-2-expected.txt: Added.
        * platform/gtk/fast/canvas/canvas-resize-reset-expected.checksum: Added.
        * platform/gtk/fast/canvas/canvas-resize-reset-expected.png: Added.
        * platform/gtk/fast/canvas/canvas-resize-reset-expected.txt: Added.
        * platform/gtk/fast/canvas/canvas-size-change-after-layout-expected.checksum: Added.
        * platform/gtk/fast/canvas/canvas-size-change-after-layout-expected.png: Added.
        * platform/gtk/fast/canvas/canvas-size-change-after-layout-expected.txt: Added.
        * platform/gtk/fast/canvas/canvas-text-baseline-expected.checksum: Added.
        * platform/gtk/fast/canvas/canvas-text-baseline-expected.png: Added.
        * platform/gtk/fast/canvas/canvas-text-baseline-expected.txt: Added.
        * platform/gtk/fast/canvas/canvas-transforms-during-path-expected.checksum: Added.
        * platform/gtk/fast/canvas/canvas-transforms-during-path-expected.png: Added.
        * platform/gtk/fast/canvas/canvas-transforms-during-path-expected.txt: Added.
        * platform/gtk/fast/canvas/canvasDrawingIntoSelf-expected.checksum: Added.
        * platform/gtk/fast/canvas/canvasDrawingIntoSelf-expected.png: Added.
        * platform/gtk/fast/canvas/canvasDrawingIntoSelf-expected.txt: Added.
        * platform/gtk/fast/canvas/drawImage-expected.checksum: Added.
        * platform/gtk/fast/canvas/drawImage-expected.png: Added.
        * platform/gtk/fast/canvas/drawImage-expected.txt: Added.
        * platform/gtk/fast/canvas/drawImage-with-globalAlpha-expected.checksum: Added.
        * platform/gtk/fast/canvas/drawImage-with-globalAlpha-expected.png: Added.
        * platform/gtk/fast/canvas/drawImage-with-globalAlpha-expected.txt: Added.
        * platform/gtk/fast/canvas/fill-stroke-clip-reset-path-expected.checksum: Added.
        * platform/gtk/fast/canvas/fill-stroke-clip-reset-path-expected.png: Added.
        * platform/gtk/fast/canvas/fill-stroke-clip-reset-path-expected.txt: Added.
        * platform/gtk/fast/canvas/fillrect-gradient-zero-stops-expected.checksum: Added.
        * platform/gtk/fast/canvas/fillrect-gradient-zero-stops-expected.png: Added.
        * platform/gtk/fast/canvas/fillrect-gradient-zero-stops-expected.txt: Added.
        * platform/gtk/fast/canvas/fillrect_gradient-expected.checksum: Added.
        * platform/gtk/fast/canvas/fillrect_gradient-expected.png: Added.
        * platform/gtk/fast/canvas/fillrect_gradient-expected.txt: Added.
        * platform/gtk/fast/canvas/gradient-add-second-start-end-stop-expected.checksum: Added.
        * platform/gtk/fast/canvas/gradient-add-second-start-end-stop-expected.png: Added.
        * platform/gtk/fast/canvas/gradient-add-second-start-end-stop-expected.txt: Added.
        * platform/gtk/fast/canvas/image-object-in-canvas-expected.checksum: Added.
        * platform/gtk/fast/canvas/image-object-in-canvas-expected.png: Added.
        * platform/gtk/fast/canvas/image-object-in-canvas-expected.txt: Added.
        * platform/gtk/fast/canvas/quadraticCurveTo-expected.checksum: Added.
        * platform/gtk/fast/canvas/quadraticCurveTo-expected.png: Added.
        * platform/gtk/fast/canvas/quadraticCurveTo-expected.txt: Added.
        * platform/gtk/fast/canvas/zero-size-fill-rect-expected.checksum: Added.
        * platform/gtk/fast/canvas/zero-size-fill-rect-expected.png: Added.
        * platform/gtk/fast/canvas/zero-size-fill-rect-expected.txt: Added.

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

10 years ago2011-01-26 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 26 Jan 2011 10:24:59 +0000 (10:24 +0000)]
2011-01-26  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: live edit does not update source snippet.
        https://bugs.webkit.org/show_bug.cgi?id=53097

        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype._scriptSourceChanged):

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

10 years ago2011-01-26 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 26 Jan 2011 10:19:04 +0000 (10:19 +0000)]
2011-01-26  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Incorrect on-hover evaluation of a variable named 'profile'.
        https://bugs.webkit.org/show_bug.cgi?id=53018

        * inspector/InjectedScript.cpp:
        (WebCore::InjectedScript::evaluate):
        (WebCore::InjectedScript::evaluateOnCallFrame):
        (WebCore::InjectedScript::getCompletions):
        (WebCore::InjectedScript::getCompletionsOnCallFrame):
        * inspector/InjectedScript.h:
        * inspector/InjectedScriptSource.js:
        (.):
        * inspector/Inspector.idl:
        * inspector/InspectorDebuggerAgent.cpp:
        (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
        (WebCore::InspectorDebuggerAgent::getCompletionsOnCallFrame):
        * inspector/InspectorDebuggerAgent.h:
        * inspector/InspectorRuntimeAgent.cpp:
        (WebCore::InspectorRuntimeAgent::evaluate):
        (WebCore::InspectorRuntimeAgent::getCompletions):
        * inspector/InspectorRuntimeAgent.h:
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype.completions):
        (WebInspector.ConsoleView.prototype.evalInInspectedWindow):
        (WebInspector.ConsoleView.prototype._enterKeyPressed):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame.updatingCallbackWrapper):
        (WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame):
        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype._showPopup):
        * inspector/front-end/WatchExpressionsSidebarPane.js:
        (WebInspector.WatchExpressionsSection.prototype.update):

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

10 years ago2011-01-26 Hironori Bono <hbono@chromium.org>
commit-queue@webkit.org [Wed, 26 Jan 2011 10:12:50 +0000 (10:12 +0000)]
2011-01-26  Hironori Bono  <hbono@chromium.org>

        Reviewed by Kent Tamura.

        A speculative fix for Bug 52422 - [chromium] More crash in
        FontFallbackList::determinePitch(const Font* font)
        https://bugs.webkit.org/show_bug.cgi?id=52422

        My previous change may not work on non-US Windows whose system fonts
        have localized aliases matching to the system locale because of a
        font-name mismatch in createFontIndirectAndGetWinName(). This change
        tries all the fonts installed in a PC and returns the first font that we
        can create without errors.

        * platform/graphics/chromium/FontCacheChromiumWin.cpp:
        (WebCore::GetLastResortFallbackFontProcData::GetLastResortFallbackFontProcData):
        Added a struct used for getLastResortFallbackFontProc().
        (WebCore::getLastResortFallbackFontProc): Added a callback for EnumFontFamilies().
        (WebCore::FontCache::getLastResortFallbackFont): Use EnumFontFamilies() to find a last-resort font.

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

10 years ago2011-01-26 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Wed, 26 Jan 2011 09:42:02 +0000 (09:42 +0000)]
2011-01-26  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed Chromium test expectation change.

        Mark some complex script tests as failing since r76674.

        * platform/chromium/test_expectations.txt:

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

10 years ago2011-01-26 James Robinson <jamesr@chromium.org>
commit-queue@webkit.org [Wed, 26 Jan 2011 09:18:17 +0000 (09:18 +0000)]
2011-01-26  James Robinson  <jamesr@chromium.org>

        Reviewed by Nate Chapin.

        Add a DOMTimeStamp parameter to the requestAnimationFrame callback
        https://bugs.webkit.org/show_bug.cgi?id=53142

        Adds a test for the parameter passed to the requestAnimationFrame callback.

        * fast/animation/request-animation-frame-timestamps-expected.txt: Added.
        * fast/animation/request-animation-frame-timestamps.html: Added.
        * fast/animation/script-tests/request-animation-frame-timestamps.js: Added.
2011-01-26  James Robinson  <jamesr@chromium.org>

        Reviewed by Nate Chapin.

        Add a DOMTimeStamp parameter to the requestAnimationFrame callback
        https://bugs.webkit.org/show_bug.cgi?id=53142

        This adds a DOMTimeStamp parameter to the requestAnimationFrame callback to more
        closely match mozilla's proposal.  This is useful if the page has multiple imperative animations
        and wants to ensure that they all remain synchronized.  If each callback used Date.now() to
        update its animation state, they would potentially be out of sync with each other.  If they use
        the timestamp then all callbacks for the same "frame" will update to the same state.

        Test: fast/animation/request-animation-frame-timestamps.html

        * bindings/scripts/CodeGeneratorV8.pm:
        * bindings/scripts/test/V8/V8TestCallback.cpp:
        (WebCore::V8TestCallback::callbackWithClass2Param):
        * dom/Document.cpp:
        (WebCore::Document::serviceScriptedAnimations):
        * dom/Document.h:
        * dom/RequestAnimationFrameCallback.h:
        * dom/RequestAnimationFrameCallback.idl:
        * page/FrameView.cpp:
        (WebCore::FrameView::serviceScriptedAnimations):
        * page/FrameView.h:
2011-01-26  James Robinson  <jamesr@chromium.org>

        Reviewed by Nate Chapin.

        Add a DOMTimeStamp parameter to the requestAnimationFrame callback
        https://bugs.webkit.org/show_bug.cgi?id=53142

        Provides a timestamp to use for imperative animation callbacks.  In this patch the timestamp is
        just the current time at the start of the callback invocation algorithm.  In the future we
        could enhance this to try to take the compositing delay into effect to try to synchronize
        imperative animations more closely with declarative ones, but this should do for now.

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::animate):

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

10 years ago2011-01-25 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Wed, 26 Jan 2011 07:58:06 +0000 (07:58 +0000)]
2011-01-25  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed attempt to fix compilation error for Chromium Clang.

        * platform/graphics/mac/ComplexTextController.cpp:
        (WebCore::ComplexTextController::advance):

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

10 years ago2011-01-25 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Wed, 26 Jan 2011 07:17:33 +0000 (07:17 +0000)]
2011-01-25  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed Chromium test expectation change

        Mark fast/text/offsetForPosition-complex-fallback.html as failing for WIN and LINUX.

        * platform/chromium/test_expectations.txt:

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

10 years ago2011-01-25 Ned Holbrook <nholbrook@apple.com>
commit-queue@webkit.org [Wed, 26 Jan 2011 06:08:41 +0000 (06:08 +0000)]
2011-01-25  Ned Holbrook  <nholbrook@apple.com>

        Reviewed by Dan Bernstein.

        ComplexTextController incorrectly conflates string length and range of indexes
        https://bugs.webkit.org/show_bug.cgi?id=52760

        * fast/text/offsetForPosition-complex-fallback-expected.txt: Added.
        * fast/text/offsetForPosition-complex-fallback.html: Added.
2011-01-25  Ned Holbrook  <nholbrook@apple.com>

        Reviewed by Dan Bernstein.

        ComplexTextController incorrectly conflates string length and range of indexes
        https://bugs.webkit.org/show_bug.cgi?id=52760

        Test: fast/text/offsetForPosition-complex-fallback.html

        * platform/graphics/mac/ComplexTextController.cpp:
        (WebCore::ComplexTextController::offsetForPosition):
        (WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun):
        (WebCore::ComplexTextController::ComplexTextRun::setIsNonMonotonic):
        (WebCore::ComplexTextController::advance):
        * platform/graphics/mac/ComplexTextController.h:
        (WebCore::ComplexTextController::ComplexTextRun::create):
        (WebCore::ComplexTextController::ComplexTextRun::indexEnd):
        * platform/graphics/mac/ComplexTextControllerATSUI.cpp:
        (WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun):
        * platform/graphics/mac/ComplexTextControllerCoreText.cpp:
        (WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun):
        (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText):

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

10 years agoMake this test a bit more robust agains different scrollbar widths.
weinig@apple.com [Wed, 26 Jan 2011 05:41:57 +0000 (05:41 +0000)]
Make this test a bit more robust agains different scrollbar widths.

* fast/overflow/overflow-rtl-vertical-origin.html:

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

10 years agoWindows production build fix.
sfalken@apple.com [Wed, 26 Jan 2011 05:13:03 +0000 (05:13 +0000)]
Windows production build fix.
Build correct configuration of Interfaces for Debug_All.

* WebKit.vcproj/WebKit.submit.sln:

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

10 years agoScrollbars don't work correctly for top-to-bottom text in an overflow: scroll area
weinig@apple.com [Wed, 26 Jan 2011 05:02:13 +0000 (05:02 +0000)]
Scrollbars don't work correctly for top-to-bottom text in an overflow: scroll area
https://bugs.webkit.org/show_bug.cgi?id=53048

Reviewed by David Hyatt.

Source/WebCore:

Test: fast/overflow/overflow-rtl-vertical-origin.html

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::scrollPosition):
(WebCore::RenderLayer::updateScrollInfoAfterLayout):
Take the scroll origin into account when calculating scrollbars in more places.

LayoutTests:

* fast/overflow/overflow-rtl-vertical-origin-expected.txt: Added.
* fast/overflow/overflow-rtl-vertical-origin.html: Added.

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

10 years ago2011-01-25 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Wed, 26 Jan 2011 04:50:12 +0000 (04:50 +0000)]
2011-01-25  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        * platform/chromium-win/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.checksum: Added.
        * platform/chromium-win/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png: Added.
        * platform/chromium-win/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt: Added.
        * platform/chromium-win/fast/speech/input-appearance-numberandspeech-expected.checksum:
        * platform/chromium-win/fast/speech/input-appearance-numberandspeech-expected.png:
        * platform/chromium-win/fast/speech/input-appearance-numberandspeech-expected.txt:
        * platform/chromium/test_expectations.txt:

2011-01-25  Kent Tamura  <tkent@chromium.org>

        Unreviewed trivial change.

        * DEPS: Roll to r72581 to have a webkit_support fix.

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

10 years agoWindows production build fix.
sfalken@apple.com [Wed, 26 Jan 2011 04:39:25 +0000 (04:39 +0000)]
Windows production build fix.
Use correct configuration-specific path in makefile.

* WebCore.vcproj/WebCore.make:

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

10 years agoRadio button group state is not restored correctly
tkent@chromium.org [Wed, 26 Jan 2011 04:18:51 +0000 (04:18 +0000)]
Radio button group state is not restored correctly
https://bugs.webkit.org/show_bug.cgi?id=50442

Reviewed by Dimitri Glazkov.

Source/WebCore:

Fixes a bug that radio button states are not restored correctly in
a case that non-first radio button in a group is checked.

If "checked" attribute is present, the radio button is checked and
other radio buttons in the group are unchecked. This behavior
disturbs form state restoring. This patch changes this behavior so
that the "checked" attribute handling is delayed after form state
restoring.

Test: fast/forms/state-restore-radio-group.html

* html/HTMLFormControlElement.h:
 Make finishParsingChildren() protected so that HTMLInpuElement can call it.
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::HTMLInputElement):
 - Add createdByParser parameter.
 - Initialize m_stateRestored and m_parsingInProgress.
(WebCore::HTMLInputElement::create): Sync with the constructor.
(WebCore::HTMLInputElement::restoreFormControlState):
 Set m_stateRestored in order to refer it in finishParsingChildren().
(WebCore::HTMLInputElement::parseMappedAttribute):
 Don't call setChecked() during parsing. Move setNeedsValidityCheck()
 to setChecked().
(WebCore::HTMLInputElement::finishParsingChildren):
 Call setChecked() if form state is not restored.
(WebCore::HTMLInputElement::setChecked):
 Move setNeedsValidityCheck() from parseMappedAttribute() because
 finishParsingChildren() also needs to call setNeedsValidityCheck().
* html/HTMLInputElement.h:
 - Remove the default value of HTMLFormElement* of the HTMLInputElement
   constructor, and add createdByParser parameter.
 - Introduce m_parsingInProgress and m_stateRestored.
* html/HTMLIsIndexElement.cpp:
(WebCore::HTMLIsIndexElement::HTMLIsIndexElement):
 Sync with the HTMLInputElement constructor change.
* html/HTMLTagNames.in: Add constructorNeedsCreatedByParser flag.
* rendering/MediaControlElements.cpp:
(WebCore::MediaControlInputElement::MediaControlInputElement):
 Sync with the HTMLInputElement constructor change.
* rendering/ShadowElement.cpp:
(WebCore::ShadowInputElement::ShadowInputElement): ditto.
* rendering/ShadowElement.h:
(WebCore::ShadowElement::ShadowElement): ditto.

LayoutTests:

* fast/forms/state-restore-radio-group-expected.txt: Added.
* fast/forms/state-restore-radio-group.html: Added.

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