[chromium] Support RTL pages and elements in the compositor
https://bugs.webkit.org/show_bug.cgi?id=56591 Reviewed by James Robinson. Source/WebKit/chromium: As the noncomposited content host layer is created and managed by the Chromium compositor, adjust its transform appropriately in the layer tree and at paint time to handle the offset required due to the initial containing block of RTL pages. * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::allowedCompositingTriggers): * src/NonCompositedContentHost.cpp: (WebKit::NonCompositedContentHost::setViewport): (WebKit::NonCompositedContentHost::paintContents): * src/NonCompositedContentHost.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::updateLayerTreeViewport): LayoutTests: Re-enable RTL tests for Chromium. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103968 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Showing
Please register or sign in to comment