WebKit-https.git
7 years agohttps://bugs.webkit.org/show_bug.cgi?id=69966
antti@apple.com [Mon, 17 Oct 2011 19:49:07 +0000 (19:49 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=69966
Eliminate separate RenderStyle for visited link style

Reviewed by Dave Hyatt and Nikolas Zimmermann.

There are only a few properties that can apply to visited links and they can
be part of the regular style. Many things will get simpler when the separate
RenderStyle for visited links is eliminated.

- Add valid visited link properties as separate fields to RenderStyle. The
  visitedLinkColor goes to inherited, everything else goes to rare data structures.
- Make RenderStyle::visitedDependentColor() get the visited style from the new fields.
- As VISITED_LINK pseudo style doesn't exists anymore, remove all code dealing with it.
- Make CSSStyleSelector and ApplyPropertyColor apply the visited link style to the
  newly added fields instead of a separate RenderStyle.
- Same thing with SVGRenderStyle, SVGCSSStyleSelector.
- Fixup the SVG visited link style code to use the new fields.

This is ~15% progression in styleForElement performance over the HTML5 spec load.

* css/CSSStyleApplyProperty.cpp:
(WebCore::ApplyPropertyColor::ApplyPropertyColor):
(WebCore::ApplyPropertyColor::applyInheritValue):
(WebCore::ApplyPropertyColor::applyInitialValue):
(WebCore::ApplyPropertyColor::applyValue):
(WebCore::ApplyPropertyColor::applyColorValue):
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::CSSStyleSelector):
(WebCore::CSSStyleSelector::styleForElement):
(WebCore::CSSStyleSelector::pseudoStyleForElement):
(WebCore::CSSStyleSelector::updateFont):
(WebCore::CSSStyleSelector::applyDeclaration):
(WebCore::CSSStyleSelector::applyDeclarations):
(WebCore::CSSStyleSelector::applyProperty):
(WebCore::CSSStyleSelector::getColorFromPrimitiveValue):
* css/CSSStyleSelector.h:
(WebCore::CSSStyleSelector::applyPropertyToRegularStyle):
(WebCore::CSSStyleSelector::applyPropertyToVisitedLinkStyle):
* css/SVGCSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applySVGProperty):
* dom/Element.cpp:
(WebCore::Element::pseudoStyleCacheIsInvalid):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::getCachedPseudoStyle):
(WebCore::RenderStyle::colorIncludingFallback):
(WebCore::RenderStyle::visitedDependentColor):
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::setVisitedLinkColor):
(WebCore::InheritedFlags::setVisitedLinkBackgroundColor):
(WebCore::InheritedFlags::setVisitedLinkBorderLeftColor):
(WebCore::InheritedFlags::setVisitedLinkBorderRightColor):
(WebCore::InheritedFlags::setVisitedLinkBorderBottomColor):
(WebCore::InheritedFlags::setVisitedLinkBorderTopColor):
(WebCore::InheritedFlags::setVisitedLinkOutlineColor):
(WebCore::InheritedFlags::setVisitedLinkColumnRuleColor):
(WebCore::InheritedFlags::setVisitedLinkTextEmphasisColor):
(WebCore::InheritedFlags::setVisitedLinkTextFillColor):
(WebCore::InheritedFlags::setVisitedLinkTextStrokeColor):
* rendering/style/RenderStyleConstants.h:
* rendering/style/SVGRenderStyle.h:
(WebCore::SVGRenderStyle::setVisitedLinkFillPaint):
(WebCore::SVGRenderStyle::setVisitedLinkStrokePaint):
(WebCore::SVGRenderStyle::visitedLinkFillPaintType):
(WebCore::SVGRenderStyle::visitedLinkFillPaintColor):
(WebCore::SVGRenderStyle::visitedLinkStrokePaintType):
(WebCore::SVGRenderStyle::visitedLinkStrokePaintColor):
* rendering/style/SVGRenderStyleDefs.cpp:
(WebCore::StyleFillData::StyleFillData):
(WebCore::StyleFillData::operator==):
(WebCore::StyleStrokeData::StyleStrokeData):
(WebCore::StyleStrokeData::operator==):
* rendering/style/SVGRenderStyleDefs.h:
* rendering/style/StyleInheritedData.cpp:
(WebCore::StyleInheritedData::StyleInheritedData):
(WebCore::StyleInheritedData::operator==):
* rendering/style/StyleInheritedData.h:
* rendering/style/StyleMultiColData.cpp:
(WebCore::StyleMultiColData::StyleMultiColData):
(WebCore::StyleMultiColData::operator==):
* rendering/style/StyleMultiColData.h:
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::operator==):
* rendering/style/StyleRareInheritedData.h:
* rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
(WebCore::StyleRareNonInheritedData::operator==):
* rendering/style/StyleRareNonInheritedData.h:
* rendering/svg/RenderSVGResource.cpp:
(WebCore::requestPaintingResource):

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

7 years ago2011-10-17 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Mon, 17 Oct 2011 19:22:45 +0000 (19:22 +0000)]
2011-10-17  Eric Carlson  <eric.carlson@apple.com>

        Cues should be loaded by the cached resource loader
        https://bugs.webkit.org/show_bug.cgi?id=70134

        Reviewed by Darin Adler.

        No new tests, changes covered by existing tests.

        * CMakeLists.txt: Add CachedCues.cpp/h.
        * GNUmakefile.list.am: Ditto.
        * WebCore.gypi: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.

        * loader/cache/CachedCues.cpp: Added.
        (WebCore::CachedCues::CachedCues):
        (WebCore::CachedCues::~CachedCues):
        (WebCore::CachedCues::data): Called when new data has been loaded, pass it to all registered
            clients.
        * loader/cache/CachedCues.h: Added.

        * loader/cache/CachedResource.cpp:
        (WebCore::defaultPriorityForResourceType): Cues have low loader priority.
        * loader/cache/CachedResource.h:

        * loader/cache/CachedResourceClient.h:
        (WebCore::CachedResourceClient::didReceiveData): New client interface.

        * loader/cache/CachedResourceLoader.cpp:
        (WebCore::createResource): Create and return a new cue loader.
        (WebCore::CachedResourceLoader::requestCues):
        (WebCore::CachedResourceLoader::checkInsecureContent): Cues aren't mentioned in the CPS spec
            yet, but they only work with a media element so use the mdia policy.
        (WebCore::CachedResourceLoader::canRequest): Allow cues to be loaded from any origin like media.
        * loader/cache/CachedResourceLoader.h:

        * loader/cache/CachedResourceRequest.cpp:
        (WebCore::cachedResourceTypeToTargetType):
        * platform/network/chromium/ResourceRequest.h:

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

7 years ago<rdar://problem/10293929> REGRESSION (r97525): iChat transcript has horizontal scroll...
mitz@apple.com [Mon, 17 Oct 2011 18:20:38 +0000 (18:20 +0000)]
<rdar://problem/10293929> REGRESSION (r97525): iChat transcript has horizontal scroll bar when the conversation includes a wide image
https://bugs.webkit.org/show_bug.cgi?id=70204

Reviewed by Darin Adler.

Source/WebCore:

Reverted r97525, which was supposed to fix <http://webkit.org/b/29447>.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::computeReplacedLogicalWidthUsing):
(WebCore::RenderBox::computeReplacedLogicalHeightUsing):
* rendering/RenderBox.h:

LayoutTests:

* fast/replaced/table-percent-width-expected.txt: Updated the results to
show that this test is failing after reverting r97525.

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

7 years agogarden-o-matic operations fail because of CSP.
dglazkov@chromium.org [Mon, 17 Oct 2011 18:17:17 +0000 (18:17 +0000)]
garden-o-matic operations fail because of CSP.
https://bugs.webkit.org/show_bug.cgi?id=70249

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html: Added gardening server to the policy.

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

7 years agoSource/WebCore: Export KURL::baseAsString() so it can be called in WebProcessProxy...
adachan@apple.com [Mon, 17 Oct 2011 17:55:31 +0000 (17:55 +0000)]
Source/WebCore: Export KURL::baseAsString() so it can be called in WebProcessProxy::assumeReadAccessToBaseURL() in WebKit2.
https://bugs.webkit.org/show_bug.cgi?id=70168

Reviewed by Alexey Proskuryakov.

No new tests. There is no change in functionality.

* WebCore.exp.in: Export KURL::baseAsString().

Source/WebKit2: Calling WKPageLoadAlternateHTMLString() where baseURL does not point to a directory causes an invalid message to be returned from WebProcess
https://bugs.webkit.org/show_bug.cgi?id=70168

Reviewed by Alexey Proskuryakov.

* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::assumeReadAccessToBaseURL): Add the file path of url's base URL to m_localPathsWithAssumedReadAccess,
since url may not point to a directory.

Tools: Add a test to call WKPageLoadAlternateHTMLString() with a non-directory URL.
https://bugs.webkit.org/show_bug.cgi?id=70168

Reviewed by Alexey Proskuryakov.

* TestWebKitAPI/Tests/WebKit2/LoadAlternateHTMLStringWithNonDirectoryURL.cpp: Added.
(TestWebKitAPI::didFinishLoadForFrame):
(TestWebKitAPI::TEST): Call WKPageLoadAlternateHTMLString() with a file URL and make sure it finishes loading.

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/win/TestWebKitAPI.vcproj:
Add the new file.

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

7 years agoSource/WebCore: Touch Internals.cpp to make 64-bit GTK+ build happy.
rniwa@webkit.org [Mon, 17 Oct 2011 17:24:53 +0000 (17:24 +0000)]
Source/WebCore: Touch Internals.cpp to make 64-bit GTK+ build happy.

* testing/Internals.cpp:

LayoutTests: Moved V8-specific result to platform/chromium and added JSC result in cross-platform directory.

* fast/files/url-required-arguments-expected.txt: Replaced with
LayoutTests/platform/qt/fast/files/url-required-arguments-expected.txt.
* platform/chromium/fast/files/url-required-arguments-expected.txt: Copied from
LayoutTests/fast/files/url-required-arguments-expected.txt.
* platform/qt/fast/files/url-required-arguments-expected.txt: Removed.

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

7 years agoGTK build fix patch by Gustavo Noronha Silva.
rniwa@webkit.org [Mon, 17 Oct 2011 17:12:54 +0000 (17:12 +0000)]
GTK build fix patch by Gustavo Noronha Silva.

* Source/autotools/symbols.filter:

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

7 years agoUnreviewed gardening.
kbalazs@webkit.org [Mon, 17 Oct 2011 17:09:37 +0000 (17:09 +0000)]
Unreviewed gardening.
https://bugs.webkit.org/show_bug.cgi?id=70245

Patch by Zsolt Fehér <feherzs@inf.u-szeged.hu> on 2011-10-17

* platform/qt-wk2/Skipped:

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

7 years agoAX: children() method should be consolidated in AccessibilityObject
cfleizach@apple.com [Mon, 17 Oct 2011 17:01:41 +0000 (17:01 +0000)]
AX: children() method should be consolidated in AccessibilityObject
https://bugs.webkit.org/show_bug.cgi?id=70243

Code cleanup, no new tests.

Reviewed by Darin Adler.

* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::children):
* accessibility/AccessibilityObject.h:
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::updateChildrenIfNecessary):
* accessibility/AccessibilityRenderObject.h:
* accessibility/AccessibilityScrollView.cpp:
(WebCore::AccessibilityScrollView::updateChildrenIfNecessary):
(WebCore::AccessibilityScrollView::updateScrollbars):
(WebCore::AccessibilityScrollView::addChildren):
* accessibility/AccessibilityScrollView.h:
* accessibility/AccessibilitySlider.cpp:
* accessibility/AccessibilitySlider.h:
* accessibility/AccessibilityTableColumn.cpp:
* accessibility/AccessibilityTableColumn.h:
* accessibility/AccessibilityTableHeaderContainer.cpp:
* accessibility/AccessibilityTableHeaderContainer.h:

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

7 years agoWeb Inspector: Search matches highlighting in text does not work correctly.
vsevik@chromium.org [Mon, 17 Oct 2011 16:56:13 +0000 (16:56 +0000)]
Web Inspector: Search matches highlighting in text does not work correctly.
https://bugs.webkit.org/show_bug.cgi?id=70244

Reviewed by Pavel Feldman.

Source/WebCore:

Test: inspector/utilities-highlight-results.html

* inspector/front-end/utilities.js:
():

LayoutTests:

* inspector/utilities-highlight-results-expected.txt: Added.
* inspector/utilities-highlight-results.html: Added.

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

7 years agoAX: webkit won't always send live region notifications
cfleizach@apple.com [Mon, 17 Oct 2011 16:47:37 +0000 (16:47 +0000)]
AX: webkit won't always send live region notifications
https://bugs.webkit.org/show_bug.cgi?id=70030

Source/WebCore:

Webkit purposefully does not send live region notifications if some AT client has not accessed the AX tree in between
the last live region update (ostensibly to improve performance).
However, this is problematic if a screen reader misses one notification... it has no idea what happened and the only
recourse is to rescan the page for changes. The correct thing to do is to always send notifications.

Reviewed by Darin Adler.

Test: platform/mac/accessibility/aria-liveregions-notifications-always-sent.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::childrenChanged):

LayoutTests:

Reviewed by Darin Adler.

* platform/mac/accessibility/aria-liveregions-notifications-always-sent-expected.txt: Added.
* platform/mac/accessibility/aria-liveregions-notifications-always-sent.html: Added.

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

7 years agoAdd some more *.pyc ignores in directories with Python scripts.
darin@apple.com [Mon, 17 Oct 2011 16:26:59 +0000 (16:26 +0000)]
Add some more *.pyc ignores in directories with Python scripts.

* QueueStatusServer: Added property svn:ignore.
* Scripts/webkitpy/common/watchlist: Added property svn:ignore.
* Scripts/webkitpy/layout_tests/controllers: Added property svn:ignore.
* Scripts/webkitpy/layout_tests/views: Added property svn:ignore.

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

7 years agoCleared a stray executable bit.
darin@apple.com [Mon, 17 Oct 2011 16:25:06 +0000 (16:25 +0000)]
Cleared a stray executable bit.

* http/tests/css/link-css-disabled-value-with-slow-loading-sheet-in-error.html: Removed property svn:executable.

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

7 years ago[GTK] Add methods to get/set a custom text enconding to WebKit2 GTK+ API
carlosgc@webkit.org [Mon, 17 Oct 2011 16:23:51 +0000 (16:23 +0000)]
[GTK] Add methods to get/set a custom text enconding to WebKit2 GTK+ API
https://bugs.webkit.org/show_bug.cgi?id=69524

Reviewed by Martin Robinson.

* UIProcess/API/gtk/WebKitWebView.cpp:
(webkit_web_view_get_custom_charset):
(webkit_web_view_set_custom_charset):
* UIProcess/API/gtk/WebKitWebView.h:
* UIProcess/API/gtk/tests/TestWebKitWebView.cpp:
(testWebViewCustomCharset):
(beforeAll):

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

7 years ago[Qt][WK2][meta] Fix failing API tests
ossy@webkit.org [Mon, 17 Oct 2011 15:28:56 +0000 (15:28 +0000)]
[Qt][WK2][meta] Fix failing API tests
https://bugs.webkit.org/show_bug.cgi?id=70236

Patch by Alexis Menard <alexis.menard@openbossa.org> on 2011-10-17
Reviewed by Csaba Osztrogonác.

In order to run WebKit2 API tests we need the WebProcess to be in
the path so let's add the bin directory when running the API tests of Qt.

* Scripts/run-qtwebkit-tests:

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

7 years ago[Qt][WK2] Build dependency problems
ossy@webkit.org [Mon, 17 Oct 2011 15:26:55 +0000 (15:26 +0000)]
[Qt][WK2] Build dependency problems
https://bugs.webkit.org/show_bug.cgi?id=68456

Patch by Kristóf Kosztyó <kkristof@inf.u-szeged.hu> on 2011-10-17
Reviewed by Csaba Osztrogonác.

* Scripts/webkitdirs.pm:
(buildQMakeProject):

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

7 years agoWeb Inspector: fix handling of source mapping entries with no mapping.
podivilov@chromium.org [Mon, 17 Oct 2011 14:53:37 +0000 (14:53 +0000)]
Web Inspector: fix handling of source mapping entries with no mapping.
https://bugs.webkit.org/show_bug.cgi?id=69941

Reviewed by Pavel Feldman.

Source/WebCore:

* inspector/front-end/CompilerSourceMapping.js:
(WebInspector.ClosureCompilerSourceMapping.prototype._parseMappings):

LayoutTests:

* inspector/debugger/compiler-source-mapping-expected.txt:
* inspector/debugger/compiler-source-mapping.html:

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

7 years agoWindows build fix after r97536, part 3
aroben@apple.com [Mon, 17 Oct 2011 14:21:10 +0000 (14:21 +0000)]
Windows build fix after r97536, part 3

* runtime/JSAPIValueWrapper.h:
* runtime/JSObject.h:
Use JS_EXPORTDATA to export the s_info members.

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

7 years ago[Chromium] Update test expectations for r97596 and r97602.
tkent@chromium.org [Mon, 17 Oct 2011 14:10:51 +0000 (14:10 +0000)]
[Chromium] Update test expectations for r97596 and r97602.

* platform/chromium-cg-mac-leopard/css2.1/t0511-c21-pseud-link-02-e-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t0511-c21-pseud-link-03-e-expected.png: Added.
* platform/chromium-cg-mac-leopard/fast/events/reveal-link-when-focused-expected.png: Added.
* platform/chromium-cg-mac-leopard/fast/selectors/017-expected.png: Added.
* platform/chromium-cg-mac-leopard/fast/selectors/061-expected.png: Added.
* platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug46623-1-expected.png: Added.
* platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug51140-expected.png: Added.
* platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug7342-expected.png:
* platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug8950-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t0511-c21-pseud-link-02-e-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t0511-c21-pseud-link-03-e-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/events/reveal-link-when-focused-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/selectors/017-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/selectors/061-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug46623-1-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug51140-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug7342-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug8950-expected.png: Added.
* platform/chromium-linux/css2.1/t0511-c21-pseud-link-02-e-expected.png:
* platform/chromium-linux/css2.1/t0511-c21-pseud-link-03-e-expected.png:
* platform/chromium-linux/fast/events/reveal-link-when-focused-expected.png:
* platform/chromium-linux/fast/selectors/017-expected.png:
* platform/chromium-linux/fast/selectors/061-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug46623-1-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug51140-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug7342-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug7342-expected.txt:
* platform/chromium-linux/tables/mozilla/bugs/bug8950-expected.png:
* platform/chromium-mac-leopard/css2.1/t0511-c21-pseud-link-02-e-expected.png: Added.
* platform/chromium-mac-leopard/css2.1/t0511-c21-pseud-link-03-e-expected.png: Added.
* platform/chromium-mac-leopard/fast/events/reveal-link-when-focused-expected.png: Added.
* platform/chromium-mac-leopard/fast/selectors/017-expected.png: Added.
* platform/chromium-mac-leopard/fast/selectors/061-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug46623-1-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug51140-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug7342-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug8950-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t0511-c21-pseud-link-02-e-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t0511-c21-pseud-link-03-e-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/dom/34176-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/dom/34176-expected.png.
* platform/chromium-mac-snowleopard/fast/events/reveal-link-when-focused-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/selectors/017-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/selectors/061-expected.png: Added.
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug26553-expected.png: Renamed from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug26553-expected.png.
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug46623-1-expected.png: Added.
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug51140-expected.png: Added.
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug7342-expected.png: Added.
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug8950-expected.png: Added.
* platform/chromium-mac/fast/events/reveal-link-when-focused-expected.png: Removed.
* platform/chromium-mac/fast/selectors/017-expected.png: Removed.
* platform/chromium-mac/fast/selectors/061-expected.png: Removed.
* platform/chromium-mac/tables/mozilla/bugs/bug46623-1-expected.png: Removed.
* platform/chromium-mac/tables/mozilla/bugs/bug51140-expected.png: Removed.
* platform/chromium-mac/tables/mozilla/bugs/bug7342-expected.png: Removed.
* platform/chromium-mac/tables/mozilla/bugs/bug8950-expected.png: Removed.
* platform/chromium-win/css2.1/t0511-c21-pseud-link-02-e-expected.png:
* platform/chromium-win/css2.1/t0511-c21-pseud-link-02-e-expected.txt:
* platform/chromium-win/css2.1/t0511-c21-pseud-link-03-e-expected.png:
* platform/chromium-win/css2.1/t0511-c21-pseud-link-03-e-expected.txt:
* platform/chromium-win/fast/dom/34176-expected.txt:
* platform/chromium-win/fast/events/reveal-link-when-focused-expected.png:
* platform/chromium-win/fast/events/reveal-link-when-focused-expected.txt:
* platform/chromium-win/fast/selectors/017-expected.png:
* platform/chromium-win/fast/selectors/017-expected.txt:
* platform/chromium-win/fast/selectors/061-expected.png:
* platform/chromium-win/fast/selectors/061-expected.txt:
* platform/chromium-win/tables/mozilla/bugs/bug26553-expected.txt:
* platform/chromium-win/tables/mozilla/bugs/bug46623-1-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug46623-1-expected.txt:
* platform/chromium-win/tables/mozilla/bugs/bug51140-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug51140-expected.txt:
* platform/chromium-win/tables/mozilla/bugs/bug7342-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug7342-expected.txt:
* platform/chromium-win/tables/mozilla/bugs/bug8950-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug8950-expected.txt:
* platform/chromium/test_expectations.txt:

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

