[BlackBerry] Do not access BackForwardListImpl from DRT
https://bugs.webkit.org/show_bug.cgi?id=115041

Patch by Xan Lopez <xlopez@igalia.com> on 2013-04-23
Reviewed by Carlos Garcia Campos.

Source/WebKit/blackberry:

Export the necessary functionality in our BackForwardList port
client in order for DRT to work.

* WebCoreSupport/BackForwardListBlackBerry.cpp:
(WebCore::BackForwardListBlackBerry::backListWithLimit):
(WebCore):
(WebCore::BackForwardListBlackBerry::forwardListWithLimit):
(WebCore::BackForwardListBlackBerry::capacity):
* WebCoreSupport/BackForwardListBlackBerry.h:
(BackForwardListBlackBerry):

Tools:

Use the right class to access the bflist functionality.

* DumpRenderTree/blackberry/DumpRenderTree.cpp:
(BlackBerry::WebKit::dumpBackForwardListForWebView):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148969 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Avoid computing style twice when element has no existing style
https://bugs.webkit.org/show_bug.cgi?id=115042

Reviewed by Andreas Kling.
        
We currently compute element style twice if we end up having to reattach, first in recalcStyle and then
again during attach(). We can easily avoid this in common case where the element has no existing style
(usually because it is display:none). 

* dom/Element.cpp:
(WebCore::Element::recalcStyle):
        
    Don't compute the style and diff if there is no existing style. There is nothing to diff against.
    Instead just call reattach() directly, we ended up doing that anyway with the existing code.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Fix test_build_check for Qt on Mac after r148075.
https://bugs.webkit.org/show_bug.cgi?id=115038

Reviewed by Csaba Osztrogonác.

* Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
(RunTest.test_build_check):
    run-webkit-tests is supposed to fail, if it is run on a different
    platform than specified on the command line.
    However, Qt allows exactly this for Qt-platforms to allow comparing
    of test results of different baselines.
    Before r148075 "chromium-linux-x86" was used for testing.
    This patch changes the port_name to gtk when running the test on mac.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Simplify BackForwardListBlackBerry::clear
https://bugs.webkit.org/show_bug.cgi?id=115029

Patch by Xan Lopez <xlopez@igalia.com> on 2013-04-23
Reviewed by Carlos Garcia Campos.

Simplify the implementation of the clear method. Instead of asking
the WebCore implementation to search each item and delete it, set
the capacity of the list to zero directly, which will do the same
thing but more efficiently.

No change in behavior, no new tests.

* WebCoreSupport/BackForwardListBlackBerry.cpp:
(WebCore::BackForwardListBlackBerry::clear):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
checkLayout() should error out if no data-expected* attributes were found
https://bugs.webkit.org/show_bug.cgi?id=114900

Reviewed by Ojan Vafai.

If checkLayout() doesn't find any attributes checking the node's layout then error out
instead of assuming the test has passed. This will ensure data-* attributes containing
typos don't register as a pass.

* fast/check-layout-error-no-attributes-expected.txt: Added.
* fast/check-layout-error-no-attributes.html: Added.
* resources/check-layout.js:
(.):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148973 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Objective-C API: Update public header documentation
https://bugs.webkit.org/show_bug.cgi?id=114841

Reviewed by Geoffrey Garen.

Added documentation for the newly added object lifetime-related stuff.

* API/JSManagedValue.h:
* API/JSVirtualMachine.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Exclusions] shape-inside overflow should be pushed to the outside of the content box
https://bugs.webkit.org/show_bug.cgi?id=114526

Reviewed by David Hyatt.

Source/WebCore:

The specification has changed to define shape-outside as the inverse of an exclusion. Overflowing content
should not overlap the shape, and it should be pushed outside the content box. This change affects several
tests, but only one new has been added. In this change I'm not intended to include the behavior change for
shape-inside on CSS Regions, I'm going to fix that in a follow up patch.

Tests: fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions.html: Modified.
       fast/exclusions/shape-inside/shape-inside-bottom-edge.html: Modified.
       fast/exclusions/shape-inside/shape-inside-empty.html: Modified.
       fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions.html: Added.
       fast/exclusions/shape-inside/shape-inside-overflow.html: Modified.
       fast/exclusions/shape-inside/shape-inside-percentage.html: Modified.
       fast/exclusions/shape-inside/shape-inside-rounded-rectangle-004.html: Modified.

