haikuwebkit/LayoutTests/scrollingcoordinator/non-fast-scrollable-region-...

12 lines
465 B
HTML
Raw Permalink Normal View History

Turn on threaded scrolling by default in the tests https://bugs.webkit.org/show_bug.cgi?id=149377 Reviewed by Simon Fraser. * WebKitTestRunner/mac/TestControllerMac.mm: (WTR::TestController::updatePlatformSpecificTestOptionsForTest): (WTR::shouldUseThreadedScrolling): Deleted. Turn on threaded scrolling by default. * compositing/geometry/fixed-position-flipped-writing-mode.html: * compositing/layer-creation/no-compositing-for-sticky.html: * compositing/overflow/automatically-opt-into-composited-scrolling.html: * compositing/overflow/clipping-ancestor-with-accelerated-scrolling-ancestor.html: * compositing/overflow/composited-scrolling-creates-a-stacking-container.html: * compositing/overflow/composited-scrolling-paint-phases.html: * compositing/overflow/do-not-paint-outline-into-composited-scrolling-contents.html: * compositing/overflow/dynamic-composited-scrolling-status.html: * compositing/overflow/iframe-inside-overflow-clipping.html: * compositing/overflow/nested-scrolling.html: * compositing/overflow/overflow-clip-with-accelerated-scrolling-ancestor.html: * compositing/overflow/paint-neg-z-order-descendants-into-scrolling-contents-layer.html: * compositing/overflow/scrolling-content-clip-to-viewport.html: * compositing/overflow/scrolling-without-painting.html: * compositing/overflow/textarea-scroll-touch.html: * compositing/overflow/updating-scrolling-content.html: * compositing/rtl/rtl-fixed-overflow-scrolled.html: * compositing/rtl/rtl-overflow-scrolling.html: * fast/block/positioning/rtl-fixed-positioning.html: * fast/block/positioning/vertical-rl/fixed-positioning.html: * fast/dom/horizontal-scrollbar-in-rtl.html: * fast/dom/horizontal-scrollbar-when-dir-change.html: * fast/dom/scroll-reveal-left-overflow.html: * fast/dom/scroll-reveal-top-overflow.html: * fast/dom/vertical-scrollbar-when-dir-change.html: * fast/multicol/pagination/RightToLeft-rl-hittest.html: * scrollingcoordinator/non-fast-scrollable-region-scaled-iframe.html: * scrollingcoordinator/non-fast-scrollable-region-transformed-iframe.html: * swipe/main-frame-pinning-requirement.html: Turn off threaded scrolling in the cases where it sensibly affects the test result. These cases are: - tests that use scrollTo or similar, and then depend on the scrolling happening synchronously - tests that use setAcceleratedCompositingForOverflowScrollEnabled, which asserts if combined with threaded scrolling * fast/text/combining-character-sequence-vertical.html: * fast/text/descent-clip-in-scaled-page.html: * fast/text/descent-clip-in-scaled-page-expected.html: * fast/text/vertical-quotation-marks.html: Turn off threaded scrolling in three tests where it shouldn't affect the test result, but for some reason does. Canonical link: https://commits.webkit.org/167492@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@190060 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-09-21 18:00:20 +00:00
<!-- webkit-test-runner [ useThreadedScrolling=false ] -->
Correct FrameView::scrollableAreaBoundingBox() calculation in the presence of transforms https://bugs.webkit.org/show_bug.cgi?id=105075 Patch by Tien-Ren Chen <trchen@chromium.org> on 2013-01-14 Reviewed by Simon Fraser. As mentioned by the FIXME comment, we need to ask the renderer for the absolute bounding box of a frame for correct transformation. This fixes the bug that iframe cannot be scrolled properly when it is transformed. Source/WebCore: Tests: scrollingcoordinator/non-fast-scrollable-region-scaled-iframe.html scrollingcoordinator/non-fast-scrollable-region-transformed-iframe.html * page/FrameView.cpp: (WebCore::FrameView::scrollableAreaBoundingBox): LayoutTests: * platform/mac/scrollingcoordinator/non-fast-scrollable-region-scaled-iframe-expected.png: Added. * platform/mac/scrollingcoordinator/non-fast-scrollable-region-scaled-iframe-expected.txt: Added. * platform/mac/scrollingcoordinator/non-fast-scrollable-region-transformed-iframe-expected.png: Added. * platform/mac/scrollingcoordinator/non-fast-scrollable-region-transformed-iframe-expected.txt: Added. * scrollingcoordinator/non-fast-scrollable-region-scaled-iframe-expected.png: Added. * scrollingcoordinator/non-fast-scrollable-region-scaled-iframe-expected.txt: Added. * scrollingcoordinator/non-fast-scrollable-region-scaled-iframe.html: Added. * scrollingcoordinator/non-fast-scrollable-region-transformed-iframe-expected.png: Added. * scrollingcoordinator/non-fast-scrollable-region-transformed-iframe-expected.txt: Added. * scrollingcoordinator/non-fast-scrollable-region-transformed-iframe.html: Added. * scrollingcoordinator/resources/non-fast-scrollable-region-testing.js: Added. (runNonFastScrollableRegionTest): Canonical link: https://commits.webkit.org/125074@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@139686 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-01-15 00:51:30 +00:00
<!DOCTYPE html>
<html>
<head>
<script src="resources/non-fast-scrollable-region-testing.js"></script>
</head>
<body onload="runNonFastScrollableRegionTest();">
<iframe src="data:text/html;charset=utf-8,<html><body style='width:1000px;height:1000px;'></body></html>" style="position:absolute;left:200px;top:150px;width;150px;height:200px;-webkit-transform:scale(2);padding:10px;"></iframe>
</body>
</html>