7 years agoInterpreter build fix after r97564
aroben@apple.com [Mon, 17 Oct 2011 14:03:19 +0000 (14:03 +0000)]
Interpreter build fix after r97564

* runtime/Executable.cpp:
(JSC::FunctionExecutable::compileForCallInternal):
(JSC::FunctionExecutable::compileForConstructInternal):
Moved declaration of globalData variable into ENABLE(JIT) blocks, since it is only used
there.

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

7 years ago[Qt] Unreviewed gardening, update Qt specific expected results after r97602.
ossy@webkit.org [Mon, 17 Oct 2011 14:01:35 +0000 (14:01 +0000)]
[Qt] Unreviewed gardening, update Qt specific expected results after r97602.

* platform/qt/css3/selectors3/html/css3-modsel-17-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-17-expected.txt:
* platform/qt/css3/selectors3/html/css3-modsel-61-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-61-expected.txt:
* platform/qt/css3/selectors3/xhtml/css3-modsel-17-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-17-expected.txt:
* platform/qt/css3/selectors3/xhtml/css3-modsel-61-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-61-expected.txt:
* platform/qt/css3/selectors3/xml/css3-modsel-17-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-17-expected.txt:
* platform/qt/css3/selectors3/xml/css3-modsel-61-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-61-expected.txt:
* platform/qt/fast/selectors/017-expected.png:
* platform/qt/fast/selectors/017-expected.txt:
* platform/qt/fast/selectors/061-expected.png:
* platform/qt/fast/selectors/061-expected.txt:

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

7 years ago[Qt] Unreviewed gardening. Unskip a passing test and add platform specific expected...
ossy@webkit.org [Mon, 17 Oct 2011 14:01:07 +0000 (14:01 +0000)]
[Qt] Unreviewed gardening. Unskip a passing test and add platform specific expected result.

* platform/qt/Skipped:
* platform/qt/fast/events/reveal-link-when-focused-expected.png: Added.
* platform/qt/fast/events/reveal-link-when-focused-expected.txt: Added.

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

7 years agoWindows build fix after r97536, part 2
aroben@apple.com [Mon, 17 Oct 2011 13:41:55 +0000 (13:41 +0000)]
Windows build fix after r97536, part 2

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Added back
JSC::setUpStaticFunctionSlot with its new mangled name. SOrted the rest of the file while I
was at it.

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

7 years ago[build] Introduce Qt/SH4 buildbot
zecke@webkit.org [Mon, 17 Oct 2011 13:40:14 +0000 (13:40 +0000)]
[build] Introduce Qt/SH4 buildbot
https://bugs.webkit.org/show_bug.cgi?id=70227

Patch by Holger Hans Peter Freyther <holger@moiji-mobile.com> on 2011-10-17
Reviewed by Adam Roben.

Add buildslave for Linux/Qt/SH4.

* BuildSlaveSupport/build.webkit.org-config/config.json:

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

7 years ago[Chromium] Web Inspector: don't check for debugger pause details in interactive ui...
yurys@chromium.org [Mon, 17 Oct 2011 13:39:06 +0000 (13:39 +0000)]
[Chromium] Web Inspector: don't check for debugger pause details in interactive ui tests
https://bugs.webkit.org/show_bug.cgi?id=70228

Removed debugger pause details validation. The only check left is that debugger pause event is fired when expected.

Reviewed by Pavel Feldman.

* src/js/Tests.js:
(.TestSuite.prototype.testPauseWhenLoadingDevTools):
(.TestSuite.prototype.testPauseWhenScriptIsRunning.didEvaluateInConsole):
(.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
(.TestSuite.prototype.testPauseWhenScriptIsRunning):
(.TestSuite.prototype.testPauseInSharedWorkerInitialization):
(.TestSuite.prototype._waitForScriptPause):

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

7 years agoWindows build fix
aroben@apple.com [Mon, 17 Oct 2011 13:25:19 +0000 (13:25 +0000)]
Windows build fix

Here's the error:

5>c:\cygwin\home\buildbot\slave\win-release\build\webkitbuild\release\obj\webcore\derivedsources\jssvgpathsegcurvetoquadraticrel.cpp(128) : fatal error C1128: number of sections exceeded object file format limit : compile with /bigobj

* win/tools/vsprops/common.vsprops: Specify /bigobj to the compiler.

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

7 years agoWeb Inspector: [Chromium] Add an ability to look up and explore an object from a...
mnaganov@chromium.org [Mon, 17 Oct 2011 13:21:12 +0000 (13:21 +0000)]
Web Inspector: [Chromium] Add an ability to look up and explore an object from a heap profile.
https://bugs.webkit.org/show_bug.cgi?id=61179

This is exteremely helpful when dealing with DOM wrappers, as
their properties are mostly implemented with getters and thus not
stored in heap snapshots.

Reviewed by Pavel Feldman.

* English.lproj/localizedStrings.js:
* bindings/js/ScriptProfiler.cpp:
(WebCore::ScriptProfiler::objectByHeapObjectId):
* bindings/js/ScriptProfiler.h:
* bindings/v8/ScriptProfiler.cpp:
(WebCore::ScriptProfiler::objectByHeapObjectId):
* bindings/v8/ScriptProfiler.h:
* inspector/Inspector.json:
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
* inspector/InspectorProfilerAgent.cpp:
(WebCore::InspectorProfilerAgent::create):
(WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
(WebCore::InspectorProfilerAgent::getObjectByHeapObjectId):
* inspector/InspectorProfilerAgent.h:
* inspector/front-end/DetailedHeapshotGridNodes.js:
(WebInspector.HeapSnapshotGridNode.prototype.hasHoverMessage.false.queryObjectContent):
(WebInspector.HeapSnapshotGenericObjectNode):
(WebInspector.HeapSnapshotGenericObjectNode.prototype.get data):
(WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent.else.formatResult):
(WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent):
(WebInspector.HeapSnapshotGenericObjectNode.prototype.shortenWindowURL):
* inspector/front-end/DetailedHeapshotView.js:
(WebInspector.DetailedHeapshotView.prototype._showObjectPopover):
* inspector/front-end/HeapSnapshot.js:
(WebInspector.HeapSnapshotNode.prototype.get canBeQueried):
(WebInspector.HeapSnapshotNode.prototype.get flags):
(WebInspector.HeapSnapshotNode.prototype.get isDOMWindow):
(WebInspector.HeapSnapshot.prototype._init):
(WebInspector.HeapSnapshot.prototype.dispose):
(WebInspector.HeapSnapshot.prototype._flagsOfNode):
(WebInspector.HeapSnapshot.prototype._calculateFlags):
(WebInspector.HeapSnapshot.prototype.updateStaticData):
(WebInspector.HeapSnapshotNodesProvider.prototype._serialize):
* inspector/front-end/HeapSnapshotProxy.js:
(WebInspector.HeapSnapshotProxy.prototype.get nodeFlags):
* inspector/front-end/RemoteObject.js:
(WebInspector.RemoteObject.fromError):
* inspector/front-end/heapProfiler.css:
(.detailed-heapshot-view tr:not(.selected) td.object-column span.highlight):

* inspector/profiler/heap-snapshot-expected.txt:
* inspector/profiler/heap-snapshot-test.js:
(initialize_HeapSnapshotTest.InspectorTest.createHeapSnapshotMockWithDOM):
(initialize_HeapSnapshotTest):
* inspector/profiler/heap-snapshot.html:

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

7 years agoWindows build fix after r97536
aroben@apple.com [Mon, 17 Oct 2011 12:58:42 +0000 (12:58 +0000)]
Windows build fix after r97536

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Removed export of
JSC::setUpStaticFunctionSlot, which no longer exists. Also removed incorrect exports of
s_info members, which need to be exported via JS_EXPORTDATA instead.

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

7 years agoUnreviewed. Remove reference to third_party/skia/gpu.
mnaganov@chromium.org [Mon, 17 Oct 2011 12:53:02 +0000 (12:53 +0000)]
Unreviewed. Remove reference to third_party/skia/gpu.
It was removed from Chromium DEPS in Chromium r105526.

* DEPS:

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

7 years ago[Qt][WK2] Implement decidePolicyForResponse in our PolicyClient
jesus@webkit.org [Mon, 17 Oct 2011 12:41:23 +0000 (12:41 +0000)]
[Qt][WK2] Implement decidePolicyForResponse in our PolicyClient
https://bugs.webkit.org/show_bug.cgi?id=69832

Reviewed by Kenneth Rohde Christiansen.

We implement decidePolicyForResponse in our PolicyClient in order to
decide whether a given ResourceResponse should be downloaded or loaded.

* Shared/qt/WebCoreArgumentCodersQt.cpp:
(CoreIPC::::encode):
(CoreIPC::::decode):
Implement serialization of ResourceResponse.

* UIProcess/qt/ClientImpl.cpp:
(qt_wk_decidePolicyForResponse):
* UIProcess/qt/ClientImpl.h:
* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::init):

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

7 years agoUnreviewed. Rolled DEPS.
mnaganov@chromium.org [Mon, 17 Oct 2011 12:35:05 +0000 (12:35 +0000)]
Unreviewed.  Rolled DEPS.

* DEPS:

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

7 years agoWeb Inspector: Editing CSS selector doesn't fire onResourceContentCommitted
apavlov@chromium.org [Mon, 17 Oct 2011 11:46:06 +0000 (11:46 +0000)]
Web Inspector: Editing CSS selector doesn't fire onResourceContentCommitted
https://bugs.webkit.org/show_bug.cgi?id=70018

Reviewed by Yury Semikhatsky.

Source/WebCore:

Test: inspector/styles/commit-selector.html

* inspector/front-end/CSSStyleModel.js:
(WebInspector.CSSStyleModel.prototype.setRuleSelector.callback):
(WebInspector.CSSStyleModel.prototype.setRuleSelector):

LayoutTests:

* inspector/styles/commit-selector-expected.txt: Added.
* inspector/styles/commit-selector.html: Added.

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

7 years agoCSS/XSLStyleSheet: Remove insert() and remove().
andreas.kling@nokia.com [Mon, 17 Oct 2011 11:38:55 +0000 (11:38 +0000)]
CSS/XSLStyleSheet: Remove insert() and remove().
https://bugs.webkit.org/show_bug.cgi?id=70226

Reviewed by Antti Koivisto.

Remove insert() and remove() from XSLStyleSheet. CSSStyleSheet retains remove()
since it's used by InspectorStyleSheet as well as SVGFontFaceElement.

* css/CSSStyleSheet.cpp:
(WebCore::CSSStyleSheet::remove):

    Remove range check. This method is internal to WebKit and the call sites
    already take care of it.

(WebCore::CSSStyleSheet::insertRule):
(WebCore::CSSStyleSheet::deleteRule):
* css/CSSStyleSheet.h:
* xml/XSLStyleSheet.h:

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

7 years ago[Chromium] Test expectation update
tkent@chromium.org [Mon, 17 Oct 2011 11:16:30 +0000 (11:16 +0000)]
[Chromium] Test expectation update
https://bugs.webkit.org/show_bug.cgi?id=70224

* platform/chromium/test_expectations.txt:
Mark some tests failing until bots have test results.

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

7 years ago[webkit]Debug Build Bot failure
commit-queue@webkit.org [Mon, 17 Oct 2011 11:09:50 +0000 (11:09 +0000)]
[webkit]Debug Build Bot failure
https://bugs.webkit.org/show_bug.cgi?id=70222

Patch by Vamshikrishna Yellenki <vamshi@motorola.com> on 2011-10-17
Reviewed by Xan Lopez.

* Source/autotools/symbols.filter: Corrected the filter name for getLocationAndLengthFronRange

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

7 years agoMake more :visited pseudo class tests work
antti@apple.com [Mon, 17 Oct 2011 10:38:02 +0000 (10:38 +0000)]
Make more :visited pseudo class tests work
https://bugs.webkit.org/show_bug.cgi?id=70224

Reviewed by Andreas Kling.

Link <a href=""> is always considered visited so we can use that in tests that try to apply :visited.

Mac results only, requires rebaselining of other platforms.

* css3/selectors3/html/css3-modsel-17.html:
* css3/selectors3/html/css3-modsel-61.html:
* css3/selectors3/xhtml/css3-modsel-17.xml:
* css3/selectors3/xhtml/css3-modsel-61.xml:
* css3/selectors3/xml/css3-modsel-17.xml:
* css3/selectors3/xml/css3-modsel-61.xml:
* fast/selectors/017.html:
* fast/selectors/061.html:
* platform/mac/css3/selectors3/html/css3-modsel-17-expected.txt:
* platform/mac/css3/selectors3/html/css3-modsel-61-expected.txt:
* platform/mac/css3/selectors3/xhtml/css3-modsel-17-expected.txt:
* platform/mac/css3/selectors3/xhtml/css3-modsel-61-expected.txt:
* platform/mac/css3/selectors3/xml/css3-modsel-17-expected.txt:
* platform/mac/css3/selectors3/xml/css3-modsel-61-expected.txt:
* platform/mac/fast/selectors/017-expected.txt:
* platform/mac/fast/selectors/061-expected.txt:

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

7 years ago[Qt] Unreviewed gardening after r97598. Remove obsolete Qt 4.8 specific expected...
ossy@webkit.org [Mon, 17 Oct 2011 10:24:25 +0000 (10:24 +0000)]
[Qt] Unreviewed gardening after r97598. Remove obsolete Qt 4.8 specific expected results.

* platform/qt-4.8/tables/mozilla/bugs/bug7342-expected.png: Removed.
* platform/qt-4.8/tables/mozilla/bugs/bug7342-expected.txt: Removed.
* platform/qt-4.8/tables/mozilla/bugs/bug8950-expected.png: Removed.
* platform/qt-4.8/tables/mozilla/bugs/bug8950-expected.txt: Removed.

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

7 years ago[Chromium] Test expectation update
tkent@chromium.org [Mon, 17 Oct 2011 10:23:40 +0000 (10:23 +0000)]
[Chromium] Test expectation update
https://bugs.webkit.org/show_bug.cgi?id=70219

* platform/chromium/test_expectations.txt:
Mark some tests failing until bots have test results.

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

7 years ago[Qt] Unreviewed gardening.
ossy@webkit.org [Mon, 17 Oct 2011 10:03:59 +0000 (10:03 +0000)]
[Qt] Unreviewed gardening.

* platform/qt/fast/borders/border-radius-complex-inner-expected.png: Added after r97318.
* platform/qt/fast/borders/border-radius-complex-inner-expected.txt: Added after r97318.
* platform/qt/fast/css/clip-text-in-scaled-div-expected.png: Added after r97481.
* platform/qt/fast/css/clip-text-in-scaled-div-expected.txt: Added after r97481.
* platform/qt/fast/repaint/region-painting-via-layout-expected.png: Added after r97370.
* platform/qt/fast/repaint/region-painting-via-layout-expected.txt: Added after r97370.

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

7 years ago[Qt] Unreviewed gardening after r97596.
ossy@webkit.org [Mon, 17 Oct 2011 09:51:50 +0000 (09:51 +0000)]
[Qt] Unreviewed gardening after r97596.

* platform/qt/css2.1/t0511-c21-pseud-link-02-e-expected.png:
* platform/qt/css2.1/t0511-c21-pseud-link-02-e-expected.txt:
* platform/qt/css2.1/t0511-c21-pseud-link-03-e-expected.png:
* platform/qt/css2.1/t0511-c21-pseud-link-03-e-expected.txt:
* platform/qt/fast/block/float/float-in-float-hit-testing-expected.png:
* platform/qt/fast/block/float/float-in-float-hit-testing-expected.txt:
* platform/qt/fast/history/visited-link-background-color-expected.png:
* platform/qt/fast/history/visited-link-background-color-expected.txt:
* platform/qt/tables/mozilla/bugs/bug26553-expected.png:
* platform/qt/tables/mozilla/bugs/bug26553-expected.txt:
* platform/qt/tables/mozilla/bugs/bug46623-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug46623-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug51140-expected.png:
* platform/qt/tables/mozilla/bugs/bug51140-expected.txt:
* platform/qt/tables/mozilla/bugs/bug7342-expected.png:
* platform/qt/tables/mozilla/bugs/bug7342-expected.txt:
* platform/qt/tables/mozilla/bugs/bug8950-expected.png:
* platform/qt/tables/mozilla/bugs/bug8950-expected.txt:

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

7 years agowhen CSS pseudo selectors are applied (:before and :after) the *-of-line keyboard...
commit-queue@webkit.org [Mon, 17 Oct 2011 09:18:35 +0000 (09:18 +0000)]
when CSS pseudo selectors are applied (:before and :after) the *-of-line keyboard navigation does not work
https://bugs.webkit.org/show_bug.cgi?id=10123

Patch by Rosen Dash <rosen.dash@motorola.com> on 2011-10-17
Reviewed by Ryosuke Niwa.

Source/WebCore:

This patch addresses folllowing two issues:
1. When CSS pseudo elements are before or after is used with content attribute containing single character
   at the start/end of text and we try to move cursor by right navigation key, the page freezes falling
   into an infinite loop.
2. When these elements try to insert some text between a text line, navigation by right/left arrow key is prohibited.

Tests: editing/selection/css-pseudo-element-hang.html
       editing/selection/css-pseudo-element.html

* editing/VisiblePosition.cpp:
(WebCore::VisiblePosition::leftVisuallyDistinctCandidate):
(WebCore::VisiblePosition::rightVisuallyDistinctCandidate):

LayoutTests:

* editing/selection/css-pseudo-element-expected.txt: Added.
* editing/selection/css-pseudo-element-hang-expected.txt: Added.
* editing/selection/css-pseudo-element-hang.html: Added.
* editing/selection/css-pseudo-element.html: Added.

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

7 years agoTest :visited pseudo class
antti@apple.com [Mon, 17 Oct 2011 09:15:12 +0000 (09:15 +0000)]
Test :visited pseudo class
https://bugs.webkit.org/show_bug.cgi?id=70219

Source/WebCore:

Reviewed by Andreas Kling.

Currently DRT doesn't support :visited. All tests where it should match have wrong checked in results.

- Make <a href=""> to match :visited in DRT. It already does on browsers. A number of existing tests
  for :visited use it already, the rest can be modified to use it.
- Make render tree dumps correctly dump the visited state dependent color.

* css/SelectorChecker.cpp:
(WebCore::SelectorChecker::determineLinkStateSlowCase):
* rendering/RenderTreeAsText.cpp:
(WebCore::RenderTreeAsText::writeRenderObject):

LayoutTests:

Reviewed by Andreas Kling.

Update Mac results for tests that already use <a href="">.

All other platforms need rebaselining too.

* platform/mac/css2.1/t0511-c21-pseud-link-02-e-expected.txt:
* platform/mac/css2.1/t0511-c21-pseud-link-03-e-expected.txt:
* platform/mac/fast/dom/34176-expected.txt:
* platform/mac/fast/events/reveal-link-when-focused-expected.txt:
* platform/mac/fast/history/visited-link-background-color-expected.txt:
* platform/mac/tables/mozilla/bugs/bug26553-expected.txt:
* platform/mac/tables/mozilla/bugs/bug46623-1-expected.txt:
* platform/mac/tables/mozilla/bugs/bug51140-expected.txt:
* platform/mac/tables/mozilla/bugs/bug7342-expected.txt:
* platform/mac/tables/mozilla/bugs/bug8950-expected.txt:

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

7 years ago[Chromium] test expectation update
tkent@chromium.org [Mon, 17 Oct 2011 09:04:20 +0000 (09:04 +0000)]
[Chromium] test expectation update
https://bugs.webkit.org/show_bug.cgi?id=69624

* platform/chromium/test_expectations.txt:
Correct expectation of zoom-animator-scale-test2.html.

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

7 years agoAvoid leaking document when leaving google.com due to geolocation
satish@chromium.org [Mon, 17 Oct 2011 09:02:19 +0000 (09:02 +0000)]
Avoid leaking document when leaving google.com due to geolocation
permission request.
https://bugs.webkit.org/show_bug.cgi?id=58027

Reviewed by Kenneth Rohde Christiansen.

* page/Geolocation.cpp:
(WebCore::Geolocation::Watchers::find): added
(WebCore::Geolocation::reset): cleared all pending notifiers.
(WebCore::Geolocation::clearWatch): removed from pending notifier set.
* page/Geolocation.h:
(WebCore::Geolocation::Watchers::find): added

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

7 years agoInterpreter build fix after r97436, r97506, r97532 and r97537.
paroga@webkit.org [Mon, 17 Oct 2011 09:01:14 +0000 (09:01 +0000)]
Interpreter build fix after r97436, r97506, r97532 and r97537.

* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):

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