* rendering/ExclusionShapeInfo.h:
(WebCore::ExclusionShapeInfo::clearSegments): Shape-outside's code uses shape-inside codepaths, when that happens we need to provide a
way to reset the m_segments member.
(WebCore::ExclusionShapeInfo::shapeContainingBlockHeight): The containing block's height is stored in m_shapeLogicalHeight, I added a
function to get this value when we need it to calculate the content box's bottom position.
(ExclusionShapeInfo):
(WebCore::ExclusionShapeInfo::lineOverlapsShapeBounds):
(WebCore::ExclusionShapeInfo::lineWithinShapeBounds):  Add function to test whether a whole line is within a shape or not.
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutRunsAndFloatsInRange): Overflowing content should start under the content box.
(WebCore::RenderBlock::LineBreaker::nextLineBreak): Since we use shape-inside codepaths for shape-outside in layoutRunsAndFloatsInRange function
and for shape-outside is not a requirement to check the line's bottom position is within the shape we might end up with some extra segments here.
In this case we should clear segments, since we don't want to apply any horizontal offsets on the overflowing content.

LayoutTests:

Update and add tests for the new behavior.

* fast/exclusions/resources/rounded-rectangle.js:
(generateString): Modify the function to not generate overflow content.
* fast/exclusions/shape-inside/shape-inside-bottom-edge-expected.html:
* fast/exclusions/shape-inside/shape-inside-bottom-edge.html:
* fast/exclusions/shape-inside/shape-inside-empty-expected.html:
* fast/exclusions/shape-inside/shape-inside-empty.html:
* fast/exclusions/shape-inside/shape-inside-overflow-expected.html:
* fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions-expected.html: Added.
* fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions.html: Added.
* fast/exclusions/shape-inside/shape-inside-overflow.html:
* fast/exclusions/shape-inside/shape-inside-percentage-expected.html:
* fast/exclusions/shape-inside/shape-inside-percentage.html:
* fast/exclusions/shape-inside/shape-inside-rounded-rectangle-004-expected.html:
* fast/exclusions/shape-inside/shape-inside-rounded-rectangle-004.html:
* fast/regions/shape-inside/shape-inside-on-additional-regions-expected.html:
* fast/regions/shape-inside/shape-inside-on-additional-regions.html: This test is not intented to test the overflow behavior from
shape-inside on regions, so I set the shape's height to the container's height.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
AppleWin build fix.

* inspector/InspectorAllInOne.cpp:
* inspector/InspectorMemoryAgent.cpp:
(WebCore::InspectorMemoryAgent::create):
(WebCore):
* inspector/InspectorMemoryAgent.h:
(InspectorMemoryAgent):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove fast/js/i18n-bindings-locale.html
https://bugs.webkit.org/show_bug.cgi?id=115024

Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-04-23
Reviewed by Geoffrey Garen.

Remove V8-i18n-extension test(r78095) from all ports.

* fast/js/i18n-bindings-locale-expected.txt: Removed.
* fast/js/i18n-bindings-locale.html: Removed.
* fast/js/script-tests/i18n-bindings-locale.js: Removed.
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/TestExpectations:
* platform/wincairo/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148977 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Invalid assert in InputHandler::requestCheckingOfString()
https://bugs.webkit.org/show_bug.cgi?id=114952

Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-04-23
Reviewed by Rob Buis.

Do not assume that Batch requests are only created whe input field
is focused, the Editor can also create Batch requests when pasting
a selection.

* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::requestCheckingOfString):
Remove invalid assert.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148978 268f45cc-cd09-0410-ab3c-d52691b4dbfc
RetainPtr.h should compile with -Wshorten-64-to-32
<http://webkit.org/b/115047>

Reviewed by Anders Carlsson.

Fixes the following warning:

    RetainPtr.h:318:20: error: implicit conversion loses integer precision: 'CFHashCode' (aka 'unsigned long') to 'unsigned int' [-Werror,-Wshorten-64-to-32]
                return CFHash(o.get());
                ~~~~~~ ^~~~~~~~~~~~~~~

* wtf/RetainPtr.h:
(WTF::RetainPtrObjectHash::hash): Cast return value of CFHash()
to unsigned.  This has no effect on 32-bit architectures, but
takes the lower 32-bits of the CFHashCode (unsigned long) on
64-bit architectures, which is what happens implicitly now.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove wxWebKit support from the Tools
https://bugs.webkit.org/show_bug.cgi?id=115005

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-23
Reviewed by Andreas Kling.

The wxWebKit port is no longer actively maintained by Kevin
on webkit.org. Remove the code until new maintainers resume the work.

* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/config.h:
* DumpRenderTree/wscript: Removed.
* DumpRenderTree/wx/DumpRenderTreeWx.cpp: Removed.
* DumpRenderTree/wx/DumpRenderTreeWx.h: Removed.
* DumpRenderTree/wx/GCControllerWx.cpp: Removed.
* DumpRenderTree/wx/TestRunnerWx.cpp: Removed.
* DumpRenderTree/wx/WorkQueueItemWx.cpp: Removed.
* Scripts/build-dumprendertree:
* Scripts/build-jsc:
(buildMyProject):
* Scripts/build-webkit:
* Scripts/old-run-webkit-tests:
* Scripts/run-launcher:
* Scripts/webkitdirs.pm:
(argumentsForConfiguration):
(determineConfigurationProductDir):
(determinePassedArchitecture):
(builtDylibPathForName):
(determineIsQt):
(isAppleWebKit):
(launcherPath):
(launcherName):
(checkRequiredSystemConfig):
* Scripts/webkitpy/common/config/contributionareas.py:
* waf/build/build_utils.py: Removed.
* waf/build/settings.py: Removed.
* waf/build/waf_extensions.py: Removed.
* waf/build/wxpresets.py: Removed.
* wx/browser/browser.cpp: Removed.
* wx/browser/wscript: Removed.
* wx/install-unix-extras: Removed.
* wx/packaging/build-debian-installer.py: Removed.
* wx/packaging/build-mac-installer.py: Removed.
* wx/packaging/build-win-installer.py: Removed.
* wx/packaging/debian/changelog: Removed.
* wx/packaging/debian/compat: Removed.
* wx/packaging/debian/control: Removed.
* wx/packaging/debian/copyright: Removed.
* wx/packaging/debian/python-webkitwx.install: Removed.
* wx/packaging/debian/rules: Removed.
* wx/packaging/wxWebKitInstaller.iss.in: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148980 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove unused code of RefCounted after chromium removal
https://bugs.webkit.org/show_bug.cgi?id=115009

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-23
Reviewed by Ryosuke Niwa.

* wtf/RefCounted.h:
(WTF::RefCountedBase::refCount):
(RefCountedBase):
It looks like addressOfCount() is no longer needed.
Also change the type back to unsigned as it make more sense.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
AppleWin VS2010 build fix.

* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148982 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove wxWebKit's folders from WebCore
https://bugs.webkit.org/show_bug.cgi?id=115007

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-23
Reviewed by Andreas Kling.

The wxWebKit port is no longer actively maintained by Kevin
on webkit.org. Remove the code until new maintainers resume the work.