7 years ago[WebKit2][gtk] Rename WEBKIT_POLICY_ERROR_CANNOT_SHOW_URL to WEBKIT_POLICY_ERROR_CANN...
commit-queue@webkit.org [Mon, 17 Oct 2011 08:58:15 +0000 (08:58 +0000)]
[WebKit2][gtk] Rename WEBKIT_POLICY_ERROR_CANNOT_SHOW_URL to WEBKIT_POLICY_ERROR_CANNOT_SHOW_URI
https://bugs.webkit.org/show_bug.cgi?id=70040

Patch by Nayan Kumar K <nayankk@motorola.com> on 2011-10-17
Reviewed by Martin Robinson.

* UIProcess/API/gtk/WebKitError.cpp:
* UIProcess/API/gtk/WebKitError.h:

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

7 years agoFix clang WebKitGTK+ build.
commit-queue@webkit.org [Mon, 17 Oct 2011 07:51:55 +0000 (07:51 +0000)]
Fix clang WebKitGTK+ build.

Patch by Andrei Lavreniyuk <andy.lavr@gmail.com> on 2011-10-17
Reviewed by Martin Robinson.

* plugins/gtk/PluginViewGtk.cpp:

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

7 years ago[Chromium] Update test expectation.
tkent@chromium.org [Mon, 17 Oct 2011 07:20:00 +0000 (07:20 +0000)]
[Chromium] Update test expectation.
https://bugs.webkit.org/show_bug.cgi?id=70013

* platform/chromium/test_expectations.txt:
Add more cavas test crashes on Windows GPU.

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

7 years agoAlways disable ENABLE(ON_FIRST_TEXTAREA_FOCUS_SELECT_ALL) and delete associated code
abarth@webkit.org [Mon, 17 Oct 2011 06:32:16 +0000 (06:32 +0000)]
Always disable ENABLE(ON_FIRST_TEXTAREA_FOCUS_SELECT_ALL) and delete associated code
https://bugs.webkit.org/show_bug.cgi?id=70216

Reviewed by Eric Seidel.

Source/JavaScriptCore:

* wtf/Platform.h:

Source/WebCore:

No port enables this feature.  It was added for the previous Android
port (and should have been an editing behavior in any case).

* html/HTMLTextAreaElement.cpp:
(WebCore::HTMLTextAreaElement::updateFocusAppearance):

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

7 years ago[chromium] Rebaseline layout test zoom-animator-scale-test2.html for win, mac
wjmaclean@chromium.org [Mon, 17 Oct 2011 06:29:29 +0000 (06:29 +0000)]
[chromium] Rebaseline layout test zoom-animator-scale-test2.html for win, mac
https://bugs.webkit.org/show_bug.cgi?id=69624

Reviewed by Kent Tamura.

Also modifies timeout in zoom-animator-scale-test2.html to try and reduce flake, generate
win baselines.

* platform/chromium-gpu-win/platform/chromium/compositing/zoom-animator-scale-test2-expected.png: Added.
* platform/chromium/compositing/zoom-animator-scale-test2.html:
* platform/chromium/test_expectations.txt:

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

7 years agoExpose rangeFromLocationAndLength and locationAndLengthFromRange via internals object
rniwa@webkit.org [Mon, 17 Oct 2011 06:05:00 +0000 (06:05 +0000)]
Expose rangeFromLocationAndLength and locationAndLengthFromRange via internals object
https://bugs.webkit.org/show_bug.cgi?id=68330

Reviewed by Hajime Morita.

Source/WebCore:

Add rangeFromLocationAndLength, locationFromRange, and lengthFromRange to window.internals.

Test: editing/text-iterator/range-to-from-location-and-length.html

* WebCore.exp.in:
* testing/Internals.cpp:
(WebCore::Internals::scrollElementToRect):
(WebCore::Internals::rangeFromLocationAndLength):
(WebCore::Internals::locationFromRange):
(WebCore::Internals::lengthFromRange):
* testing/Internals.h:
* testing/Internals.idl:

LayoutTests:

Add a basic test that uses internals.rangeFromLocationAndLength, internals.locationFromRange,
and internals.lengthFromRange.

* editing/text-iterator/range-to-from-location-and-length-expected.txt: Added.
* editing/text-iterator/range-to-from-location-and-length.html: Added.

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

7 years agoGenerate MessageChannel constructor by [Constructor] IDL
haraken@chromium.org [Mon, 17 Oct 2011 06:02:33 +0000 (06:02 +0000)]
Generate MessageChannel constructor by [Constructor] IDL
https://bugs.webkit.org/show_bug.cgi?id=70214

Reviewed by Adam Barth.

This patch generates an MessageChannel constructor for JSC by [Constructor] IDL,
but V8 is still using a custom constructor since the V8 constructor requires special logic.

Tests: fast/dom/global-constructors.html
       fast/events/message-port.html
       fast/events/message-port-no-wrapper.html
       fast/dom/Window/window-postmessage-args.html

* bindings/js/JSMessageChannelCustom.cpp: Removed the MessageChannel constructor.
* dom/MessageChannel.idl: Generates the MessageChannel constructor for JSC.

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

7 years ago[Mac] fontForSelection and styleForSelectionStart should be moved to EditorMac
rniwa@webkit.org [Mon, 17 Oct 2011 05:44:50 +0000 (05:44 +0000)]
[Mac] fontForSelection and styleForSelectionStart should be moved to EditorMac
https://bugs.webkit.org/show_bug.cgi?id=70114

Reviewed by Hajime Morita.

Moved fontForSelection and styleForSelectionStart from Editor to EditorMac
and made styleForSelectionStart static local.

* editing/Editor.cpp:
* editing/Editor.h:
* editing/mac/EditorMac.mm:
(WebCore::styleForSelectionStart):
(WebCore::Editor::fontForSelection):
(WebCore::Editor::fontAttributesForSelectionStart):

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

7 years agoGenerate EventSource constructor for JSC by [Constructor] IDL
haraken@chromium.org [Mon, 17 Oct 2011 05:06:15 +0000 (05:06 +0000)]
Generate EventSource constructor for JSC by [Constructor] IDL
https://bugs.webkit.org/show_bug.cgi?id=70212

Reviewed by Adam Barth.

Removed JSEventSourceCustom.cpp.

Tests: fast/dom/global-constructors.html
       fast/eventsource/eventsource-constructor.html
       fast/eventsource/eventsource-attribute-listeners.html

* GNUmakefile.list.am: Removed JSEventSourceCustom.cpp.
* UseJSC.cmake: Ditto.
* WebCore.gypi: Ditto.
* WebCore.pro: Ditto.
* WebCore.xcodeproj/project.pbxproj: Ditto.
* bindings/js/JSBindingsAllInOne.cpp: Ditto.
* bindings/js/JSEventSourceCustom.cpp: Removed this file.
* page/EventSource.idl: Removed 'JSCustomConstructor' IDL.

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

7 years agoInline CSSPrimitiveValue::isQuirkValue() as non-virtual function
commit-queue@webkit.org [Mon, 17 Oct 2011 04:27:09 +0000 (04:27 +0000)]
Inline CSSPrimitiveValue::isQuirkValue() as non-virtual function
https://bugs.webkit.org/show_bug.cgi?id=64865

Patch by David Barr <davidbarr@chromium.org> on 2011-10-16
Reviewed by Darin Adler.

Based on profiling and patch from:
Tamas Czene <Czene.Tamas@stud.u-szeged.hu>

This is expected to produce a small performance progression.
Additional memory overhead is avoided by using spare bits.
CSSQuirkPrimitiveValue is removed as it becomes just a factory.

* GNUmakefile.list.am:
* WebCore.gypi:
* WebCore.order:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValidPrimitive):
* css/CSSParserValues.cpp:
(WebCore::CSSParserValue::createCSSValue):
* css/CSSPrimitiveValue.cpp:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
* css/CSSPrimitiveValue.h:
(WebCore::CSSPrimitiveValue::createAllowingMarginQuirk):
Moved from CSSQuirkPrimitiveValue::create.
(WebCore::CSSPrimitiveValue::isQuirkValue):
* css/CSSQuirkPrimitiveValue.h: Removed.
* css/SVGCSSParser.cpp:
(WebCore::CSSParser::parseSVGValue):

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

7 years agoUpdate test exepctations.
tkent@chromium.org [Mon, 17 Oct 2011 04:03:37 +0000 (04:03 +0000)]
Update test exepctations.

- Add baseline files for new tests
- Update for Skia focus ring change
- Update for Mac spelling underline change
- Optimize test results for them