* accessibility/wx/AccessibilityObjectWx.cpp: Removed.
* editing/wx/EditorWx.cpp: Removed.
* page/wx/DragControllerWx.cpp: Removed.
* page/wx/EventHandlerWx.cpp: Removed.
* platform/graphics/wx/ColorWx.cpp: Removed.
* platform/graphics/wx/FloatRectWx.cpp: Removed.
* platform/graphics/wx/FontCacheWx.cpp: Removed.
* platform/graphics/wx/FontCustomPlatformData.cpp: Removed.
* platform/graphics/wx/FontCustomPlatformData.h: Removed.
* platform/graphics/wx/FontPlatformData.h: Removed.
* platform/graphics/wx/FontPlatformDataWx.cpp: Removed.
* platform/graphics/wx/FontPlatformDataWxMac.mm: Removed.
* platform/graphics/wx/FontWx.cpp: Removed.
* platform/graphics/wx/GlyphMapWx.cpp: Removed.
* platform/graphics/wx/GradientWx.cpp: Removed.
* platform/graphics/wx/GraphicsContextWx.cpp: Removed.
* platform/graphics/wx/IconWx.cpp: Removed.
* platform/graphics/wx/ImageBufferDataWx.h: Removed.
* platform/graphics/wx/ImageBufferWx.cpp: Removed.
* platform/graphics/wx/ImageWx.cpp: Removed.
* platform/graphics/wx/IntPointWx.cpp: Removed.
* platform/graphics/wx/IntRectWx.cpp: Removed.
* platform/graphics/wx/IntSizeWx.cpp: Removed.
* platform/graphics/wx/PathWx.cpp: Removed.
* platform/graphics/wx/SimpleFontDataWx.cpp: Removed.
* platform/graphics/wx/TransformationMatrixWx.cpp: Removed.
* platform/image-decoders/wx/ImageDecoderWx.cpp: Removed.
* platform/wx/ClipboardWx.cpp: Removed.
* platform/wx/ClipboardWx.h: Removed.
* platform/wx/ContextMenuItemWx.cpp: Removed.
* platform/wx/ContextMenuWx.cpp: Removed.
* platform/wx/CursorWx.cpp: Removed.
* platform/wx/DragDataWx.cpp: Removed.
* platform/wx/DragImageWx.cpp: Removed.
* platform/wx/EventLoopWx.cpp: Removed.
* platform/wx/FileSystemWx.cpp: Removed.
* platform/wx/KeyEventWin.cpp: Removed.
* platform/wx/KeyboardEventWx.cpp: Removed.
* platform/wx/LanguageWx.cpp: Removed.
* platform/wx/LocalDC.h: Removed.
* platform/wx/LocalizedStringsWx.cpp: Removed.
* platform/wx/LoggingWx.cpp: Removed.
* platform/wx/MimeTypeRegistryWx.cpp: Removed.
* platform/wx/MouseEventWx.cpp: Removed.
* platform/wx/MouseWheelEventWx.cpp: Removed.
* platform/wx/PasteboardWx.cpp: Removed.
* platform/wx/PopupMenuWx.cpp: Removed.
* platform/wx/PopupMenuWx.h: Removed.
* platform/wx/RenderThemeWx.cpp: Removed.
* platform/wx/RunLoopWx.cpp: Removed.
* platform/wx/SSLKeyGeneratorWx.cpp: Removed.
* platform/wx/ScreenWx.cpp: Removed.
* platform/wx/ScrollViewWx.cpp: Removed.
* platform/wx/ScrollbarThemeWx.cpp: Removed.
* platform/wx/ScrollbarThemeWx.h: Removed.
* platform/wx/SearchPopupMenuWx.cpp: Removed.
* platform/wx/SearchPopupMenuWx.h: Removed.
* platform/wx/SharedBufferWx.cpp: Removed.
* platform/wx/SharedTimerWx.cpp: Removed.
* platform/wx/SoundWx.cpp: Removed.
* platform/wx/SystemTimeWx.cpp: Removed.
* platform/wx/TemporaryLinkStubs.cpp: Removed.
* platform/wx/TextBreakIteratorInternalICUWx.cpp: Removed.
* platform/wx/WidgetWx.cpp: Removed.
* platform/wx/wxcode/cairo/non-kerned-drawing.cpp: Removed.
* platform/wx/wxcode/fontprops.cpp: Removed.
* platform/wx/wxcode/fontprops.h: Removed.
* platform/wx/wxcode/gdiplus/non-kerned-drawing.cpp: Removed.
* platform/wx/wxcode/gtk/fontprops.cpp: Removed.
* platform/wx/wxcode/gtk/non-kerned-drawing.cpp: Removed.
* platform/wx/wxcode/gtk/scrollbar_render.cpp: Removed.
* platform/wx/wxcode/mac/carbon/fontprops.mm: Removed.
* platform/wx/wxcode/mac/carbon/non-kerned-drawing.cpp: Removed.
* platform/wx/wxcode/mac/carbon/scrollbar_render.cpp: Removed.
* platform/wx/wxcode/non-kerned-drawing.h: Removed.
* platform/wx/wxcode/scrollbar_render.h: Removed.
* platform/wx/wxcode/win/fontprops.cpp: Removed.
* platform/wx/wxcode/win/non-kerned-drawing.cpp: Removed.
* platform/wx/wxcode/win/scrollbar_render.cpp: Removed.
* plugins/wx/PluginDataWx.cpp: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148983 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Inline SelectorQuery::matches, SelectorQuery::queryAll, SelectorQuery::queryFirst
https://bugs.webkit.org/show_bug.cgi?id=115012

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-23
Reviewed by Andreas Kling.

Each of these function has a single call site:
-SelectorQuery::matches from Element::webkitMatchesSelector.
-SelectorQuery::queryAll from Node::querySelectorAll.
-SelectorQuery::queryFirst from Node::querySelector.

Having a dedicated method to jump to was a little overkill.

* dom/SelectorQuery.cpp:
* dom/SelectorQuery.h:
(WebCore::SelectorQuery::matches):
(WebCore::SelectorQuery::queryAll):
(WebCore::SelectorQuery::queryFirst):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148984 268f45cc-cd09-0410-ab3c-d52691b4dbfc
AppleWin build fix.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
* WTF.vcproj/WTF.vcproj:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] REGRESSION (r148975) shape-inside-percentage.html and shape-inside-overflow-fixed-dimensions.html are failing after r148975
https://bugs.webkit.org/show_bug.cgi?id=115053