* css2.1/20110323/abspos-containing-block-initial-007-expected.txt: Renamed from LayoutTests/platform/gtk/css2.1/20110323/abspos-containing-block-initial-007-expected.txt.
* css2.1/20110323/abspos-containing-block-initial-007-ref-expected.txt: Renamed from LayoutTests/platform/gtk/css2.1/20110323/abspos-containing-block-initial-007-ref-expected.txt.
* editing/deleting/delete-3959464-fix-expected.txt: Renamed from LayoutTests/platform/gtk/editing/deleting/delete-3959464-fix-expected.txt.
* editing/deleting/delete-block-contents-003-expected.txt: Renamed from LayoutTests/platform/gtk/editing/deleting/delete-block-contents-003-expected.txt.
* editing/deleting/delete-trailing-ws-002-expected.txt: Renamed from LayoutTests/platform/gtk/editing/deleting/delete-trailing-ws-002-expected.txt.
* editing/deleting/delete-ws-fixup-001-expected.txt: Renamed from LayoutTests/platform/gtk/editing/deleting/delete-ws-fixup-001-expected.txt.
* editing/inserting/insert-br-004-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-br-004-expected.txt.
* editing/inserting/insert-br-005-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-br-005-expected.txt.
* editing/inserting/insert-br-007-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-br-007-expected.txt.
* editing/inserting/insert-div-007-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-007-expected.txt.
* editing/inserting/insert-div-012-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-012-expected.txt.
* editing/inserting/insert-div-013-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-013-expected.txt.
* editing/inserting/insert-div-014-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-014-expected.txt.
* editing/inserting/insert-div-015-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-015-expected.txt.
* editing/inserting/insert-div-016-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-016-expected.txt.
* editing/inserting/insert-div-017-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-017-expected.txt.
* editing/inserting/insert-div-018-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-018-expected.txt.
* editing/inserting/insert-div-019-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-019-expected.txt.
* editing/inserting/insert-div-020-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-020-expected.txt.
* editing/inserting/insert-div-022-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-022-expected.txt.
* editing/inserting/insert-div-025-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-025-expected.txt.
* editing/inserting/insert-div-027-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-027-expected.txt.
* editing/inserting/insert-tab-002-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-tab-002-expected.txt.
* editing/inserting/insert-tab-003-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-tab-003-expected.txt.
* editing/inserting/return-key-with-selection-001-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/return-key-with-selection-001-expected.txt.
* editing/inserting/return-key-with-selection-002-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/return-key-with-selection-002-expected.txt.
* editing/inserting/return-key-with-selection-003-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/return-key-with-selection-003-expected.txt.
* editing/inserting/typing-002-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/typing-002-expected.txt.
* editing/inserting/typing-around-br-001-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/typing-around-br-001-expected.txt.
* editing/pasteboard/paste-text-013-expected.txt: Removed.
* editing/pasteboard/paste-text-019-expected.txt: Renamed from LayoutTests/platform/gtk/editing/pasteboard/paste-text-019-expected.txt.
* editing/selection/extend-by-word-001-expected.txt: Renamed from LayoutTests/platform/gtk/editing/selection/extend-by-word-001-expected.txt.
* editing/selection/move-backwords-by-word-001-expected.txt: Renamed from LayoutTests/platform/gtk/editing/selection/move-backwords-by-word-001-expected.txt.
* editing/selection/move-by-character-001-expected.txt: Renamed from LayoutTests/platform/gtk/editing/selection/move-by-character-001-expected.txt.
* editing/selection/move-by-line-001-expected.txt: Renamed from LayoutTests/platform/gtk/editing/selection/move-by-line-001-expected.txt.
* editing/selection/move-by-word-001-expected.txt: Renamed from LayoutTests/platform/gtk/editing/selection/move-by-word-001-expected.txt.
* editing/style/block-styles-007-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/block-styles-007-expected.txt.
* editing/style/create-block-for-style-002-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-002-expected.txt.
* editing/style/create-block-for-style-003-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-003-expected.txt.
* editing/style/create-block-for-style-004-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-004-expected.txt.
* editing/style/create-block-for-style-006-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-006-expected.txt.
* editing/style/create-block-for-style-008-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-008-expected.txt.
* editing/style/create-block-for-style-009-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-009-expected.txt.
* editing/style/create-block-for-style-011-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-011-expected.txt.
* editing/style/create-block-for-style-012-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-012-expected.txt.
* editing/style/create-block-for-style-013-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-013-expected.txt.
* platform/chromium-cg-mac-leopard/css2.1/20110323/height-width-inline-table-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/20110323/height-width-table-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-3928305-fix-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-3959464-fix-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-and-undo-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-block-contents-003-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-contiguous-ws-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-tab-002-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-tab-003-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-to-select-table-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-trailing-ws-002-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-ws-fixup-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-ws-fixup-002-expected.png:
* platform/chromium-cg-mac-leopard/editing/execCommand/5569741-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/execCommand/insert-list-and-stitch-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/execCommand/insertHorizontalRule-expected.png:
* platform/chromium-cg-mac-leopard/editing/inserting/5418891-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/editing-empty-divs-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-br-004-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-br-005-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-br-007-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-007-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-012-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-013-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-014-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-015-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-016-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-017-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-018-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-019-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-020-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-022-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-025-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-027-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-paragraph-02-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-paragraph-03-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-tab-002-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-tab-003-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-text-with-newlines-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/paragraph-separator-01-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/paragraph-separator-02-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/paragraph-separator-03-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/return-key-with-selection-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/return-key-with-selection-002-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/return-key-with-selection-003-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/typing-002-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/typing-around-br-001-expected.png:
* platform/chromium-cg-mac-leopard/editing/pasteboard/4242293-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/pasteboard/8145-2-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/pasteboard/cut-text-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/pasteboard/merge-after-delete-1-expected.png:
* platform/chromium-cg-mac-leopard/editing/pasteboard/merge-after-delete-2-expected.png:
* platform/chromium-cg-mac-leopard/editing/pasteboard/merge-after-delete-expected.png:
* platform/chromium-cg-mac-leopard/editing/pasteboard/merge-end-blockquote-expected.png:
* platform/chromium-cg-mac-leopard/editing/pasteboard/paste-text-013-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/pasteboard/paste-text-014-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/pasteboard/paste-text-019-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/selection/13804-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/selection/5234383-1-expected.png:
* platform/chromium-cg-mac-leopard/editing/selection/5234383-2-expected.png:
* platform/chromium-cg-mac-leopard/editing/selection/extend-by-word-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/selection/move-backwords-by-word-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/selection/move-by-character-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/selection/move-by-line-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/selection/move-by-word-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/selection/select-from-textfield-outwards-expected.png:
* platform/chromium-cg-mac-leopard/editing/selection/unrendered-002-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/spelling/inline_spelling_markers-expected.png:
* platform/chromium-cg-mac-leopard/editing/spelling/spelling-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/5046875-2-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/block-styles-007-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-002-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-003-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-004-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-006-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-008-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-009-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-011-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-012-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-013-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-3928305-fix-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-3959464-fix-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-and-undo-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-block-contents-003-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-contiguous-ws-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-tab-002-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-tab-003-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-to-select-table-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-trailing-ws-002-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-ws-fixup-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-ws-fixup-002-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/execCommand/5569741-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/execCommand/insert-list-and-stitch-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/execCommand/insertHorizontalRule-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/5418891-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/editing-empty-divs-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-br-004-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-br-005-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-br-007-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-007-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-012-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-013-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-014-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-015-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-016-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-017-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-018-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-019-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-020-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-022-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-025-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-027-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-paragraph-02-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-paragraph-03-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-tab-002-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-tab-003-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-text-with-newlines-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/paragraph-separator-01-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/paragraph-separator-02-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/paragraph-separator-03-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/return-key-with-selection-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/return-key-with-selection-002-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/return-key-with-selection-003-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/typing-002-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/typing-around-br-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/4242293-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/8145-2-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/cut-text-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/merge-after-delete-1-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/merge-after-delete-2-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/merge-after-delete-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/merge-end-blockquote-expected.png:
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/paste-text-013-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/paste-text-014-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/paste-text-019-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/13804-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/5234383-1-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/5234383-2-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/extend-by-word-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/move-backwords-by-word-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/move-by-character-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/move-by-line-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/move-by-word-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/select-from-textfield-outwards-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/unrendered-002-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/spelling/inline_spelling_markers-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/spelling/spelling-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/5046875-2-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/block-styles-007-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-002-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-003-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-004-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-006-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-008-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-009-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-011-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-012-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-013-expected.png: Added.
* platform/chromium-cg-mac/editing/deleting/delete-tab-003-expected.png: Removed.
* platform/chromium-cg-mac/editing/deleting/delete-ws-fixup-001-expected.png: Removed.
* platform/chromium-cg-mac/editing/deleting/delete-ws-fixup-002-expected.png: Removed.
* platform/chromium-cg-mac/editing/inserting/insert-tab-003-expected.png: Removed.
* platform/chromium-cg-mac/editing/inserting/typing-around-br-001-expected.png: Removed.
* platform/chromium-cg-mac/editing/pasteboard/merge-after-delete-1-expected.png: Removed.
* platform/chromium-cg-mac/editing/pasteboard/merge-after-delete-2-expected.png: Removed.
* platform/chromium-cg-mac/editing/pasteboard/merge-after-delete-expected.png: Removed.
* platform/chromium-cg-mac/editing/selection/5234383-1-expected.png: Removed.
* platform/chromium-cg-mac/editing/selection/5234383-2-expected.png: Removed.
* platform/chromium-cg-mac/editing/selection/select-from-textfield-outwards-expected.png: Removed.
* platform/chromium-cg-mac/editing/spelling/inline_spelling_markers-expected.png: Removed.
* platform/chromium-cg-mac/editing/style/create-block-for-style-006-expected.png: Removed.
* platform/chromium-cg-mac/editing/style/create-block-for-style-011-expected.png: Removed.
* platform/chromium-cg-mac/editing/style/create-block-for-style-012-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/abspos-containing-block-initial-001-expected.txt: Removed.
* platform/chromium-linux/css2.1/20110323/abspos-containing-block-initial-001-ref-expected.txt: Removed.
* platform/chromium-linux/css2.1/20110323/abspos-containing-block-initial-007-expected.txt: Removed.
* platform/chromium-linux/css2.1/20110323/abspos-containing-block-initial-007-ref-expected.txt: Removed.
* platform/chromium-mac-leopard/css2.1/20110323/height-width-inline-table-001-expected.png: Added.
* platform/chromium-mac-leopard/css2.1/20110323/height-width-table-001-expected.png: Added.
* platform/chromium-mac-leopard/editing/deleting/delete-3928305-fix-expected.png: Added.
* platform/chromium-mac-leopard/editing/deleting/delete-to-select-table-expected.png: Added.
* platform/chromium-mac-leopard/editing/deleting/delete-ws-fixup-002-expected.png: Added.
* platform/chromium-mac-leopard/editing/execCommand/5569741-expected.png: Added.
* platform/chromium-mac-leopard/editing/execCommand/insert-list-and-stitch-expected.png: Added.
* platform/chromium-mac-leopard/editing/execCommand/insertHorizontalRule-expected.png: Added.
* platform/chromium-mac-leopard/editing/inserting/5418891-expected.png: Added.
* platform/chromium-mac-leopard/editing/inserting/editing-empty-divs-expected.png: Added.
* platform/chromium-mac-leopard/editing/inserting/insert-paragraph-02-expected.png: Added.
* platform/chromium-mac-leopard/editing/inserting/insert-paragraph-03-expected.png: Added.
* platform/chromium-mac-leopard/editing/inserting/paragraph-separator-01-expected.png: Added.
* platform/chromium-mac-leopard/editing/inserting/paragraph-separator-02-expected.png: Added.
* platform/chromium-mac-leopard/editing/inserting/paragraph-separator-03-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/4242293-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/8145-2-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/merge-after-delete-1-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/merge-after-delete-2-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/merge-after-delete-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/merge-end-blockquote-expected.png:
* platform/chromium-mac-leopard/editing/pasteboard/paste-text-013-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/paste-text-014-expected.png: Added.
* platform/chromium-mac-leopard/editing/selection/13804-expected.png: Added.
* platform/chromium-mac-leopard/editing/selection/5234383-1-expected.png: Added.
* platform/chromium-mac-leopard/editing/selection/5234383-2-expected.png: Added.
* platform/chromium-mac-leopard/editing/selection/select-from-textfield-outwards-expected.png: Added.
* platform/chromium-mac-leopard/editing/spelling/inline_spelling_markers-expected.png: Added.
* platform/chromium-mac-leopard/editing/spelling/spelling-expected.png: Added.
* platform/chromium-mac-leopard/editing/style/5046875-2-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-3928305-fix-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/deleting/delete-3928305-fix-expected.png.
* platform/chromium-mac-snowleopard/editing/deleting/delete-3959464-fix-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-and-undo-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-contents-003-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-contiguous-ws-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-tab-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-tab-003-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-to-select-table-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-trailing-ws-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-ws-fixup-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-ws-fixup-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/execCommand/5569741-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/execCommand/insert-list-and-stitch-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/execCommand/insertHorizontalRule-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/5418891-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/editing-empty-divs-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-br-004-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-br-005-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-br-007-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-007-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-007-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-012-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-012-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-013-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-013-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-014-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-014-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-015-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-015-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-016-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-016-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-017-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-017-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-018-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-018-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-019-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-019-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-020-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-020-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-022-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-022-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-025-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-027-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-027-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-paragraph-02-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-paragraph-03-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-tab-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-tab-003-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-text-with-newlines-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/paragraph-separator-01-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/paragraph-separator-02-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/paragraph-separator-03-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/return-key-with-selection-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/return-key-with-selection-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/return-key-with-selection-003-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/typing-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/typing-around-br-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/4242293-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/8145-2-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/cut-text-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/merge-after-delete-1-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/merge-after-delete-2-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/merge-after-delete-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/merge-end-blockquote-expected.png:
* platform/chromium-mac-snowleopard/editing/pasteboard/paste-text-013-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/pasteboard/paste-text-013-expected.png.
* platform/chromium-mac-snowleopard/editing/pasteboard/paste-text-014-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/pasteboard/paste-text-014-expected.png.
* platform/chromium-mac-snowleopard/editing/pasteboard/paste-text-019-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/13804-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/5234383-1-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/5234383-2-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/extend-by-word-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/move-backwords-by-word-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/move-by-character-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/move-by-line-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/move-by-word-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/select-from-textfield-outwards-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/unrendered-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/spelling/inline_spelling_markers-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/spelling/inline_spelling_markers-expected.png.
* platform/chromium-mac-snowleopard/editing/spelling/spelling-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/style/5046875-2-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/style/block-styles-007-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-002-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-002-expected.png.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-003-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-003-expected.png.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-004-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-004-expected.png.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-006-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-006-expected.png.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-008-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-008-expected.png.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-009-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-009-expected.png.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-011-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-011-expected.png.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-012-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-012-expected.png.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-013-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-013-expected.png.
* platform/chromium-mac/editing/deleting/delete-3959464-fix-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-and-undo-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-block-contents-003-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-contiguous-ws-001-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-tab-002-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-tab-003-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-to-select-table-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-trailing-ws-002-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-ws-fixup-001-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-ws-fixup-002-expected.png: Removed.
* platform/chromium-mac/editing/execCommand/5569741-expected.png: Removed.
* platform/chromium-mac/editing/execCommand/insert-list-and-stitch-expected.png: Removed.
* platform/chromium-mac/editing/execCommand/insertHorizontalRule-expected.png: Removed.
* platform/chromium-mac/editing/inserting/5418891-expected.png: Removed.
* platform/chromium-mac/editing/inserting/editing-empty-divs-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-br-004-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-br-005-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-br-007-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-div-025-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-paragraph-02-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-paragraph-03-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-tab-002-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-tab-003-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-text-with-newlines-expected.png: Removed.
* platform/chromium-mac/editing/inserting/paragraph-separator-01-expected.png: Removed.
* platform/chromium-mac/editing/inserting/paragraph-separator-02-expected.png: Removed.
* platform/chromium-mac/editing/inserting/paragraph-separator-03-expected.png: Removed.
* platform/chromium-mac/editing/inserting/return-key-with-selection-001-expected.png: Removed.
* platform/chromium-mac/editing/inserting/return-key-with-selection-002-expected.png: Removed.
* platform/chromium-mac/editing/inserting/return-key-with-selection-003-expected.png: Removed.
* platform/chromium-mac/editing/inserting/typing-002-expected.png: Removed.
* platform/chromium-mac/editing/inserting/typing-around-br-001-expected.png: Removed.
* platform/chromium-mac/editing/pasteboard/4242293-expected.png: Removed.
* platform/chromium-mac/editing/pasteboard/8145-2-expected.png: Removed.
* platform/chromium-mac/editing/pasteboard/cut-text-001-expected.png: Removed.
* platform/chromium-mac/editing/pasteboard/merge-after-delete-1-expected.png: Removed.
* platform/chromium-mac/editing/pasteboard/merge-after-delete-2-expected.png: Removed.
* platform/chromium-mac/editing/pasteboard/merge-after-delete-expected.png: Removed.
* platform/chromium-mac/editing/pasteboard/paste-text-019-expected.png: Removed.
* platform/chromium-mac/editing/selection/13804-expected.png: Removed.
* platform/chromium-mac/editing/selection/5234383-1-expected.png: Removed.
* platform/chromium-mac/editing/selection/5234383-2-expected.png: Removed.
* platform/chromium-mac/editing/selection/extend-by-word-001-expected.png: Removed.
* platform/chromium-mac/editing/selection/move-backwords-by-word-001-expected.png: Removed.
* platform/chromium-mac/editing/selection/move-by-character-001-expected.png: Removed.
* platform/chromium-mac/editing/selection/move-by-line-001-expected.png: Removed.
* platform/chromium-mac/editing/selection/move-by-word-001-expected.png: Removed.
* platform/chromium-mac/editing/selection/select-from-textfield-outwards-expected.png: Removed.
* platform/chromium-mac/editing/selection/unrendered-002-expected.png: Removed.
* platform/chromium-mac/editing/spelling/spelling-expected.png: Removed.
* platform/chromium-mac/editing/style/5046875-2-expected.png: Removed.
* platform/chromium-mac/editing/style/block-styles-007-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/abspos-containing-block-initial-001-expected.png: Added.
* platform/chromium-win/css2.1/20110323/abspos-containing-block-initial-001-ref-expected.png: Added.
* platform/chromium-win/css2.1/20110323/abspos-containing-block-initial-007-expected.png: Added.
* platform/chromium-win/css2.1/20110323/abspos-containing-block-initial-007-ref-expected.png: Added.
* platform/chromium-win/css2.1/20110323/height-width-inline-table-001-expected.png: Added.
* platform/chromium-win/css2.1/20110323/height-width-inline-table-001-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/height-width-inline-table-001-expected.txt.
* platform/chromium-win/css2.1/20110323/height-width-table-001-expected.png: Added.
* platform/chromium-win/css2.1/20110323/height-width-table-001-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/height-width-table-001-expected.txt.
* platform/chromium/css2.1/20110323/abspos-containing-block-initial-001-expected.png: Added.
* platform/chromium/css2.1/20110323/abspos-containing-block-initial-001-ref-expected.png: Added.
* platform/chromium/css2.1/20110323/abspos-containing-block-initial-007-expected.png: Added.
* platform/chromium/css2.1/20110323/abspos-containing-block-initial-007-ref-expected.png: Added.
* platform/chromium/css2.1/20110323/height-width-inline-table-001-expected.png: Added.
* platform/chromium/css2.1/20110323/height-width-table-001-expected.png: Added.
* platform/chromium/test_expectations.txt:
* platform/mac/editing/deleting/delete-3959464-fix-expected.txt: Removed.
* platform/mac/editing/deleting/delete-block-contents-003-expected.txt: Removed.
* platform/mac/editing/deleting/delete-trailing-ws-002-expected.txt: Removed.
* platform/mac/editing/deleting/delete-ws-fixup-001-expected.txt: Removed.
* platform/mac/editing/inserting/insert-br-004-expected.txt: Removed.
* platform/mac/editing/inserting/insert-br-005-expected.txt: Removed.
* platform/mac/editing/inserting/insert-br-007-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-007-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-012-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-013-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-014-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-015-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-016-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-017-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-018-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-019-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-020-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-022-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-025-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-027-expected.txt: Removed.
* platform/mac/editing/inserting/insert-tab-002-expected.txt: Removed.
* platform/mac/editing/inserting/insert-tab-003-expected.txt: Removed.
* platform/mac/editing/inserting/return-key-with-selection-001-expected.txt: Removed.
* platform/mac/editing/inserting/return-key-with-selection-002-expected.txt: Removed.
* platform/mac/editing/inserting/return-key-with-selection-003-expected.txt: Removed.
* platform/mac/editing/inserting/typing-002-expected.txt: Removed.
* platform/mac/editing/inserting/typing-around-br-001-expected.txt: Removed.
* platform/mac/editing/pasteboard/paste-text-019-expected.txt: Removed.
* platform/mac/editing/selection/extend-by-word-001-expected.txt: Removed.
* platform/mac/editing/selection/move-backwords-by-word-001-expected.txt: Removed.
* platform/mac/editing/selection/move-by-character-001-expected.txt: Removed.
* platform/mac/editing/selection/move-by-line-001-expected.txt: Removed.
* platform/mac/editing/selection/move-by-word-001-expected.txt: Removed.
* platform/mac/editing/style/block-styles-007-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-002-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-003-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-004-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-006-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-008-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-009-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-011-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-012-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-013-expected.txt: Removed.
* platform/qt/css2.1/20110323/abspos-containing-block-initial-007-expected.txt: Removed.
* platform/qt/css2.1/20110323/abspos-containing-block-initial-007-ref-expected.txt: Removed.
* platform/win/editing/inserting/insert-div-013-expected.txt: Removed.
* platform/win/editing/inserting/insert-div-015-expected.txt: Removed.
* platform/win/editing/inserting/insert-div-019-expected.txt: Removed.
* platform/win/editing/inserting/insert-paragraph-03-expected.txt: Removed.
* platform/win/editing/selection/move-by-word-001-expected.txt: Removed.
* platform/win/editing/style/create-block-for-style-008-expected.txt: Removed.

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

7 years agoGenerate XMLHttpRequest constructor for JSC by [Constructor] IDL
haraken@chromium.org [Mon, 17 Oct 2011 03:13:53 +0000 (03:13 +0000)]
Generate XMLHttpRequest constructor for JSC by [Constructor] IDL
https://bugs.webkit.org/show_bug.cgi?id=70208

Reviewed by Adam Barth.

This patch generates an XMLHttpRequest constructor for JSC by [Constructor] IDL,
but V8 is still using a custom constructor since the V8 constructor requires a special logic.

Tests: fast/dom/global-constructors.html
       fast/dom/XMLHttpRequest-constants.html
       fast/dom/xmlhttprequest-constructor-in-detached-document.html
       http/tests/security/cookies/xmlhttprequest.html

* bindings/js/JSXMLHttpRequestCustom.cpp: Removed an XMLHttpRequest custom constructor.
* bindings/scripts/CodeGeneratorV8.pm: Currently, CodeGeneratorV8.pm generates constructor code whenever [Constructor] is specified, even if [V8CustomConstructor] is specified. This is wrong. This patch fixes the condition where the constructor code is generated.
* bindings/scripts/test/V8/V8TestObj.cpp: Updated a run-binding-tests result.
* xml/XMLHttpRequest.h: Added a necessary header.
* xml/XMLHttpRequest.idl: V8 is still using a custom constructor.

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

7 years agoGenerate XSLTProcessor constructor for JSC by [Constructor] IDL.
haraken@chromium.org [Mon, 17 Oct 2011 02:02:18 +0000 (02:02 +0000)]
Generate XSLTProcessor constructor for JSC by [Constructor] IDL.
https://bugs.webkit.org/show_bug.cgi?id=70206

Reviewed by Adam Barth.

Tests: fast/xsl/xslt-processor.html
       fast/xsl/default-html.html
       fast/dom/global-constructors.html

* bindings/js/JSXSLTProcessorCustom.cpp: Removed a custom constructor.
* xml/XSLTProcessor.idl: Removed 'JSCustomConstructor'.

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

8 years ago[chromium] Remove PageAllocatorSymbian.h, OSAllocatorSymbian.cpp, gtk/ThreadingGtk...
noel.gordon@gmail.com [Mon, 17 Oct 2011 01:11:52 +0000 (01:11 +0000)]
[chromium] Remove PageAllocatorSymbian.h, OSAllocatorSymbian.cpp, gtk/ThreadingGtk.cpp from gyp project files
https://bugs.webkit.org/show_bug.cgi?id=70205

Reviewed by James Robinson.

wtf/PageAllocatorSymbian.h and wtf/OSAllocatorSymbian.cpp were removed in r97557.
wtf/gtk/ThreadingGtk.cpp was removed in r97269.

* JavaScriptCore.gypi:

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

8 years agoSupport [Constructor] IDL for JSC.
haraken@chromium.org [Sun, 16 Oct 2011 23:30:06 +0000 (23:30 +0000)]
Support [Constructor] IDL for JSC.
https://bugs.webkit.org/show_bug.cgi?id=70101

Reviewed by Adam Barth.

The spec for [Constructor] IDL is here: http://www.w3.org/TR/WebIDL/#Constructor
This patch introduced [Constructor] IDL for JSC. This patch also added
[ConstructorRaisesException] for JSC. If [ConstructorRaisesException] is specified,
a placeholder for ExceptionCode is passed to XXX::create(), like XXX::create(..., ec).

Notes:
- We do not yet support constructor overloading.
- We do not yet support [Optional] without CallWithDefaultValue for constructor arguments.

Tests: Source/WebCore/bindings/scripts/test/TestInterface.idl
       Source/WebCore/bindings/scripts/test/TestObj.idl

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader): Generates constructor declaration code to a header file, if a given DOM object has constructor.
(GenerateImplementation): Uses GenerateArgumentsCountCheck() and GenerateParametersCheck().
(GenerateArgumentsCountCheck): Splits out of GenerateImplementation() for reuse.
(GenerateParametersCheck): Splits out of GenerateImplementation() for reuse.
(GenerateConstructorDefinition): Generates constructor definition code.
* bindings/scripts/test/JS/JSTestInterface.cpp: Updated the run-binding-tests results.
(WebCore::JSTestInterfaceConstructor::constructJSTestInterface):
* bindings/scripts/test/JS/JSTestInterface.h: Ditto.
(WebCore::JSTestInterfaceConstructor::create):
(WebCore::JSTestInterfaceConstructor::createStructure):
* bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp: Ditto.
(WebCore::jsTestMediaQueryListListenerPrototypeFunctionMethod):
* bindings/scripts/test/JS/JSTestMediaQueryListListener.h: Ditto.
(WebCore::JSTestMediaQueryListListenerConstructor::create):
(WebCore::JSTestMediaQueryListListenerConstructor::createStructure):
* bindings/scripts/test/JS/JSTestObj.cpp: Ditto.
(WebCore::jsTestObjPrototypeFunctionVoidMethod):
(WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionIntMethod):
(WebCore::jsTestObjPrototypeFunctionIntMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionObjMethod):
(WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgs):
(WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows):
(WebCore::jsTestObjPrototypeFunctionSerializedValue):
(WebCore::jsTestObjPrototypeFunctionIdbKey):
(WebCore::jsTestObjPrototypeFunctionOptionsObject):
(WebCore::jsTestObjPrototypeFunctionMethodWithException):
(WebCore::jsTestObjPrototypeFunctionCustomArgsAndException):
(WebCore::jsTestObjPrototypeFunctionAddEventListener):
(WebCore::jsTestObjPrototypeFunctionRemoveEventListener):
(WebCore::jsTestObjPrototypeFunctionWithDynamicFrame):
(WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndArg):
(WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndOptionalArg):
(WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGesture):
(WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGestureASAD):
(WebCore::jsTestObjPrototypeFunctionWithScriptStateVoid):
(WebCore::jsTestObjPrototypeFunctionWithScriptStateObj):
(WebCore::jsTestObjPrototypeFunctionWithScriptStateVoidException):
(WebCore::jsTestObjPrototypeFunctionWithScriptStateObjException):
(WebCore::jsTestObjPrototypeFunctionWithScriptExecutionContext):
(WebCore::jsTestObjPrototypeFunctionMethodWithOptionalArg):
(WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg):
(WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs):
(WebCore::jsTestObjPrototypeFunctionMethodWithCallbackArg):
(WebCore::jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg):
(WebCore::jsTestObjPrototypeFunctionMethodWithCallbackAndOptionalArg):
(WebCore::jsTestObjPrototypeFunctionConditionalMethod1):
(WebCore::jsTestObjPrototypeFunctionConditionalMethod2):
(WebCore::jsTestObjPrototypeFunctionConditionalMethod3):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod1):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod3):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod4):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod5):
(WebCore::jsTestObjPrototypeFunctionClassMethod):
(WebCore::jsTestObjPrototypeFunctionClassMethodWithOptional):
* bindings/scripts/test/JS/JSTestObj.h: Ditto.
(WebCore::JSTestObjConstructor::create):
(WebCore::JSTestObjConstructor::createStructure):
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp: Ditto.
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h: Ditto.
(WebCore::JSTestSerializedScriptValueInterfaceConstructor::create):
(WebCore::JSTestSerializedScriptValueInterfaceConstructor::createStructure):

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

8 years ago[Qt] Unreviewed weekend gardening.
ossy@webkit.org [Sun, 16 Oct 2011 21:37:25 +0000 (21:37 +0000)]
[Qt] Unreviewed weekend gardening.

* platform/qt/fast/dom/Window/window-properties-expected.txt:
* platform/qt/fast/files/url-required-arguments-expected.txt: Added.

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

8 years agohttps://bugs.webkit.org/show_bug.cgi?id=70186
dslomov@google.com [Sun, 16 Oct 2011 19:19:42 +0000 (19:19 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=70186
Pass MessagePortArray to JSC's SerializedScriptValue::serialize/deserialize.

Reviewed by Oliver Hunt.

* bindings/js/JSDOMWindowCustom.cpp:
(WebCore::handlePostMessage):
(WebCore::JSDOMWindow::postMessage):
(WebCore::JSDOMWindow::webkitPostMessage):
* bindings/js/JSDictionary.cpp:
(WebCore::JSDictionary::convertValue):
* bindings/js/JSHistoryCustom.cpp:
(WebCore::JSHistory::pushState):
(WebCore::JSHistory::replaceState):
* bindings/js/JSMessageEventCustom.cpp:
(WebCore::JSMessageEvent::data):
(WebCore::handleInitMessageEvent):
(WebCore::JSMessageEvent::initMessageEvent):
(WebCore::JSMessageEvent::webkitInitMessageEvent):
* bindings/js/JSMessagePortCustom.h:
(WebCore::handlePostMessage):
* bindings/js/JSPopStateEventCustom.cpp:
(WebCore::JSPopStateEvent::state):
* bindings/js/ScriptValue.cpp:
(WebCore::ScriptValue::serialize):
(WebCore::ScriptValue::deserialize):
* bindings/js/SerializedScriptValue.cpp:
(WebCore::SerializedScriptValue::create):
(WebCore::SerializedScriptValue::deserialize):
* bindings/js/SerializedScriptValue.h:

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

8 years agoREGRESSION (r96620): Float-avoiding block positioned incorrectly in right-to-left...
mitz@apple.com [Sun, 16 Oct 2011 15:55:33 +0000 (15:55 +0000)]
REGRESSION (r96620): Float-avoiding block positioned incorrectly in right-to-left block
https://bugs.webkit.org/show_bug.cgi?id=70197

Reviewed by Dave Kilzer.

Source/WebCore:

Test: fast/block/float/avoidance-rtl.html

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::computeStartPositionDeltaForChildAvoidingFloats): Changed
logicalLeftOffsetForContent() to startOffsetForContent() to get the right value in the
right-to-left case.

LayoutTests:

* fast/block/float/avoidance-rtl-expected.png: Added.
* fast/block/float/avoidance-rtl-expected.txt: Added.
* fast/block/float/avoidance-rtl.html: Added.

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

8 years agoAlways enable ENABLE(DOM_STORAGE)
abarth@webkit.org [Sun, 16 Oct 2011 10:28:50 +0000 (10:28 +0000)]
Always enable ENABLE(DOM_STORAGE)
https://bugs.webkit.org/show_bug.cgi?id=70189

Reviewed by Eric Seidel.

.:

* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsWinCE.cmake:
* Source/cmakeconfig.h.cmake:
* configure.ac:

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

As discussed on webkit-dev, we are reducing the complexity of WebKit by
removing unnecessary configuration options.  DOMStorage is not a core
part of the web platform.  It should always be enabled.

* CMakeLists.txt:
* Configurations/FeatureDefines.xcconfig:
* GNUmakefile.am:
* GNUmakefile.list.am:
* UseJSC.cmake:
* WebCore.exp.in:
* WebCore.pro:
* bindings/js/JSEventCustom.cpp:
* bindings/js/JSInjectedScriptHostCustom.cpp:
* bindings/js/JSStorageCustom.cpp:
* bindings/v8/custom/V8EventCustom.cpp:
(WebCore::toV8):
* bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
(WebCore::V8InjectedScriptHost::storageIdCallback):
* bindings/v8/custom/V8StorageCustom.cpp:
* dom/Document.cpp:
(WebCore::Document::createEvent):
* dom/Event.cpp:
(WebCore::Event::isStorageEvent):
* dom/Event.h:
* dom/Node.cpp:
* features.pri:
* inspector/InjectedScriptHost.cpp:
(WebCore::InjectedScriptHost::InjectedScriptHost):
(WebCore::InjectedScriptHost::disconnect):
(WebCore::InjectedScriptHost::storageIdImpl):
* inspector/InjectedScriptHost.h:
(WebCore::InjectedScriptHost::init):
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
(WebCore::InspectorController::connectFrontend):
(WebCore::InspectorController::disconnectFrontend):
(WebCore::InspectorController::restoreInspectorStateFromCookie):
* inspector/InspectorController.h:
* inspector/InspectorDOMStorageAgent.cpp:
* inspector/InspectorDOMStorageResource.cpp:
* inspector/InspectorDOMStorageResource.h:
* inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::didCommitLoadImpl):
(WebCore::InspectorInstrumentation::didUseDOMStorageImpl):
* inspector/InspectorInstrumentation.h:
(WebCore::InspectorInstrumentation::didUseDOMStorage):
* inspector/InstrumentingAgents.h:
(WebCore::InstrumentingAgents::InstrumentingAgents):
* inspector/WorkerInspectorController.cpp:
(WebCore::WorkerInspectorController::WorkerInspectorController):
(WebCore::WorkerInspectorController::connectFrontend):
* inspector/generate-inspector-idl:
* page/Chrome.cpp:
* page/DOMWindow.cpp:
(WebCore::DOMWindow::~DOMWindow):
(WebCore::DOMWindow::clear):
(WebCore::DOMWindow::localStorage):
* page/DOMWindow.h:
* page/DOMWindow.idl:
* page/Navigator.cpp:
(WebCore::Navigator::getStorageUpdates):
* page/Navigator.h:
* page/Navigator.idl:
* page/Page.cpp:
* page/Page.h:
* page/PageGroup.cpp:
(WebCore::PageGroup::closeLocalStorage):
* page/PageGroup.h:
* page/Settings.cpp:
(WebCore::Settings::Settings):
(WebCore::Settings::setSessionStorageQuota):
* page/Settings.h:
(WebCore::Settings::sessionStorageQuota):
* storage/LocalStorageTask.cpp:
* storage/LocalStorageTask.h:
* storage/LocalStorageThread.cpp:
* storage/LocalStorageThread.h:
* storage/Storage.cpp:
* storage/Storage.h:
* storage/Storage.idl:
* storage/StorageArea.h:
* storage/StorageAreaImpl.cpp:
* storage/StorageAreaImpl.h:
* storage/StorageAreaSync.cpp:
(WebCore::StorageAreaSync::scheduleSync):
* storage/StorageAreaSync.h:
* storage/StorageEvent.cpp:
* storage/StorageEvent.h:
* storage/StorageEvent.idl:
* storage/StorageEventDispatcher.cpp:
* storage/StorageEventDispatcher.h:
* storage/StorageMap.cpp:
* storage/StorageMap.h:
* storage/StorageNamespace.cpp:
* storage/StorageNamespace.h:
* storage/StorageNamespaceImpl.cpp:
* storage/StorageNamespaceImpl.h:
* storage/StorageSyncManager.cpp:
(WebCore::StorageSyncManager::scheduleDeleteEmptyDatabase):
* storage/StorageSyncManager.h:
* storage/StorageTracker.cpp:
* storage/StorageTracker.h:

Source/WebKit/chromium:

* features.gypi:
* src/StorageAreaProxy.cpp:
* src/StorageAreaProxy.h:
* src/StorageEventDispatcherChromium.cpp:
* src/StorageEventDispatcherImpl.cpp:
* src/StorageEventDispatcherImpl.h:
* src/StorageNamespaceProxy.cpp:
* src/StorageNamespaceProxy.h:
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableLocalStorage):
(WebKit::WebRuntimeFeatures::isLocalStorageEnabled):
(WebKit::WebRuntimeFeatures::enableSessionStorage):
(WebKit::WebRuntimeFeatures::isSessionStorageEnabled):
* src/WebStorageAreaImpl.cpp:
* src/WebStorageAreaImpl.h:
* src/WebStorageEventDispatcherImpl.cpp:
* src/WebStorageEventDispatcherImpl.h:
* src/WebStorageNamespaceImpl.cpp:
* src/WebStorageNamespaceImpl.h:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:
* Storage/WebStorageManager.mm:
* Storage/WebStorageManagerInternal.h:
* Storage/WebStorageTrackerClient.h:
* Storage/WebStorageTrackerClient.mm:
(WebStorageTrackerClient::dispatchDidModifyOrigin):
* WebView/WebView.mm:
(-[WebView _commonInitializationWithFrameName:groupName:]):

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::initializeWebProcess):

Tools:

* Scripts/build-webkit:
* waf/build/settings.py:

WebKitLibraries:

* win/tools/vsprops/FeatureDefines.vsprops:
* win/tools/vsprops/FeatureDefinesCairo.vsprops:

LayoutTests:

* fast/events/event-creation.html:

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

8 years agoRename ENABLE(SKIA_TEXT) to USE(SKIA_TEXT)
abarth@webkit.org [Sun, 16 Oct 2011 05:59:12 +0000 (05:59 +0000)]
Rename ENABLE(SKIA_TEXT) to USE(SKIA_TEXT)
https://bugs.webkit.org/show_bug.cgi?id=70191

Reviewed by Daniel Bates.

Source/WebCore:

SKIA_TEXT is not a WebKit feature.  It's a macro that determines
whether we use a feature of the underly library (Skia).

* platform/graphics/chromium/FontChromiumWin.cpp:
(WebCore::Font::drawComplexText):
* platform/graphics/chromium/UniscribeHelper.cpp:
(WebCore::UniscribeHelper::draw):
* platform/graphics/skia/PlatformContextSkia.cpp:
(WebCore::PlatformContextSkia::isNativeFontRenderingAllowed):
* platform/graphics/skia/PlatformContextSkia.h:
* platform/graphics/skia/SkiaFontWin.cpp:
* platform/graphics/skia/SkiaFontWin.h:

Source/WebKit/chromium:

* features.gypi:

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

8 years ago2011-10-15 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Sun, 16 Oct 2011 05:00:15 +0000 (05:00 +0000)]
2011-10-15  Eric Carlson  <eric.carlson@apple.com>

        Make VIDEO_TRACK compile with warnings as errors enabled
        https://bugs.webkit.org/show_bug.cgi?id=70188

        Reviewed by Filip Pizlo.

        No new tests, no functionality changed.

        * html/TextTrackCueList.h: Fix an include.
        * html/track/CueParser.cpp:
        (WebCore::CueParser::supportsType): Remove unused param.
        * html/track/CueParser.h:
        (WebCore::CueParserClient::~CueParserClient): Add virtual destructor.
        * html/track/CueParserPrivate.h:
        (WebCore::CueParserPrivateClient::~CueParserPrivateClient): Ditto.
        * loader/CueLoader.h:
        (WebCore::CueLoaderClient::~CueLoaderClient): Ditto.
        (WebCore::CueLoader::~CueLoader): Ditto.

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

8 years agoRename ENABLE(TILED_BACKING_STORE) to USE(TILED_BACKING_STORE)
abarth@webkit.org [Sun, 16 Oct 2011 04:35:21 +0000 (04:35 +0000)]
Rename ENABLE(TILED_BACKING_STORE) to USE(TILED_BACKING_STORE)
https://bugs.webkit.org/show_bug.cgi?id=70194

Reviewed by Daniel Bates.

Source/WebCore:

TILED_BACKING_STORE isn't a web platform feature.  It's an
implementation strategy for WebKit that's used by some ports
and not by others.

* features.pri:
* loader/EmptyClients.h:
* page/Chrome.cpp:
* page/Chrome.h:
* page/ChromeClient.h:
* page/Frame.cpp:
(WebCore::Frame::Frame):
(WebCore::Frame::setView):
* page/Frame.h:
* page/FrameView.cpp:
(WebCore::FrameView::repaintContentRectangle):
(WebCore::FrameView::doDeferredRepaints):
* page/Settings.cpp:
(WebCore::Settings::setTiledBackingStoreEnabled):
* platform/HostWindow.h:
* platform/ScrollView.cpp:
(WebCore::ScrollView::setScrollPosition):
* platform/graphics/Tile.h:
* platform/graphics/TiledBackingStore.cpp:
* platform/graphics/TiledBackingStore.h:
* platform/graphics/TiledBackingStoreBackend.h:
* platform/graphics/TiledBackingStoreClient.h:
* platform/graphics/qt/GraphicsLayerQt.cpp:
(WebCore::GraphicsLayerQtImpl::GraphicsLayerQtImpl):
(WebCore::GraphicsLayerQtImpl::~GraphicsLayerQtImpl):
(WebCore::GraphicsLayerQtImpl::recache):
(WebCore::GraphicsLayerQtImpl::paint):
* platform/graphics/qt/TileQt.cpp:
* platform/graphics/qt/TileQt.h:
* platform/graphics/texmap/TextureMapperNode.cpp:
(WebCore::TextureMapperNode::computeTiles):
(WebCore::TextureMapperNode::renderContent):
(WebCore::TextureMapperNode::paintSelf):
(WebCore::TextureMapperNode::syncCompositingStateSelf):
* platform/graphics/texmap/TextureMapperNode.h:
(WebCore::TextureMapperNode::State::State):

Source/WebKit/qt:

* Api/qgraphicswebview.cpp:
(QGraphicsWebViewPrivate::_q_scaleChanged):
(QGraphicsWebView::QGraphicsWebView):
(QGraphicsWebView::paint):
(QGraphicsWebView::isTiledBackingStoreFrozen):
(QGraphicsWebView::setTiledBackingStoreFrozen):
* Api/qwebframe.cpp:
* Api/qwebframe_p.h:
* Api/qwebpage.cpp:
(QWebPagePrivate::dynamicPropertyChangeEvent):
* Api/qwebsettings.cpp:
(QWebSettingsPrivate::apply):
* WebCoreSupport/ChromeClientQt.cpp:
(WebCore::ChromeClientQt::invalidateWindow):
* WebCoreSupport/ChromeClientQt.h:
* WebCoreSupport/PageClientQt.cpp:
(WebCore::PageClientQGraphicsWidget::createOrDeleteOverlay):
* WebCoreSupport/PageClientQt.h:
* tests/qgraphicswebview/tst_qgraphicswebview.cpp:

Source/WebKit2:

* Shared/DrawingAreaInfo.h:
* UIProcess/DrawingAreaProxy.h:
* UIProcess/DrawingAreaProxy.messages.in:
* UIProcess/PageClient.h:
* UIProcess/TiledDrawingAreaProxy.cpp:
* UIProcess/TiledDrawingAreaProxy.h:
* UIProcess/WebPageProxy.cpp:
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::contentsSizeChanged):
* WebProcess/WebCoreSupport/WebChromeClient.h:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):
* WebProcess/WebPage/DrawingArea.cpp:
(WebKit::DrawingArea::create):
* WebProcess/WebPage/DrawingArea.h:
* WebProcess/WebPage/DrawingArea.messages.in:
* WebProcess/WebPage/TiledBackingStoreRemoteTile.cpp:
* WebProcess/WebPage/TiledBackingStoreRemoteTile.h:
* WebProcess/WebPage/TiledDrawingArea.cpp:
* WebProcess/WebPage/TiledDrawingArea.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::setSize):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:

Tools:

* Scripts/build-webkit:

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

8 years agoRemove unused ENABLE(SKIA_GPU)
abarth@webkit.org [Sun, 16 Oct 2011 04:19:55 +0000 (04:19 +0000)]
Remove unused ENABLE(SKIA_GPU)
https://bugs.webkit.org/show_bug.cgi?id=70192

Reviewed by Daniel Bates.

There do not appear to be any references to this macro.

* features.gypi:

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

8 years agoRemove the last remnant of WBXML
abarth@webkit.org [Sun, 16 Oct 2011 03:33:30 +0000 (03:33 +0000)]
Remove the last remnant of WBXML
https://bugs.webkit.org/show_bug.cgi?id=70187

Reviewed by Daniel Bates.

The bulk of the WBXML code was removed in 2009, but we missed one block.

* platform/wince/MIMETypeRegistryWinCE.cpp:
(WebCore::initMIMETypeEntensionMap):

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

8 years agoThe s390 and s390x architectures both use 64-bit double type
commit-queue@webkit.org [Sun, 16 Oct 2011 00:54:05 +0000 (00:54 +0000)]
The s390 and s390x architectures both use 64-bit double type
that conforms to the IEEE-754 standard.

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

Patch by Dan Horák <dan@danny.cz> on 2011-10-15
Reviewed by Gavin Barraclough.

* wtf/dtoa/utils.h:

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

8 years agorun-webkit-tests should accept --child-processes
ojan@chromium.org [Sun, 16 Oct 2011 00:18:26 +0000 (00:18 +0000)]
run-webkit-tests should accept --child-processes
https://bugs.webkit.org/show_bug.cgi?id=69713

Reviewed by Adam Barth.

Only set --child-processes=1 if --child-processes it not
passed on the commandline.

* Scripts/run-webkit-tests:

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

8 years agoJS Test Harness: Make console and description elements optional in the HTML
arv@chromium.org [Sat, 15 Oct 2011 23:46:03 +0000 (23:46 +0000)]
JS Test Harness: Make console and description elements optional in the HTML
https://bugs.webkit.org/show_bug.cgi?id=69881

Reviewed by Darin Adler.

This makes the description element and the console element in the HTML files
optional and these gets created as needed by the call to description() and debug().

This removes the description and console elements from a lots of files in LayoutTests/fast/

* fast/js/resources/js-test-pre.js:

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

8 years agoREGRESSION(r97533): fast/forms/select-script-onchange.html failed after
darin@apple.com [Sat, 15 Oct 2011 22:47:42 +0000 (22:47 +0000)]
REGRESSION(r97533): fast/forms/select-script-onchange.html failed after
https://bugs.webkit.org/show_bug.cgi?id=70173

Reviewed by Ryosuke Niwa.

* html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::setValue): Removed unneeded boolean argument
[true for deselect].
(WebCore::HTMLSelectElement::menuListDefaultEventHandler): Added explicit
boolean arguments for all calls to setSelectedIndex to restore pre-r97533
behavior.
(WebCore::HTMLSelectElement::typeAheadFind): Ditto.
(WebCore::HTMLSelectElement::accessKeySetSelectedIndex): Ditto.

* html/HTMLSelectElement.h:
Removed default of true for userDrivenChange. Each caller should pass it
explicitly. Longer term we should use an enum instead of a boolean or find
some other way of avoiding the argument.
(WebCore::HTMLSelectElement::setSelectedIndex):
Pass false for userDrivenChange as the old code did pre-r97533.

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