Unreviewed gardening.

* platform/qt/TestExpectations: Skip failing tests.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148986 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Ctrl+Shift+Right in Windows should select the spacing after the word
https://bugs.webkit.org/show_bug.cgi?id=110487

Reviewed by Ryosuke Niwa.

Source/WebCore:

Tests: editing/deleting/smart-editing-disabled-win.html
       editing/execCommand/remove-format-multiple-elements-win.html
       editing/execCommand/toggle-link-win.html
       editing/execCommand/toggle-unlink-win.html
       editing/selection/extend-selection-enclosing-block-win.html
       editing/style/make-text-writing-direction-inline-win.html
       editing/style/push-down-font-styles-win.html
       editing/style/push-down-implicit-styles-around-list-win.html

* editing/FrameSelection.cpp:
(WebCore::FrameSelection::nextWordPositionForPlatform): New method
that takes platform-specific editing behaviour in order to decide
what the next word position is, that is, for Windows, skip
spacing, for all other platforms, behave as currently.
(WebCore::FrameSelection::modifyExtendingRight):
(WebCore::FrameSelection::modifyExtendingForward):
(WebCore::FrameSelection::modifyMovingForward):
(WebCore::FrameSelection::modifyExtendingLeft): Use the new method
in all of the above.
* editing/FrameSelection.h: Declare the new method.

LayoutTests:

* editing/deleting/smart-editing-disabled-win-expected.txt: Added.
* editing/deleting/smart-editing-disabled-win.html: Added.
* editing/execCommand/query-command-state-expected.txt:
* editing/execCommand/remove-format-multiple-elements-win-expected.txt: Added.
* editing/execCommand/remove-format-multiple-elements-win.html: Added.
* editing/execCommand/script-tests/query-command-state.js:
(runTests): Update to reflect new editing behavior in Windows.
* editing/execCommand/script-tests/remove-format-multiple-elements-win.js: Added.
* editing/execCommand/script-tests/toggle-link-win.js: Added.
* editing/execCommand/script-tests/toggle-unlink-win.js: Added.
* editing/execCommand/toggle-link-win-expected.txt: Added.
* editing/execCommand/toggle-link-win.html: Added.
* editing/execCommand/toggle-unlink-win-expected.txt: Added.
* editing/execCommand/toggle-unlink-win.html: Added.
* editing/selection/extend-selection-enclosing-block-win-expected.txt: Added.
* editing/selection/extend-selection-enclosing-block-win.html: Added.
* editing/selection/resources/extend-selection.js:
(extendSelectionWithinBlockWin): Method to test behavior in windows.
(extendAndLogSelectionWithinBlock): Add test support for Windows.
* editing/selection/selection-extend-should-not-move-across-caret-on-mac.html:
Add test support for Windows editing behavior.
* editing/style/make-text-writing-direction-inline-win-expected.txt: Added.
* editing/style/make-text-writing-direction-inline-win.html: Added.
* editing/style/push-down-font-styles-win-expected.txt: Added.
* editing/style/push-down-font-styles-win.html: Added.
* editing/style/push-down-implicit-styles-around-list-win-expected.txt: Added.
* editing/style/push-down-implicit-styles-around-list-win.html: Added.
* editing/style/script-tests/make-text-writing-direction-inline-win.js: Added.
* editing/style/script-tests/push-down-font-styles-win.js: Added.
* editing/style/script-tests/push-down-implicit-styles-around-list-win.js: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148987 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tiled layers clipped inside nested transform/preserve-3d hierarchies
https://bugs.webkit.org/show_bug.cgi?id=115044

Source/WebCore:

Reviewed by Dean Jackson.

The optimization added in r139479 to call move() for integral translation
transforms hit a bug in TransformState::move(). If m_accumulatedTransform is
not null, we have to apply it.

Test: compositing/visible-rect/flipped-preserve-3d.html

* platform/graphics/transforms/TransformState.cpp:
(WebCore::TransformState::move):

LayoutTests:

Reviewed by Dean Jackson.

Testcase that dumps visible rects for tiled layers inside nested
transformed/preserve-3d hierarchies.

* compositing/visible-rect/flipped-preserve-3d-expected.txt: Added.
* compositing/visible-rect/flipped-preserve-3d.html: Added.

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