8 years agoFunctionExecutable should expose the ability to create unattached FunctionCodeBlocks
fpizlo@apple.com [Sat, 15 Oct 2011 21:44:50 +0000 (21:44 +0000)]
FunctionExecutable should expose the ability to create unattached FunctionCodeBlocks
https://bugs.webkit.org/show_bug.cgi?id=70157

Reviewed by Geoff Garen.

Added FunctionExecutable::produceCodeBlockFor() and rewired compileForCallInternal()
and compileForConstructInternal() to use this method. This required more cleanly
exposing some of CodeBlock's tiering functionality and moving the CompilationKind
enum to Executable.h, as this was the easiest way to make it available to the
declarations/definitions of CodeBlock, FunctionExecutable, and BytecodeGenerator.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::copyDataFrom):
(JSC::CodeBlock::copyDataFromAlternative):
* bytecode/CodeBlock.h:
(JSC::CodeBlock::setAlternative):
* bytecompiler/BytecodeGenerator.h:
* runtime/Executable.cpp:
(JSC::EvalExecutable::compileInternal):
(JSC::ProgramExecutable::compileInternal):
(JSC::FunctionExecutable::produceCodeBlockFor):
(JSC::FunctionExecutable::compileForCallInternal):
(JSC::FunctionExecutable::compileForConstructInternal):
* runtime/Executable.h:
(JSC::FunctionExecutable::codeBlockFor):

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

8 years ago[Chromium] Populate WebMouseEvent movementX/Y on Mac
scheib@chromium.org [Sat, 15 Oct 2011 19:35:33 +0000 (19:35 +0000)]
[Chromium] Populate WebMouseEvent movementX/Y on Mac
https://bugs.webkit.org/show_bug.cgi?id=70167

Reviewed by Adam Barth.

* src/mac/WebInputEventFactory.mm:
(WebKit::setWebEventLocationFromEventInView):

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

8 years agoExtract common gdb code into its own function; Remove script gdb-safari
dbates@webkit.org [Sat, 15 Oct 2011 19:34:27 +0000 (19:34 +0000)]
Extract common gdb code into its own function; Remove script gdb-safari
https://bugs.webkit.org/show_bug.cgi?id=68499

Reviewed by David Kilzer.

Almost identical code is used in webkitdirs::{debugMiniBrowser, debugWebKitTestRunner,
runSafari}() and in the script gdb-safari to launch gdb to debug an application.
We should extract the common parts into a function that can be shared by all callers
so as to remove duplicate code.

As a side effect of removing duplicate code we can remove the script gdb-safari since
its code has been incorporated into webkitdirs::debugSafari() which is called by the
script debug-safari.

* Scripts/debug-safari: Modified to call webkitdirs::debugSafari().
* Scripts/gdb-safari: Removed.
* Scripts/webkitdirs.pm:
(execMacWebKitAppForDebugging): Added; Extracted common debugging code from
debugMiniBrowser(), debugWebKitTestRunner(), runSafari() and
script gdb-safari to here.
(debugSafari): Added.
(runSafari): Extracted debugging code to debugSafari() and debugMacWebKitApp();
Also, return the exit status of WebKit launcher (WebKit.exe) on Windows. Currently,
runSafari() always returns 1 on Windows and the script run-safari exits using this
value as its exit status. Hence, the script run-safari always exits with a nonzero
exit status (i.e. abnormal termination) on Windows. Instead, we should return the
exit status of the WebKit launcher application.
(debugMiniBrowser): Modified to call debugMacWebKitApp().
(debugWebKitTestRunner): Ditto.

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

8 years ago[webkit-patch] Put Source/Tools changes at the top of patches, LayoutTests at the...
robert@webkit.org [Sat, 15 Oct 2011 19:14:37 +0000 (19:14 +0000)]
[webkit-patch] Put Source/Tools changes at the top of patches, LayoutTests at the bottom
https://bugs.webkit.org/show_bug.cgi?id=70056

Reviewed by Adam Barth.

The preferred file-order for patches is LayoutTests at the end and
ChangeLogs before everything else in a subdirectory. Specify this in a git 'orderfile' and use
it when creating patches for review and landing.

* Scripts/webkitpy/common/checkout/scm/git.py:
* Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
* Scripts/webkitpy/common/config/orderfile: Added.

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

8 years agoUnreviewed, rolling out r97559.
commit-queue@webkit.org [Sat, 15 Oct 2011 16:17:29 +0000 (16:17 +0000)]
Unreviewed, rolling out r97559.
http://trac.webkit.org/changeset/97559
https://bugs.webkit.org/show_bug.cgi?id=70176

Broke build on Mac (Requested by noamr_ on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-10-15

* DerivedSources.pro:
* Platform/CoreIPC/MessageID.h:
* Scripts/webkit2/messages.py:
* Shared/LayerTreeContext.h:
* Shared/WebLayerTreeInfo.cpp:
(WebKit::WebLayerInfo::encode):
(WebKit::WebLayerInfo::decode):
* Shared/WebLayerTreeInfo.h:
* Shared/qt/LayerTreeContextQt.cpp:
(WebKit::LayerTreeContext::LayerTreeContext):
(WebKit::LayerTreeContext::~LayerTreeContext):
(WebKit::LayerTreeContext::encode):
(WebKit::LayerTreeContext::decode):
(WebKit::LayerTreeContext::isEmpty):
(WebKit::operator==):
* UIProcess/DrawingAreaProxy.cpp:
* UIProcess/DrawingAreaProxy.h:
* UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::enterAcceleratedCompositingMode):
* UIProcess/DrawingAreaProxyImpl.h:
* UIProcess/LayerTreeHostProxy.h: Removed.
* UIProcess/LayerTreeHostProxy.messages.in: Removed.
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveMessage):
* UIProcess/qt/LayerTreeHostProxyQt.cpp: Removed.
* WebKit2.pro:
* WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:
(WebCore::deletedLayerIDs):
(WebCore::WebGraphicsLayer::WebGraphicsLayer):
(WebCore::WebGraphicsLayer::~WebGraphicsLayer):
(WebCore::WebGraphicsLayer::setChildren):
(WebCore::WebGraphicsLayer::addChild):
(WebCore::WebGraphicsLayer::addChildAtIndex):
(WebCore::WebGraphicsLayer::addChildAbove):
(WebCore::WebGraphicsLayer::addChildBelow):
(WebCore::WebGraphicsLayer::replaceChild):
(WebCore::WebGraphicsLayer::removeFromParent):
(WebCore::WebGraphicsLayer::setContentsRect):
(WebCore::WebGraphicsLayer::setContentsToImage):
(WebCore::WebGraphicsLayer::setNeedsDisplay):
(WebCore::WebGraphicsLayer::setNeedsDisplayInRect):
(WebCore::WebGraphicsLayer::setContentsNeedsDisplay):
(WebCore::WebGraphicsLayer::didSynchronize):
(WebCore::WebGraphicsLayer::layerInfo):
(WebCore::WebGraphicsLayer::syncCompositingState):
(WebCore::WebGraphicsLayer::needsDisplayRect):
(WebCore::WebGraphicsLayer::takeLayersToDelete):
(WebCore::WebGraphicsLayer::syncCompositingStateForThisLayerOnly):
(WebCore::divideIntoTiles):
(WebCore::collectCompositingInfoForThisLayer):
(WebCore::collectCompositingInfoRecursively):
(WebCore::WebGraphicsLayer::sendLayersToUIProcess):
* WebProcess/WebCoreSupport/WebGraphicsLayer.h:
* WebProcess/WebPage/DrawingArea.h:
* WebProcess/WebPage/DrawingAreaImpl.cpp:
* WebProcess/WebPage/DrawingAreaImpl.h:
* WebProcess/WebPage/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::create):
* WebProcess/WebPage/LayerTreeHost.h:
* WebProcess/WebPage/LayerTreeHost.messages.in: Removed.
* WebProcess/WebPage/TiledDrawingArea.cpp:
* WebProcess/WebPage/TiledDrawingArea.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::didReceiveMessage):
* WebProcess/WebPage/qt/LayerTreeHostQt.cpp:
* WebProcess/WebPage/qt/LayerTreeHostQt.h: Removed.

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

8 years ago[Qt][WK2] Synchronize tiling with accelerated compositing
noam.rosenthal@nokia.com [Sat, 15 Oct 2011 16:01:47 +0000 (16:01 +0000)]
[Qt][WK2] Synchronize tiling with accelerated compositing
https://bugs.webkit.org/show_bug.cgi?id=69151

Reviewed by Simon Hausmann.

Make the tiled "non-composited" content and the composited layers go through the same
code path on WebKit2. Instead of having a "drawing area" that handles the non-composited
content and a seperate layer tree, we put everything in a layer tree, with the non-
composited content being a layer in the tree.

This allows fixing several issues with websites that have large content areas that are
composited or overlap with composited layers.

Layer-tree synchronization is done by passing WebKit2 messages between a LayerTreeHost
on the WebProcess and a LayerTreeHostProxy on the UI process. Every layer in the tree has
its own tiled backing store, and uses the LayerTreeHost communication channel to pass
content up to the UI process. The UI process will later creates its own GraphicsLayer tree,
based on TextureMapper, which can be painted directly with OpenGL.

Several optimizations are available for the non-composited layer as well, e.g. specifying
a trajectory and updating the visible rect together with the content scale.

This code is currently disabled, a separate patch will enable it and glue it to
QTouchWebPage.

* DerivedSources.pro:
* Platform/CoreIPC/MessageID.h:
* Scripts/webkit2/messages.py:
* Shared/LayerTreeContext.h:
* Shared/WebLayerTreeInfo.cpp:
(WebKit::WebLayerInfo::encode):
(WebKit::WebLayerInfo::decode):
* Shared/WebLayerTreeInfo.h:
* Shared/qt/LayerTreeContextQt.cpp:
(WebKit::LayerTreeContext::LayerTreeContext):
(WebKit::LayerTreeContext::~LayerTreeContext):
(WebKit::LayerTreeContext::encode):
(WebKit::LayerTreeContext::decode):
(WebKit::LayerTreeContext::isEmpty):
(WebKit::operator==):
* UIProcess/DrawingAreaProxy.cpp:
(WebKit::DrawingAreaProxy::updateWebView):
(WebKit::DrawingAreaProxy::contentsRect):
* UIProcess/DrawingAreaProxy.h:
(WebKit::DrawingAreaProxy::viewportVisibleRect):
(WebKit::DrawingAreaProxy::isBackingStoreReady):
(WebKit::DrawingAreaProxy::paintToCurrentGLContext):
(WebKit::DrawingAreaProxy::setVisibleContentsRectAndScale):
(WebKit::DrawingAreaProxy::setVisibleContentRectTrajectoryVector):
(WebKit::DrawingAreaProxy::createTileForLayer):
(WebKit::DrawingAreaProxy::updateTileForLayer):
(WebKit::DrawingAreaProxy::removeTileForLayer):
(WebKit::DrawingAreaProxy::didReceiveLayerTreeHostProxyMessage):
(WebKit::DrawingAreaProxy::page):
* UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::enterAcceleratedCompositingMode):
(WebKit::DrawingAreaProxyImpl::didReceiveLayerTreeHostProxyMessage):
(WebKit::DrawingAreaProxyImpl::setVisibleContentsRectAndScale):
(WebKit::DrawingAreaProxyImpl::setVisibleContentRectTrajectoryVector):
(WebKit::DrawingAreaProxyImpl::paintToCurrentGLContext):
* UIProcess/DrawingAreaProxyImpl.h:
* UIProcess/LayerTreeHostProxy.h: Added.
(WebKit::LayerTreeHostProxy::layerByID):
(WebKit::LayerTreeHostProxy::rootLayer):
(WebKit::LayerTreeHostProxy::notifyAnimationStarted):
(WebKit::LayerTreeHostProxy::notifySyncRequired):
(WebKit::LayerTreeHostProxy::showDebugBorders):
(WebKit::LayerTreeHostProxy::showRepaintCounter):
(WebKit::LayerTreeHostProxy::paintContents):
* UIProcess/LayerTreeHostProxy.messages.in: Added.
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveMessage):
* UIProcess/qt/LayerTreeHostProxyQt.cpp: Added.
* WebKit2.pro:
* WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:
(WebCore::WebGraphicsLayer::WebGraphicsLayer):
(WebCore::WebGraphicsLayer::~WebGraphicsLayer):
(WebCore::WebGraphicsLayer::setChildren):
(WebCore::WebGraphicsLayer::addChild):
(WebCore::WebGraphicsLayer::addChildAtIndex):
(WebCore::WebGraphicsLayer::addChildAbove):
(WebCore::WebGraphicsLayer::addChildBelow):
(WebCore::WebGraphicsLayer::replaceChild):
(WebCore::WebGraphicsLayer::removeFromParent):
(WebCore::WebGraphicsLayer::setContentsNeedsDisplay):
(WebCore::WebGraphicsLayer::setContentsToImage):
(WebCore::WebGraphicsLayer::setNeedsDisplay):
(WebCore::WebGraphicsLayer::setNeedsDisplayInRect):
(WebCore::WebGraphicsLayer::syncCompositingState):
(WebCore::WebGraphicsLayer::syncCompositingStateForThisLayerOnly):
(WebCore::WebGraphicsLayer::tiledBackingStorePaintBegin):
(WebCore::WebGraphicsLayer::setContentsScale):
(WebCore::WebGraphicsLayer::setRootLayer):
(WebCore::WebGraphicsLayer::setVisibleContentRectTrajectoryVector):
(WebCore::WebGraphicsLayer::setVisibleContentRect):
(WebCore::WebGraphicsLayer::tiledBackingStorePaint):
(WebCore::WebGraphicsLayer::tiledBackingStorePaintEnd):
(WebCore::WebGraphicsLayer::tiledBackingStoreUpdatesAllowed):
(WebCore::WebGraphicsLayer::tiledBackingStoreContentsRect):
(WebCore::WebGraphicsLayer::tiledBackingStoreVisibleRect):
(WebCore::WebGraphicsLayer::tiledBackingStoreBackgroundColor):
(WebCore::WebGraphicsLayer::createTile):
(WebCore::WebGraphicsLayer::updateTile):
(WebCore::WebGraphicsLayer::removeTile):
(WebCore::WebGraphicsLayer::updateTileBuffersRecursively):
(WebCore::WebGraphicsLayer::layerTreeTileClient):
(WebCore::WebGraphicsLayer::updateContentBuffers):
* WebProcess/WebCoreSupport/WebGraphicsLayer.h:
(WebCore::WebGraphicsLayer::setLayerTreeTileClient):
* WebProcess/WebPage/DrawingArea.h:
* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::didReceiveLayerTreeHostMessage):
* WebProcess/WebPage/DrawingAreaImpl.h:
* WebProcess/WebPage/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::create):
* WebProcess/WebPage/LayerTreeHost.h:
(WebKit::LayerTreeHost::setVisibleContentRectAndScale):
(WebKit::LayerTreeHost::setVisibleContentRectTrajectoryVector):
(WebKit::LayerTreeHost::setVisibleContentRectForLayer):
(WebKit::LayerTreeHost::renderNextFrame):
* WebProcess/WebPage/LayerTreeHost.messages.in: Added.
* WebProcess/WebPage/TiledDrawingArea.cpp:
(WebKit::TiledDrawingArea::didReceiveLayerTreeHostMessage):
* WebProcess/WebPage/TiledDrawingArea.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::didReceiveMessage):
* WebProcess/WebPage/qt/LayerTreeHostQt.cpp:
(WebKit::LayerTreeHostQt::create):
(WebKit::LayerTreeHostQt::~LayerTreeHostQt):
(WebKit::LayerTreeHostQt::LayerTreeHostQt):
(WebKit::LayerTreeHostQt::setLayerFlushSchedulingEnabled):
(WebKit::LayerTreeHostQt::scheduleLayerFlush):
(WebKit::LayerTreeHostQt::cancelPendingLayerFlush):
(WebKit::LayerTreeHostQt::setShouldNotifyAfterNextScheduledLayerFlush):
(WebKit::LayerTreeHostQt::setRootCompositingLayer):
(WebKit::LayerTreeHostQt::invalidate):
(WebKit::LayerTreeHostQt::setNonCompositedContentsNeedDisplay):
(WebKit::LayerTreeHostQt::scrollNonCompositedContents):
(WebKit::LayerTreeHostQt::forceRepaint):
(WebKit::LayerTreeHostQt::sizeDidChange):
(WebKit::LayerTreeHostQt::didInstallPageOverlay):
(WebKit::LayerTreeHostQt::didUninstallPageOverlay):
(WebKit::LayerTreeHostQt::setPageOverlayNeedsDisplay):
(WebKit::LayerTreeHostQt::flushPendingLayerChanges):
(WebKit::LayerTreeHostQt::didSyncCompositingStateForLayer):
(WebKit::LayerTreeHostQt::didDeleteLayer):
(WebKit::LayerTreeHostQt::performScheduledLayerFlush):
(WebKit::LayerTreeHostQt::layerFlushTimerFired):
(WebKit::LayerTreeHostQt::createPageOverlayLayer):
(WebKit::LayerTreeHostQt::destroyPageOverlayLayer):
(WebKit::LayerTreeHostQt::adoptImageBackingStore):
(WebKit::LayerTreeHostQt::releaseImageBackingStore):
(WebKit::LayerTreeHostQt::notifyAnimationStarted):
(WebKit::LayerTreeHostQt::notifySyncRequired):
(WebKit::LayerTreeHostQt::paintContents):
(WebKit::LayerTreeHostQt::showDebugBorders):
(WebKit::LayerTreeHostQt::showRepaintCounter):
(WebKit::LayerTreeHost::supportsAcceleratedCompositing):
(WebKit::LayerTreeHostQt::createTile):
(WebKit::LayerTreeHostQt::updateTile):
(WebKit::LayerTreeHostQt::removeTile):
(WebKit::LayerTreeHostQt::setVisibleContentRectForLayer):
(WebKit::LayerTreeHostQt::setVisibleContentRectAndScale):
(WebKit::LayerTreeHostQt::setVisibleContentRectTrajectoryVector):
(WebKit::LayerTreeHostQt::renderNextFrame):
(WebKit::LayerTreeHostQt::layerTreeTileUpdatesAllowed):

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

8 years agoMissed mac result from r97555
robert@webkit.org [Sat, 15 Oct 2011 15:15:05 +0000 (15:15 +0000)]
Missed mac result from r97555

Unreviewed.

* platform/mac/css2.1/20110323/abspos-containing-block-initial-007-ref-expected.txt: Added.

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

8 years ago [Qt] [Symbian] Remove support for the Symbian platform for the QtWebKit port
laszlo.1.gombos@nokia.com [Sat, 15 Oct 2011 13:25:09 +0000 (13:25 +0000)]
    [Qt] [Symbian] Remove support for the Symbian platform for the QtWebKit port
        https://bugs.webkit.org/show_bug.cgi?id=69920
        Patch by Laszlo Gombos  <laszlo.1.gombos@nokia.com> on 2011-10-15
        Reviewed by Kenneth Rohde Christiansen.

        * Source/WebKit.pri:
        * Source/WebKit.pro:

        * DumpRenderTree/qt/DumpRenderTree.pro:
        * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
        (WebCore::DumpRenderTree::open):
        * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
        * QtTestBrowser/QtTestBrowser.pro:
        * QtTestBrowser/launcherwindow.cpp:
        (LauncherWindow::screenshot):
        (LauncherWindow::showFPS):
        (LauncherWindow::updateFPS):
        * QtTestBrowser/launcherwindow.h:
        (WindowOptions::WindowOptions):
        * QtTestBrowser/mainwindow.cpp:
        (MainWindow::buildUI):
        * Scripts/webkitpy/style/checker.py: Remove rules for the
        WebKit/qt/symbian/platformplugin directory.
        * Scripts/webkitpy/style/checker_unittest.py:
        * Tools.pro:
        * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
        * WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp:
        (WTR::LayoutTestController::platformInitialize):
        * WebKitTestRunner/qt/TestControllerQt.cpp:
        (WTR::isExistingLibrary):
        * WebKitTestRunner/qt/WebKitTestRunner.pro:

        * benchmarks/qscriptengine/qscriptengine.pro:

        * JavaScriptCore.pri:
        * JavaScriptCore.pro:
        * heap/MarkStack.h:
        (JSC::::shrinkAllocation):
        * jit/ExecutableAllocator.cpp:
        * jit/ExecutableAllocator.h:
        (JSC::ExecutableAllocator::cacheFlush):
        * jit/JITStubs.cpp:
        * jsc.pro:
        * runtime/ArrayPrototype.cpp:
        (JSC::arrayProtoFuncToString):
        * runtime/DatePrototype.cpp:
        (JSC::formatLocaleDate):
        * runtime/StringPrototype.cpp:
        (JSC::stringProtoFuncLastIndexOf):
        * runtime/TimeoutChecker.cpp:
        (JSC::getCPUTime):
        * wtf/Assertions.cpp:
        * wtf/Assertions.h:
        * wtf/Atomics.h:
        * wtf/MathExtras.h:
        * wtf/OSAllocator.h:
        (WTF::OSAllocator::decommitAndRelease):
        * wtf/OSAllocatorSymbian.cpp: Removed.
        * wtf/OSRandomSource.cpp:
        (WTF::cryptographicallyRandomValuesFromOS):
        * wtf/PageAllocation.h:
        * wtf/PageAllocatorSymbian.h: Removed.
        * wtf/PageBlock.cpp:
        * wtf/Platform.h:
        * wtf/StackBounds.cpp:
        * wtf/wtf.pri:

        * Api/qgraphicswebview.cpp:
        (QGraphicsWebView::setPage):
        * Api/qwebpage.cpp:
        (QWebPage::userAgentForUrl):
        * Api/qwebview.cpp:
        (QWebView::QWebView):
        * QtWebKit.pro:
        * WebCoreSupport/EditorClientQt.cpp:
        (WebCore::EditorClientQt::setInputMethodState):
        * WebCoreSupport/QtFallbackWebPopup.cpp:
        (WebCore::QtFallbackWebPopup::populate):
        * declarative/declarative.pro:
        * declarative/qdeclarativewebview.cpp:
        (QDeclarativeWebView::setPage):
        * symbian: Removed.
        * symbian/backup_registration.xml: Removed.
        * symbian/bwins: Removed.
        * symbian/bwins/QtWebKitu.def: Removed.
        * symbian/eabi: Removed.
        * symbian/eabi/QtWebKitu.def: Removed.
        * symbian/platformplugin: Removed.
        * symbian/platformplugin/HTML5VideoPlugin.cpp: Removed.
        * symbian/platformplugin/HTML5VideoPlugin.h: Removed.
        * symbian/platformplugin/HTML5VideoWidget.cpp: Removed.
        * symbian/platformplugin/HTML5VideoWidget.h: Removed.
        * symbian/platformplugin/OverlayWidget.cpp: Removed.
        * symbian/platformplugin/OverlayWidget.h: Removed.
        * symbian/platformplugin/PlayerButton.cpp: Removed.
        * symbian/platformplugin/PlayerButton.h: Removed.
        * symbian/platformplugin/PlayerLabel.cpp: Removed.
        * symbian/platformplugin/PlayerLabel.h: Removed.
        * symbian/platformplugin/WebPlugin.cpp: Removed.
        * symbian/platformplugin/WebPlugin.h: Removed.
        * symbian/platformplugin/images: Removed.
        * symbian/platformplugin/images/button_cannotplay.png: Removed.
        * symbian/platformplugin/images/button_close.png: Removed.
        * symbian/platformplugin/images/button_pause.png: Removed.
        * symbian/platformplugin/images/button_play.png: Removed.
        * symbian/platformplugin/images/button_sound_off.png: Removed.
        * symbian/platformplugin/images/button_sound_on.png: Removed.
        * symbian/platformplugin/images/loading_buffering_1.png: Removed.
        * symbian/platformplugin/images/loading_buffering_2.png: Removed.
        * symbian/platformplugin/images/loading_buffering_3.png: Removed.
        * symbian/platformplugin/images/loading_buffering_4.png: Removed.
        * symbian/platformplugin/platformplugin.pro: Removed.
        * symbian/platformplugin/platformplugin.qrc: Removed.
        * symbian/platformplugin/qss: Removed.
        * symbian/platformplugin/qss/OverlayWidget.qss: Removed.
        * symbian/platformplugin/qwebkitplatformplugin.h: Removed.
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
        (tst_QGraphicsWebView::focusInputTypes):
        * tests/qwebframe/qwebframe.pro:
        * tests/qwebframe/tst_qwebframe.cpp:
        * tests/qwebview/tst_qwebview.cpp:
        (tst_QWebView::focusInputTypes):
        * tests/tests.pri:

        * WebCore.gypi:
        * WebCore.pri:
        * WebCore.pro:
        * bindings/v8/V8GCController.cpp:
        (WebCore::V8GCController::checkMemoryUsage):
        * config.h:
        * css/CSSPrimitiveValueMappings.h:
        (WebCore::CSSPrimitiveValue::operator int):
        * features.pri:
        * page/NavigatorBase.cpp:
        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
        * platform/network/qt/ResourceRequestQt.cpp:
        (WebCore::initializeMaximumHTTPConnectionCountPerHost):
        * platform/text/qt/TextCodecQt.cpp:
        (WebCore::TextCodecQt::decode):
        * plugins/PluginDatabase.cpp:
        * plugins/PluginPackage.cpp:
        (WebCore::PluginPackage::unload):
        * plugins/PluginPackage.h:
        (WebCore::PluginPackage::version):
        * plugins/PluginView.cpp:
        (WebCore::PluginView::setFrameRect):
        * plugins/PluginView.h:
        * plugins/npapi.h:
        * plugins/symbian: Removed.
        * plugins/symbian/PluginContainerSymbian.cpp: Removed.
        * plugins/symbian/PluginContainerSymbian.h: Removed.
        * plugins/symbian/PluginDatabaseSymbian.cpp: Removed.
        * plugins/symbian/PluginPackageSymbian.cpp: Removed.
        * plugins/symbian/PluginViewSymbian.cpp: Removed.
        * plugins/symbian/npinterface.h: Removed.

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

8 years agoPlatform-specific results for r97555
robert@webkit.org [Sat, 15 Oct 2011 13:00:53 +0000 (13:00 +0000)]
Platform-specific results for r97555

Unreviewed.

* platform/gtk/css2.1/20110323/abspos-containing-block-initial-001-expected.txt: Added.
* platform/gtk/css2.1/20110323/abspos-containing-block-initial-001-ref-expected.txt: Added.
* platform/gtk/css2.1/20110323/abspos-containing-block-initial-007-expected.txt: Added.
* platform/gtk/css2.1/20110323/abspos-containing-block-initial-007-ref-expected.txt: Added.
* platform/gtk/css2.1/20110323/height-width-inline-table-001-expected.txt: Added.
* platform/gtk/css2.1/20110323/height-width-table-001-expected.txt: Added.
* platform/mac/css2.1/20110323/abspos-containing-block-initial-001-expected.txt: Added.
* platform/mac/css2.1/20110323/abspos-containing-block-initial-001-ref-expected.txt: Added.
* platform/mac/css2.1/20110323/abspos-containing-block-initial-007-expected.txt: Added.
* platform/mac/css2.1/20110323/height-width-inline-table-001-expected.txt: Added.
* platform/mac/css2.1/20110323/height-width-table-001-expected.txt: Added.
* platform/qt/css2.1/20110323/abspos-containing-block-initial-001-expected.txt: Added.
* platform/qt/css2.1/20110323/abspos-containing-block-initial-001-ref-expected.txt: Added.
* platform/qt/css2.1/20110323/abspos-containing-block-initial-007-expected.txt: Added.
* platform/qt/css2.1/20110323/abspos-containing-block-initial-007-ref-expected.txt: Added.
* platform/qt/css2.1/20110323/height-width-inline-table-001-expected.txt: Added.
* platform/qt/css2.1/20110323/height-width-table-001-expected.txt: Added.

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

8 years agoCSS 2.1 failure: height-width-table-001.htm
robert@webkit.org [Sat, 15 Oct 2011 11:32:40 +0000 (11:32 +0000)]
CSS 2.1 failure: height-width-table-001.htm
https://bugs.webkit.org/show_bug.cgi?id=69709

Reviewed by Simon Fraser.

Source/WebCore:

CSS 2.1 expects CSS table elements to treat fixed height/width as
excluding table borders, but HTML table elements to treat fixed height/width as
including them.

See http://lists.w3.org/Archives/Public/www-style/2011Jan/0178.html
    http://lists.w3.org/Archives/Public/public-css-testsuite/2011Oct/0005.html

It looks like some clarification is pending in the specs, but the new behaviour
lets WebKit pass the following tests in the suite CSS and also match FF:
  height-width-table-001.htm
  height-width-inline-table-001.htm
  abspos-containing-block-initial-004d.htm

* rendering/RenderTable.cpp:
(WebCore::RenderTable::computeLogicalWidth):
(WebCore::RenderTable::layout):

LayoutTests:

* css2.1/20110323/abspos-containing-block-initial-001-ref.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-001.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-004-ref-expected.png: Added
* css2.1/20110323/abspos-containing-block-initial-004-ref-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-004-ref.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-004a-expected.png: Added
* css2.1/20110323/abspos-containing-block-initial-004a-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-004a.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-004b-expected.png: Added
* css2.1/20110323/abspos-containing-block-initial-004b-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-004b.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-004c-expected.png: Added
* css2.1/20110323/abspos-containing-block-initial-004c-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-004c.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-004d-expected.png: Added
* css2.1/20110323/abspos-containing-block-initial-004d-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-004d.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-004d.htm.1: Added.
* css2.1/20110323/abspos-containing-block-initial-004e-expected.png: Added
* css2.1/20110323/abspos-containing-block-initial-004e-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-004e.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-004f-expected.png: Added
* css2.1/20110323/abspos-containing-block-initial-004f-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-004f.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-005-ref-expected.png: Added
* css2.1/20110323/abspos-containing-block-initial-005-ref-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-005-ref.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-005a-expected.png: Added
* css2.1/20110323/abspos-containing-block-initial-005a-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-005a.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-005b-expected.png: Added
* css2.1/20110323/abspos-containing-block-initial-005b-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-005b.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-005c-expected.png: Added
* css2.1/20110323/abspos-containing-block-initial-005c-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-005c.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-005d-expected.png: Added
* css2.1/20110323/abspos-containing-block-initial-005d-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-005d.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-007-ref.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-007.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-009-ref-expected.png: Added
* css2.1/20110323/abspos-containing-block-initial-009-ref-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-009-ref.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-009a-expected.png: Added
* css2.1/20110323/abspos-containing-block-initial-009a-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-009a.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-009b-expected.png: Added
* css2.1/20110323/abspos-containing-block-initial-009b-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-009b.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-009e-expected.png: Added
* css2.1/20110323/abspos-containing-block-initial-009e-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-009e.htm: Added.
* css2.1/20110323/abspos-containing-block-initial-009f-expected.png: Added.
* css2.1/20110323/abspos-containing-block-initial-009f-expected.txt: Added.
* css2.1/20110323/abspos-containing-block-initial-009f.htm: Added.
* css2.1/20110323/height-width-inline-table-001.htm: Added.
* css2.1/20110323/height-width-table-001.htm: Added.
* platform/chromium-linux/css2.1/20110323/abspos-containing-block-initial-001-expected.png: Added.
* platform/chromium-linux/css2.1/20110323/abspos-containing-block-initial-001-expected.txt: Added.
* platform/chromium-linux/css2.1/20110323/abspos-containing-block-initial-001-ref-expected.png: Added.
* platform/chromium-linux/css2.1/20110323/abspos-containing-block-initial-001-ref-expected.txt: Added.
* platform/chromium-linux/css2.1/20110323/abspos-containing-block-initial-007-expected.png: Added
* platform/chromium-linux/css2.1/20110323/abspos-containing-block-initial-007-expected.txt: Added.
* platform/chromium-linux/css2.1/20110323/abspos-containing-block-initial-007-ref-expected.png: Added
* platform/chromium-linux/css2.1/20110323/abspos-containing-block-initial-007-ref-expected.txt: Added.
* platform/chromium-linux/css2.1/20110323/height-width-inline-table-001-expected.png: Added.
* platform/chromium-linux/css2.1/20110323/height-width-inline-table-001-expected.txt: Added.
* platform/chromium-linux/css2.1/20110323/height-width-table-001-expected.png: Added.
* platform/chromium-linux/css2.1/20110323/height-width-table-001-expected.txt: Added.
* platform/gtk/fast/backgrounds/table-root-expected.txt: Removed.
* platform/mac/fast/backgrounds/positioned-root-expected.png: Removed.
* platform/mac/fast/backgrounds/table-root-expected.png: Removed.
* platform/mac/fast/backgrounds/table-root-expected.txt: Removed.
* platform/qt/fast/backgrounds/positioned-root-expected.png: Removed.
* platform/qt/fast/backgrounds/positioned-root-expected.txt: Removed.
* platform/qt/fast/backgrounds/table-root-expected.png: Removed.
* platform/qt/fast/backgrounds/table-root-expected.txt: Removed.

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

8 years agoUnreviewed, rolling out r97549.
commit-queue@webkit.org [Sat, 15 Oct 2011 09:37:10 +0000 (09:37 +0000)]
Unreviewed, rolling out r97549.
http://trac.webkit.org/changeset/97549
https://bugs.webkit.org/show_bug.cgi?id=70174

It broke the SL build (Requested by Ossy_weekend on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-10-15

* DerivedSources.pro:
* Platform/CoreIPC/MessageID.h:
* Scripts/webkit2/messages.py:
* Shared/LayerTreeContext.h:
* Shared/WebLayerTreeInfo.cpp:
(WebKit::WebLayerInfo::encode):
(WebKit::WebLayerInfo::decode):
* Shared/WebLayerTreeInfo.h:
* Shared/qt/LayerTreeContextQt.cpp:
(WebKit::LayerTreeContext::LayerTreeContext):
(WebKit::LayerTreeContext::~LayerTreeContext):
(WebKit::LayerTreeContext::encode):
(WebKit::LayerTreeContext::decode):
(WebKit::LayerTreeContext::isEmpty):
(WebKit::operator==):
* UIProcess/DrawingAreaProxy.cpp:
* UIProcess/DrawingAreaProxy.h:
* UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::enterAcceleratedCompositingMode):
* UIProcess/DrawingAreaProxyImpl.h:
* UIProcess/LayerTreeHostProxy.h: Removed.
* UIProcess/LayerTreeHostProxy.messages.in: Removed.
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveMessage):
* UIProcess/qt/LayerTreeHostProxyQt.cpp: Removed.
* WebKit2.pro:
* WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:
(WebCore::deletedLayerIDs):
(WebCore::WebGraphicsLayer::WebGraphicsLayer):
(WebCore::WebGraphicsLayer::~WebGraphicsLayer):
(WebCore::WebGraphicsLayer::setChildren):
(WebCore::WebGraphicsLayer::addChild):
(WebCore::WebGraphicsLayer::addChildAtIndex):
(WebCore::WebGraphicsLayer::addChildAbove):
(WebCore::WebGraphicsLayer::addChildBelow):
(WebCore::WebGraphicsLayer::replaceChild):
(WebCore::WebGraphicsLayer::removeFromParent):
(WebCore::WebGraphicsLayer::setContentsRect):
(WebCore::WebGraphicsLayer::setContentsToImage):
(WebCore::WebGraphicsLayer::setNeedsDisplay):
(WebCore::WebGraphicsLayer::setNeedsDisplayInRect):
(WebCore::WebGraphicsLayer::setContentsNeedsDisplay):
(WebCore::WebGraphicsLayer::didSynchronize):
(WebCore::WebGraphicsLayer::layerInfo):
(WebCore::WebGraphicsLayer::syncCompositingState):
(WebCore::WebGraphicsLayer::needsDisplayRect):
(WebCore::WebGraphicsLayer::takeLayersToDelete):
(WebCore::WebGraphicsLayer::syncCompositingStateForThisLayerOnly):
(WebCore::divideIntoTiles):
(WebCore::collectCompositingInfoForThisLayer):
(WebCore::collectCompositingInfoRecursively):
(WebCore::WebGraphicsLayer::sendLayersToUIProcess):
* WebProcess/WebCoreSupport/WebGraphicsLayer.h:
* WebProcess/WebPage/DrawingArea.h:
* WebProcess/WebPage/DrawingAreaImpl.cpp:
* WebProcess/WebPage/DrawingAreaImpl.h:
* WebProcess/WebPage/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::create):
* WebProcess/WebPage/LayerTreeHost.h:
* WebProcess/WebPage/LayerTreeHost.messages.in: Removed.
* WebProcess/WebPage/TiledDrawingArea.cpp:
* WebProcess/WebPage/TiledDrawingArea.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::didReceiveMessage):
* WebProcess/WebPage/qt/LayerTreeHostQt.cpp:
* WebProcess/WebPage/qt/LayerTreeHostQt.h: Removed.

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

8 years agoFix typo in webkitpy help
abarth@webkit.org [Sat, 15 Oct 2011 08:28:51 +0000 (08:28 +0000)]
Fix typo in webkitpy help
https://bugs.webkit.org/show_bug.cgi?id=70169

Reviewed by Eric Seidel.

* Scripts/webkitpy/tool/commands/upload.py:

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

8 years agoTrivial fix for a missing change in r97512
commit-queue@webkit.org [Sat, 15 Oct 2011 07:59:26 +0000 (07:59 +0000)]
Trivial fix for a missing change in r97512
https://bugs.webkit.org/show_bug.cgi?id=70166

Patch by Yuqiang Xian <yuqiang.xian@intel.com> on 2011-10-15
Reviewed by Gavin Barraclough.

* dfg/DFGJITCompiler32_64.cpp:
(JSC::DFG::JITCompiler::link):

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

8 years agoMake toHTMLElement fail to compile if you try to use it on an HTMLElement*
darin@apple.com [Sat, 15 Oct 2011 07:59:24 +0000 (07:59 +0000)]
Make toHTMLElement fail to compile if you try to use it on an HTMLElement*
https://bugs.webkit.org/show_bug.cgi?id=70164

Reviewed by Adam Barth.

Refactoring covered by existing tests.

* bindings/js/JSHTMLFrameSetElementCustom.cpp:
(WebCore::JSHTMLFrameSetElement::nameGetter): Removed unneeded casts and
some unneeded local variables as well. Changed the name of the local variable
for the HTMLFrameElement to frameElement to avoid confusion with the Frame.
* dom/Document.cpp:
(WebCore::Document::openSearchDescriptionURL): Removed unneeded HTMLElement
check; we can call hasTagName directly on a Node and that takes care of
checking both that it's an HTMLElement and checking the tag name.
* dom/MicroDataItemList.cpp:
(WebCore::MicroDataItemList::nodeMatches): Use toHTMLElement instead of
a cast. Also changed hasAttribute calls to fastHasAttribute and getAttribute
calls to fastGetAttribute since these are neither style attributes nor SVG
animatables.
* editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::applyInlineStyleToPushDown): Use toHTMLElement.
(WebCore::ApplyStyleCommand::addInlineStyleIfNeeded): Ditto.
* editing/DeleteButtonController.cpp:
(WebCore::DeleteButtonController::show): Removed unneeded toHTMLElement call.
* html/HTMLElement.cpp:
(WebCore::HTMLElement::setOuterHTML): Use toHTMLElement.
* html/HTMLElement.h: Added toHTMLElement overload to catch calls when the
pointer is already HTMLElement* or a pointer to a class derived from it.
* html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::recalcListItems): Use toHTMLElement.
* html/HTMLTextAreaElement.cpp:
(WebCore::HTMLTextAreaElement::innerTextElement): Use toHTMLElement.

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

8 years agoAdd WebAcceleratedContentLayer backed by a texture to support accelerated content...
commit-queue@webkit.org [Sat, 15 Oct 2011 07:44:39 +0000 (07:44 +0000)]
Add WebAcceleratedContentLayer backed by a texture to support accelerated content hosting
https://bugs.webkit.org/show_bug.cgi?id=70084

Patch by Antoine Labour <piman@chromium.org> on 2011-10-15
Reviewed by James Robinson.

Source/WebCore:

Covered by existing compositing/ tests

* platform/graphics/chromium/LayerChromium.h:
* platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::pluginLayerProgramFlip):
(WebCore::LayerRendererChromium::cleanupSharedObjects):
* platform/graphics/chromium/LayerRendererChromium.h:
* platform/graphics/chromium/PluginLayerChromium.cpp:
(WebCore::PluginLayerChromium::PluginLayerChromium):
(WebCore::PluginLayerChromium::setTextureId):
(WebCore::PluginLayerChromium::setFlipped):
(WebCore::PluginLayerChromium::pushPropertiesTo):
* platform/graphics/chromium/PluginLayerChromium.h:
(WebCore::PluginLayerChromium::flipped):
* platform/graphics/chromium/cc/CCPluginLayerImpl.cpp:
(WebCore::CCPluginLayerImpl::CCPluginLayerImpl):
(WebCore::CCPluginLayerImpl::draw):
* platform/graphics/chromium/cc/CCPluginLayerImpl.h:
(WebCore::CCPluginLayerImpl::setFlipped):

Source/WebKit/chromium:

* WebKit.gyp:
* public/WebExternalTextureLayer.h: Added.
(WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
(WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
(WebKit::WebExternalTextureLayer::operator=):
* src/WebExternalTextureLayer.cpp: Copied from Source/WebCore/platform/graphics/chromium/cc/CCPluginLayerImpl.h.
(WebKit::WebExternalTextureLayer::create):
(WebKit::WebExternalTextureLayer::setTextureId):
(WebKit::WebExternalTextureLayer::textureId):
(WebKit::WebExternalTextureLayer::setFlipped):
(WebKit::WebExternalTextureLayer::flipped):
(WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
(WebKit::WebExternalTextureLayer::operator=):
(WebKit::WebExternalTextureLayer::operator PassRefPtr<WebExternalTextureLayerImpl>):
* src/WebExternalTextureLayerImpl.cpp: Copied from Source/WebCore/platform/graphics/chromium/cc/CCPluginLayerImpl.h.
(WebKit::WebExternalTextureLayerImpl::create):
(WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
(WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
(WebKit::WebExternalTextureLayerImpl::drawsContent):
(WebKit::WebExternalTextureLayerImpl::paintContents):
(WebKit::WebExternalTextureLayerImpl::notifySyncRequired):
* src/WebExternalTextureLayerImpl.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCPluginLayerImpl.h.

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

8 years ago[Qt][WK2] Synchronize tiling with accelerated compositing
noam.rosenthal@nokia.com [Sat, 15 Oct 2011 07:32:36 +0000 (07:32 +0000)]
[Qt][WK2] Synchronize tiling with accelerated compositing
https://bugs.webkit.org/show_bug.cgi?id=69151

Reviewed by Simon Hausmann.

Make the tiled "non-composited" content and the composited layers go through the same
code path on WebKit2. Instead of having a "drawing area" that handles the non-composited
content and a seperate layer tree, we put everything in a layer tree, with the non-
composited content being a layer in the tree.

This allows fixing several issues with websites that have large content areas that are
composited or overlap with composited layers.

Layer-tree synchronization is done by passing WebKit2 messages between a LayerTreeHost
on the WebProcess and a LayerTreeHostProxy on the UI process. Every layer in the tree has
its own tiled backing store, and uses the LayerTreeHost communication channel to pass
content up to the UI process. The UI process will later creates its own GraphicsLayer tree,
based on TextureMapper, which can be painted directly with OpenGL.

Several optimizations are available for the non-composited layer as well, e.g. specifying
a trajectory and updating the visible rect together with the content scale.

This code is currently disabled, a separate patch will enable it and glue it to
QTouchWebPage.

* DerivedSources.pro:
* Platform/CoreIPC/MessageID.h:
* Scripts/webkit2/messages.py:
* Shared/LayerTreeContext.h:
* Shared/WebLayerTreeInfo.cpp:
(WebKit::WebLayerInfo::encode):
(WebKit::WebLayerInfo::decode):
* Shared/WebLayerTreeInfo.h:
* Shared/qt/LayerTreeContextQt.cpp:
(WebKit::LayerTreeContext::LayerTreeContext):
(WebKit::LayerTreeContext::~LayerTreeContext):
(WebKit::LayerTreeContext::encode):
(WebKit::LayerTreeContext::decode):
(WebKit::LayerTreeContext::isEmpty):
(WebKit::operator==):
* UIProcess/DrawingAreaProxy.cpp:
(WebKit::DrawingAreaProxy::updateWebView):
(WebKit::DrawingAreaProxy::contentsRect):
* UIProcess/DrawingAreaProxy.h:
(WebKit::DrawingAreaProxy::viewportVisibleRect):
(WebKit::DrawingAreaProxy::isBackingStoreReady):
(WebKit::DrawingAreaProxy::paintToCurrentGLContext):
(WebKit::DrawingAreaProxy::setVisibleContentsRectAndScale):
(WebKit::DrawingAreaProxy::setVisibleContentRectTrajectoryVector):
(WebKit::DrawingAreaProxy::createTileForLayer):
(WebKit::DrawingAreaProxy::updateTileForLayer):
(WebKit::DrawingAreaProxy::removeTileForLayer):
(WebKit::DrawingAreaProxy::didReceiveLayerTreeHostProxyMessage):
(WebKit::DrawingAreaProxy::page):
* UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::enterAcceleratedCompositingMode):
(WebKit::DrawingAreaProxyImpl::didReceiveLayerTreeHostProxyMessage):
(WebKit::DrawingAreaProxyImpl::setVisibleContentsRectAndScale):
(WebKit::DrawingAreaProxyImpl::setVisibleContentRectTrajectoryVector):
(WebKit::DrawingAreaProxyImpl::paintToCurrentGLContext):
* UIProcess/DrawingAreaProxyImpl.h:
* UIProcess/LayerTreeHostProxy.h: Added.
(WebKit::LayerTreeHostProxy::layerByID):
(WebKit::LayerTreeHostProxy::rootLayer):
(WebKit::LayerTreeHostProxy::notifyAnimationStarted):
(WebKit::LayerTreeHostProxy::notifySyncRequired):
(WebKit::LayerTreeHostProxy::showDebugBorders):
(WebKit::LayerTreeHostProxy::showRepaintCounter):
(WebKit::LayerTreeHostProxy::paintContents):
* UIProcess/LayerTreeHostProxy.messages.in: Added.
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveMessage):
* UIProcess/qt/LayerTreeHostProxyQt.cpp: Added.
* WebKit2.pro:
* WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:
(WebCore::WebGraphicsLayer::WebGraphicsLayer):
(WebCore::WebGraphicsLayer::~WebGraphicsLayer):
(WebCore::WebGraphicsLayer::setChildren):
(WebCore::WebGraphicsLayer::addChild):
(WebCore::WebGraphicsLayer::addChildAtIndex):
(WebCore::WebGraphicsLayer::addChildAbove):
(WebCore::WebGraphicsLayer::addChildBelow):
(WebCore::WebGraphicsLayer::replaceChild):
(WebCore::WebGraphicsLayer::removeFromParent):
(WebCore::WebGraphicsLayer::setContentsNeedsDisplay):
(WebCore::WebGraphicsLayer::setContentsToImage):
(WebCore::WebGraphicsLayer::setNeedsDisplay):
(WebCore::WebGraphicsLayer::setNeedsDisplayInRect):
(WebCore::WebGraphicsLayer::syncCompositingState):
(WebCore::WebGraphicsLayer::syncCompositingStateForThisLayerOnly):
(WebCore::WebGraphicsLayer::tiledBackingStorePaintBegin):
(WebCore::WebGraphicsLayer::setContentsScale):
(WebCore::WebGraphicsLayer::setRootLayer):
(WebCore::WebGraphicsLayer::setVisibleContentRectTrajectoryVector):
(WebCore::WebGraphicsLayer::setVisibleContentRect):
(WebCore::WebGraphicsLayer::tiledBackingStorePaint):
(WebCore::WebGraphicsLayer::tiledBackingStorePaintEnd):
(WebCore::WebGraphicsLayer::tiledBackingStoreUpdatesAllowed):
(WebCore::WebGraphicsLayer::tiledBackingStoreContentsRect):
(WebCore::WebGraphicsLayer::tiledBackingStoreVisibleRect):
(WebCore::WebGraphicsLayer::tiledBackingStoreBackgroundColor):
(WebCore::WebGraphicsLayer::createTile):
(WebCore::WebGraphicsLayer::updateTile):
(WebCore::WebGraphicsLayer::removeTile):
(WebCore::WebGraphicsLayer::updateTileBuffersRecursively):
(WebCore::WebGraphicsLayer::layerTreeTileClient):
(WebCore::WebGraphicsLayer::updateContentBuffers):
* WebProcess/WebCoreSupport/WebGraphicsLayer.h:
(WebCore::WebGraphicsLayer::setLayerTreeTileClient):
* WebProcess/WebPage/DrawingArea.h:
* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::didReceiveLayerTreeHostMessage):
* WebProcess/WebPage/DrawingAreaImpl.h:
* WebProcess/WebPage/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::create):
* WebProcess/WebPage/LayerTreeHost.h:
(WebKit::LayerTreeHost::setVisibleContentRectAndScale):
(WebKit::LayerTreeHost::setVisibleContentRectTrajectoryVector):
(WebKit::LayerTreeHost::setVisibleContentRectForLayer):
(WebKit::LayerTreeHost::renderNextFrame):
* WebProcess/WebPage/LayerTreeHost.messages.in: Added.
* WebProcess/WebPage/TiledDrawingArea.cpp:
(WebKit::TiledDrawingArea::didReceiveLayerTreeHostMessage):
* WebProcess/WebPage/TiledDrawingArea.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::didReceiveMessage):
* WebProcess/WebPage/qt/LayerTreeHostQt.cpp:
(WebKit::LayerTreeHostQt::create):
(WebKit::LayerTreeHostQt::~LayerTreeHostQt):
(WebKit::LayerTreeHostQt::LayerTreeHostQt):
(WebKit::LayerTreeHostQt::setLayerFlushSchedulingEnabled):
(WebKit::LayerTreeHostQt::scheduleLayerFlush):
(WebKit::LayerTreeHostQt::cancelPendingLayerFlush):
(WebKit::LayerTreeHostQt::setShouldNotifyAfterNextScheduledLayerFlush):
(WebKit::LayerTreeHostQt::setRootCompositingLayer):
(WebKit::LayerTreeHostQt::invalidate):
(WebKit::LayerTreeHostQt::setNonCompositedContentsNeedDisplay):
(WebKit::LayerTreeHostQt::scrollNonCompositedContents):
(WebKit::LayerTreeHostQt::forceRepaint):
(WebKit::LayerTreeHostQt::sizeDidChange):
(WebKit::LayerTreeHostQt::didInstallPageOverlay):
(WebKit::LayerTreeHostQt::didUninstallPageOverlay):
(WebKit::LayerTreeHostQt::setPageOverlayNeedsDisplay):
(WebKit::LayerTreeHostQt::flushPendingLayerChanges):
(WebKit::LayerTreeHostQt::didSyncCompositingStateForLayer):
(WebKit::LayerTreeHostQt::didDeleteLayer):
(WebKit::LayerTreeHostQt::performScheduledLayerFlush):
(WebKit::LayerTreeHostQt::layerFlushTimerFired):
(WebKit::LayerTreeHostQt::createPageOverlayLayer):
(WebKit::LayerTreeHostQt::destroyPageOverlayLayer):
(WebKit::LayerTreeHostQt::adoptImageBackingStore):
(WebKit::LayerTreeHostQt::releaseImageBackingStore):
(WebKit::LayerTreeHostQt::notifyAnimationStarted):
(WebKit::LayerTreeHostQt::notifySyncRequired):
(WebKit::LayerTreeHostQt::paintContents):
(WebKit::LayerTreeHostQt::showDebugBorders):
(WebKit::LayerTreeHostQt::showRepaintCounter):
(WebKit::LayerTreeHost::supportsAcceleratedCompositing):
(WebKit::LayerTreeHostQt::createTile):
(WebKit::LayerTreeHostQt::updateTile):
(WebKit::LayerTreeHostQt::removeTile):
(WebKit::LayerTreeHostQt::setVisibleContentRectForLayer):
(WebKit::LayerTreeHostQt::setVisibleContentRectAndScale):
(WebKit::LayerTreeHostQt::setVisibleContentRectTrajectoryVector):
(WebKit::LayerTreeHostQt::renderNextFrame):
(WebKit::LayerTreeHostQt::layerTreeTileUpdatesAllowed):

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

8 years agofix another typo in treemap.html
tony@chromium.org [Sat, 15 Oct 2011 07:28:51 +0000 (07:28 +0000)]
fix another typo in treemap.html
https://bugs.webkit.org/show_bug.cgi?id=70149

Reviewed by Ojan Vafai.

Fixes a bug where #treemapfocus=LayoutTests%2Fhttp didn't focus the http tests.

* TestResultServer/static-dashboards/treemap.html:

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

8 years agoIndexedDB: some string keys not properly stored and retrieved
commit-queue@webkit.org [Sat, 15 Oct 2011 07:19:16 +0000 (07:19 +0000)]
IndexedDB: some string keys not properly stored and retrieved
https://bugs.webkit.org/show_bug.cgi?id=62348

Patch by Joshua Bell <jsbell@chromium.org> on 2011-10-15
Reviewed by Tony Chang.

Just adding Mark Pilgrim's test case from bug; this was fixed at some
point, presumably when we moved to LevelDB.

* storage/indexeddb/odd-strings-expected.txt: Added.
* storage/indexeddb/odd-strings.html: Added.

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

8 years ago[Chromium] Some WebSQLDatabase in worker bug fixes.
michaeln@google.com [Sat, 15 Oct 2011 07:16:21 +0000 (07:16 +0000)]
[Chromium] Some WebSQLDatabase in worker bug fixes.
https://bugs.webkit.org/show_bug.cgi?id=70071

- Test for a NULL webView WebWorkerClientImpl.
- Avoid altering Database instance lifetimes during WorkerThread::stop().

Source/WebCore:

Existing tests coverage applies.

Reviewed by David Levin.

* storage/chromium/DatabaseTrackerChromium.cpp:
(WebCore::DatabaseTracker::interruptAllDatabasesForContext):

Source/WebKit/chromium:

Reviewed by David Levin.

* src/WebWorkerClientImpl.cpp:
(WebKit::WebWorkerClientImpl::allowFileSystem):
(WebKit::WebWorkerClientImpl::allowDatabase):

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

8 years ago[FileSystem API] File readonly attributes test
commit-queue@webkit.org [Sat, 15 Oct 2011 07:08:39 +0000 (07:08 +0000)]
[FileSystem API] File readonly attributes test
https://bugs.webkit.org/show_bug.cgi?id=69687

Patch by Mark Pilgrim <pilgrim@chromium.org> on 2011-10-15
Reviewed by Adam Barth.

* fast/filesystem/simple-readonly-file-object-expected.txt: Added.
* fast/filesystem/simple-readonly-file-object.html: Added.

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

8 years ago[File API] URL methods required arguments
commit-queue@webkit.org [Sat, 15 Oct 2011 07:03:43 +0000 (07:03 +0000)]
[File API] URL methods required arguments
https://bugs.webkit.org/show_bug.cgi?id=69692

Patch by Mark Pilgrim <pilgrim@chromium.org> on 2011-10-15
Reviewed by Adam Barth.

* fast/files/url-required-arguments-expected.txt: Added.
* fast/files/url-required-arguments.html: Added.

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

8 years ago[File API] Test how FileReader substitutes illegal UTF-8 characters
commit-queue@webkit.org [Sat, 15 Oct 2011 07:02:11 +0000 (07:02 +0000)]
[File API] Test how FileReader substitutes illegal UTF-8 characters
https://bugs.webkit.org/show_bug.cgi?id=69691

Patch by Mark Pilgrim <pilgrim@chromium.org> on 2011-10-14
Reviewed by Adam Barth.

* fast/files/file-reader-fffd-expected.txt: Added.
* fast/files/file-reader-fffd.html: Added.

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

8 years ago[FileSystem API] readonly attributes test
commit-queue@webkit.org [Sat, 15 Oct 2011 06:52:49 +0000 (06:52 +0000)]
[FileSystem API] readonly attributes test
https://bugs.webkit.org/show_bug.cgi?id=69655

Patch by Mark Pilgrim <pilgrim@chromium.org> on 2011-10-14
Reviewed by Adam Barth.

* fast/filesystem/resources/simple-readonly.js: Added.
(setReadonlyProperty):
(errorCallback):
(getFileCallback):
(successCallback):
* fast/filesystem/simple-readonly-expected.txt: Added.
* fast/filesystem/simple-readonly.html: Added.

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

8 years ago[FileSystem API] restricted Unicode characters in names
commit-queue@webkit.org [Sat, 15 Oct 2011 06:51:25 +0000 (06:51 +0000)]
[FileSystem API] restricted Unicode characters in names
https://bugs.webkit.org/show_bug.cgi?id=69657

Patch by Mark Pilgrim <pilgrim@chromium.org> on 2011-10-14
Reviewed by Adam Barth.

* fast/filesystem/op-restricted-unicode-expected.txt: Added.
* fast/filesystem/op-restricted-unicode.html: Added.
* fast/filesystem/resources/op-restricted-unicode.js: Added.
(testCases.name.precondition.tests):
(testCases):

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

8 years agoUpdate expected results.
abarth@webkit.org [Sat, 15 Oct 2011 06:26:31 +0000 (06:26 +0000)]
Update expected results.

* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjInternal::serializedValueCallback):

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

8 years agoGTK build fix after r97533.
rniwa@webkit.org [Sat, 15 Oct 2011 05:45:09 +0000 (05:45 +0000)]
GTK build fix after r97533.

* accessibility/gtk/AXObjectCacheAtk.cpp:
(WebCore::notifyChildrenSelectionChange):
* accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
(optionFromSelection):
(webkit_accessible_selection_get_selection_count):

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

8 years ago<http://webkit.org/b/70158> Fix clang compiler warnings
ddkilzer@apple.com [Sat, 15 Oct 2011 04:37:31 +0000 (04:37 +0000)]
<webkit.org/b/70158> Fix clang compiler warnings

Reviewed by Darin Adler.

Source/WebCore:

* dom/ViewportArguments.cpp:
(WebCore::computeViewportAttributes): Use std::max<float>()
instead of std::max().

Source/WebKit/mac:

The following two methods in WebDelegateImplementationCaching.h
are ambiguous in WebChromeClient::runJavaScriptPrompt() because
the compiler can't decide how to convert the WTF::String
defaultText argument:

    id CallUIDelegate(WebView *, SEL, id, id);
    id CallUIDelegate(WebView *, SEL, id, BOOL);

The fix is to perform the conversion explicitly.

* WebCoreSupport/WebChromeClient.mm:
(WebChromeClient::runJavaScriptPrompt): Extract a defaultString
variable to convert the WTF::String to an NSString*, then
use defaultString in place of defaultText.

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