Commit 564c80e8 authored by Philip Rogers's avatar Philip Rogers Committed by Commit Bot

Promote PaintTouchActionRects to stable

This change enables PaintTouchActionRects by default. This is a
new implementation of how the blink->cc logic works for the css
touch-action feature. The big idea behind PaintTouchActionRects is to
compute touch-action rects during paint, in paint order, as part of the
background paint phase.

With this change we expect better performance (primarily a drop in
ScrollingCoordinator time: Blink.ScrollingCoordinator.UpdateTime) as
well as observable bug fixes (e.g., https://crbug.com/826746).

This patch has several small parts:
1) runtime_enabled_features.json5 makes PaintTouchActionRects as stable.
2) The paint-touchaction-rects expectations have been made the default.
3) The paint-touchaction-rects virtual test suite has been removed.
4) 6 tests have been marked as passing (fixed with this feature).

Bug: 836905
Change-Id: I2bc12b335e8762eafde882bc475982df7e74a7d1
Reviewed-on: https://chromium-review.googlesource.com/c/1313051Reviewed-by: default avatarXida Chen <xidachen@chromium.org>
Reviewed-by: default avatarXianda Sun <sunxd@chromium.org>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#605710}
parent 72a5a899
......@@ -415,10 +415,6 @@ crbug.com/591099 virtual/outofblink-cors/http/tests/security/cors-rfc1918/addres
crbug.com/591099 virtual/outofblink-cors/http/tests/security/cors-rfc1918/addressspace-document-csp-appcache.https.html [ Crash Failure Pass ]
crbug.com/591099 virtual/outofblink-cors/http/tests/security/setDomainRelaxationForbiddenForURLScheme.html [ Pass ]
crbug.com/591099 virtual/paint-timing/external/wpt/paint-timing/sibling-painting-first-image.html [ Failure ]
crbug.com/591099 virtual/paint-touchaction-rects/fast/events/touch/compositor-touch-hit-rects-continuation.html [ Failure ]
crbug.com/591099 virtual/paint-touchaction-rects/fast/events/touch/compositor-touch-hit-rects-list-translate.html [ Failure ]
crbug.com/591099 virtual/paint-touchaction-rects/fast/events/touch/compositor-touch-hit-rects.html [ Failure ]
crbug.com/591099 virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-scroll-input-field.html [ Pass ]
crbug.com/591099 virtual/prefer_compositing_to_lcd_text/ [ Skip ]
crbug.com/591099 virtual/reporting-api/external/wpt/content-security-policy/reporting-api/reporting-api-doesnt-send-reports-without-violation.https.sub.html [ Pass ]
crbug.com/591099 virtual/scroll_customization/ [ Skip ]
......
......@@ -810,8 +810,7 @@ Bug(none) virtual/threaded/external/wpt/feature-policy/experimental-features/ver
# Many of these tests are currently failing or crashing, and the tests change
# quickly, so just tolerate the whole directory until we start to work on them.
Bug(none) fast/events/touch [ Failure Pass ]
Bug(none) virtual/paint-touchaction-rects/fast/events/touch [ Failure Pass Crash ]
Bug(none) fast/events/touch [ Failure Pass Crash ]
Bug(none) virtual/threaded/fast/events/pinch/gesture-pinch-fake-mouse-wheel.html [ Pass Failure Crash ]
Bug(none) virtual/threaded/fast/events/pinch/pinch-zoom-into-center.html [ Pass Failure Crash ]
......
......@@ -60,7 +60,6 @@ crbug.com/891427 virtual/android/rootscroller/rootscroller-during-fullscreen.htm
# Next 5 here: https://ci.chromium.org/buildbot/tryserver.blink/mac10.10-blink-rel/1162
crbug.com/891427 fast/events/touch/gesture/touch-gesture-scroll-listbox.html [ Pass Failure Timeout Crash ]
crbug.com/891427 virtual/mouseevent_fractional/fast/events/touch/gesture/touch-gesture-scroll-listbox.html [ Pass Failure Timeout Crash ]
crbug.com/891427 virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-scroll-listbox.html [ Pass Failure Timeout Crash ]
crbug.com/891427 virtual/scroll_customization/fast/events/touch/gesture/touch-gesture-scroll-listbox.html [ Pass Failure Timeout Crash ]
crbug.com/891427 virtual/user-activation-v2/fast/events/touch/gesture/touch-gesture-scroll-listbox.html [ Pass Failure Timeout Crash ]
# Next 2 here: https://ci.chromium.org/buildbot/tryserver.blink/win7-blink-rel/1183
......@@ -77,7 +76,6 @@ crbug.com/891427 virtual/threaded/fast/events/pinch/pinch-zoom-pan-within-zoomed
crbug.com/891427 virtual/threaded/http/tests/devtools/tracing/timeline-paint/timeline-paint-with-style-recalc-invalidations.js [ Pass Failure Timeout Crash ]
crbug.com/891427 virtual/threaded/synthetic_gestures/synthetic-pinch-zoom-gesture-touchscreen.html [ Pass Failure Timeout Crash ]
# Next 3 here: https://ci.chromium.org/p/chromium/builders/luci.chromium.try/mac10.13_retina-blink-rel/996
crbug.com/891427 virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-scroll-input-field.html [ Pass Failure Timeout Crash ]
crbug.com/891427 virtual/scroll_customization/fast/events/touch/gesture/touch-gesture-scroll-input-field.html [ Pass Failure Timeout Crash ]
crbug.com/891427 virtual/user-activation-v2/fast/events/touch/gesture/touch-gesture-scroll-input-field.html [ Pass Failure Timeout Crash ]
# Next 4 here: https://ci.chromium.org/p/chromium/builders/luci.chromium.try/linux-blink-rel/1547
......@@ -376,11 +374,6 @@ crbug.com/857490 virtual/user-activation-v2/fast/events/wheel/mainthread-touchpa
crbug.com/857490 virtual/user-activation-v2/fast/events/wheel/wheel-fling-cancel.html [ Skip ]
crbug.com/857490 virtual/user-activation-v2/fast/events/touch/compositor-touch-hit-rects-list-translate.html [ Skip ]
crbug.com/857490 virtual/user-activation-v2/fast/events/touch/compositor-touch-hit-rects.html [ Skip ]
crbug.com/857490 virtual/paint-touchaction-rects/fast/events/touch/gesture/gesture-scrollbar-touchpad-fling.html [ Skip ]
crbug.com/857490 virtual/paint-touchaction-rects/fast/events/touch/gesture/gesture-scrollbar-touchscreen-fling.html [ Skip ]
crbug.com/857490 virtual/paint-touchaction-rects/fast/events/touch/gesture/pad-gesture-cancel.html [ Skip ]
crbug.com/857490 virtual/paint-touchaction-rects/fast/events/touch/gesture/pad-gesture-fling.html [ Skip ]
crbug.com/857490 virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-fling-with-page-scale.html [ Skip ]
# Tests not yet passing with Blink FractionalScrollOffsets enabled.
crbug.com/414283 virtual/fractional_scrolling/fast/scrolling/fractional-scroll-offset-fixed-position-non-composited.html [ Failure ]
......@@ -1963,7 +1956,8 @@ crbug.com/877361 virtual/threaded/fast/events/pinch/gesture-pinch-zoom-scroll-bu
crbug.com/522648 fast/events/touch/compositor-touch-hit-rects-iframes.html [ Crash Failure Pass ]
crbug.com/522648 virtual/mouseevent_fractional/fast/events/touch/compositor-touch-hit-rects-iframes.html [ Crash Failure Pass ]
crbug.com/522648 virtual/paint-touchaction-rects/fast/events/touch/compositor-touch-hit-rects-iframes.html [ Skip ]
crbug.com/522648 virtual/scroll_customization/fast/events/touch/compositor-touch-hit-rects-iframes.html [ Skip ]
crbug.com/522648 virtual/user-activation-v2/fast/events/touch/compositor-touch-hit-rects-iframes.html [ Skip ]
crbug.com/520170 fast/dom/timer-throttling-hidden-page.html [ Failure Pass ]
crbug.com/652536 fast/events/mouse-cursor-change-after-image-load.html [ Failure Pass Crash ]
crbug.com/652536 virtual/mouseevent_fractional/fast/events/mouse-cursor-change-after-image-load.html [ Failure Pass Crash ]
......@@ -2038,14 +2032,6 @@ crbug.com/567837 virtual/scalefactor150/fast/hidpi/static/popup-menu-with-scroll
crbug.com/567837 virtual/scalefactor200/fast/hidpi/static/popup-menu-with-scrollbar-appearance.html [ Skip ]
crbug.com/567837 virtual/scalefactor200withzoom/fast/hidpi/static/popup-menu-with-scrollbar-appearance.html [ Skip ]
# These tests currently fail but are fixed with PaintTouchActionRects.
crbug.com/876305 fast/events/touch/compositor-touch-hit-rects-list-translate.html [ Failure ]
crbug.com/876305 fast/events/touch/compositor-touch-hit-rects.html [ Failure ]
crbug.com/897186 fast/events/touch/compositor-touch-hit-rects-visibility-hidden.html [ Failure ]
crbug.com/897186 virtual/scroll_customization/fast/events/touch/compositor-touch-hit-rects-visibility-hidden.html [ Failure ]
crbug.com/897186 virtual/user-activation-v2/fast/events/touch/compositor-touch-hit-rects-visibility-hidden.html [ Failure ]
crbug.com/897186 virtual/mouseevent_fractional/fast/events/touch/compositor-touch-hit-rects-visibility-hidden.html [ Failure ]
# TODO(ojan): These tests aren't flaky. See crbug.com/517144.
# Release trybots run asserts, but the main waterfall ones don't. So, even
# though this is a non-flaky assert failure, we need to mark it [ Pass Crash ].
......@@ -2521,21 +2507,6 @@ crbug.com/613672 [ Mac ] virtual/user-activation-v2/fast/events/touch/gesture/to
crbug.com/613672 [ Mac ] virtual/user-activation-v2/fast/events/touch/gesture/touch-gesture-scroll-page-past-extent.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/user-activation-v2/fast/events/touch/gesture/touch-gesture-scroll-page-zoomed.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/user-activation-v2/fast/events/touch/gesture/touch-gesture-scroll-page.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/gesture-scroll.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/gesture-scroll-by-page.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/gesture-scrollbar-mainframe.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/gesture-scrollbar.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-noscroll-body-xhidden.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-noscroll-body-yhidden.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-scroll-div-past-extent-diagonally.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-scroll-div-scaled.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-scroll-div-zoomed.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-scroll-div.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-scroll-iframe-editable.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-scroll-iframe.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-scroll-page-past-extent.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-scroll-page-zoomed.html [ Skip ]
crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-scroll-page.html [ Skip ]
### See crbug.com/891427 comment near the top of this file:
####crbug.com/613672 [ Mac ] fast/events/touch/gesture/touch-gesture-scroll-listbox.html [ Skip ]
####crbug.com/613672 [ Mac ] virtual/mouseevent_fractional/fast/events/touch/gesture/touch-gesture-scroll-listbox.html [ Skip ]
......@@ -2543,8 +2514,6 @@ crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gestu
####crbug.com/613672 [ Mac ] virtual/scroll_customization/fast/events/touch/gesture/touch-gesture-scroll-listbox.html [ Skip ]
####crbug.com/613672 [ Mac ] virtual/user-activation-v2/fast/events/touch/gesture/touch-gesture-scroll-input-field.html [ Skip ]
####crbug.com/613672 [ Mac ] virtual/user-activation-v2/fast/events/touch/gesture/touch-gesture-scroll-listbox.html [ Skip ]
####crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-scroll-input-field.html [ Skip ]
####crbug.com/613672 [ Mac ] virtual/paint-touchaction-rects/fast/events/touch/gesture/touch-gesture-scroll-listbox.html [ Skip ]
crbug.com/802067 [ Mac ] external/wpt/pointerlock/movementX_Y_basic-manual.html [ Failure ]
crbug.com/802067 [ Mac ] external/wpt/pointerevents/pointerlock/pointerevent_movementxy-manual.html [ Failure ]
......@@ -2913,7 +2882,6 @@ crbug.com/828506 [ Linux Win ] fast/events/touch/scroll-without-mouse-lacks-mous
crbug.com/828506 [ Linux Win ] virtual/mouseevent_fractional/fast/events/touch/scroll-without-mouse-lacks-mousemove-events.html [ Pass Failure ]
crbug.com/828506 [ Linux Win ] virtual/scroll_customization/fast/events/touch/scroll-without-mouse-lacks-mousemove-events.html [ Pass Failure ]
crbug.com/828506 [ Linux Win ] virtual/user-activation-v2/fast/events/touch/scroll-without-mouse-lacks-mousemove-events.html [ Pass Failure ]
crbug.com/828506 [ Linux Win ] virtual/paint-touchaction-rects/fast/events/touch/scroll-without-mouse-lacks-mousemove-events.html [ Failure Pass ]
# Failure messages are unstable so we cannot create baselines.
crbug.com/832071 external/wpt/service-workers/service-worker/worker-client-id.https.html [ Failure ]
......
......@@ -582,11 +582,6 @@
"base": "external/wpt/paint-timing",
"args": ["--enable-threaded-compositing"]
},
{
"prefix": "paint-touchaction-rects",
"base": "fast/events/touch",
"args": ["--enable-blink-features=PaintTouchActionRects"]
},
{
"prefix": "cors-rfc1918",
"base": "http/tests/security/cors-rfc1918",
......
This tests verifies the hit test regions given to the compositor in the simple case where touch handles cover (or nearly cover) the entire document. It can only be run in DumpRenderTree.
document: #document (0, 0, 800, 600)
document: #document scrolling (0, 0, 785, 2000)
html: #document (0, 0, 800, 600)
html: #document scrolling (0, 0, 785, 2000)
body: #document (0, 0, 800, 600)
body: #document scrolling (5, 16, 775, 1968)
webPageOverlay: no rects
......
Tests that there is an upper limit on the number of hit rects generated per layer. http://crbug.com/299177.
Test node has 99 children with 100 rects
Test node has 100 children with 1 rects
Test node has 101 children with 1 rects
manychildren: DIV#layer (0, 0, 308, 1228)
Test node has 100 children with 101 rects
FAIL - got 101 rects, expected 1.
Test node has 101 children with 102 rects
FAIL - got 102 rects, expected 1.
manychildren: DIV#layer (0, 0, 290, 12)
manychildren: DIV#layer (301, 21, 7, 7)
manychildren: DIV#layer (301, 33, 7, 7)
manychildren: DIV#layer (301, 45, 7, 7)
manychildren: DIV#layer (301, 57, 7, 7)
manychildren: DIV#layer (301, 69, 7, 7)
manychildren: DIV#layer (301, 81, 7, 7)
manychildren: DIV#layer (301, 93, 7, 7)
manychildren: DIV#layer (301, 105, 7, 7)
manychildren: DIV#layer (301, 117, 7, 7)
manychildren: DIV#layer (301, 129, 7, 7)
manychildren: DIV#layer (301, 141, 7, 7)
manychildren: DIV#layer (301, 153, 7, 7)
manychildren: DIV#layer (301, 165, 7, 7)
manychildren: DIV#layer (301, 177, 7, 7)
manychildren: DIV#layer (301, 189, 7, 7)
manychildren: DIV#layer (301, 201, 7, 7)
manychildren: DIV#layer (301, 213, 7, 7)
manychildren: DIV#layer (301, 225, 7, 7)
manychildren: DIV#layer (301, 237, 7, 7)
manychildren: DIV#layer (301, 249, 7, 7)
manychildren: DIV#layer (301, 261, 7, 7)
manychildren: DIV#layer (301, 273, 7, 7)
manychildren: DIV#layer (301, 285, 7, 7)
manychildren: DIV#layer (301, 297, 7, 7)
manychildren: DIV#layer (301, 309, 7, 7)
manychildren: DIV#layer (301, 321, 7, 7)
manychildren: DIV#layer (301, 333, 7, 7)
manychildren: DIV#layer (301, 345, 7, 7)
manychildren: DIV#layer (301, 357, 7, 7)
manychildren: DIV#layer (301, 369, 7, 7)
manychildren: DIV#layer (301, 381, 7, 7)
manychildren: DIV#layer (301, 393, 7, 7)
manychildren: DIV#layer (301, 405, 7, 7)
manychildren: DIV#layer (301, 417, 7, 7)
manychildren: DIV#layer (301, 429, 7, 7)
manychildren: DIV#layer (301, 441, 7, 7)
manychildren: DIV#layer (301, 453, 7, 7)
manychildren: DIV#layer (301, 465, 7, 7)
manychildren: DIV#layer (301, 477, 7, 7)
manychildren: DIV#layer (301, 489, 7, 7)
manychildren: DIV#layer (301, 501, 7, 7)
manychildren: DIV#layer (301, 513, 7, 7)
manychildren: DIV#layer (301, 525, 7, 7)
manychildren: DIV#layer (301, 537, 7, 7)
manychildren: DIV#layer (301, 549, 7, 7)
manychildren: DIV#layer (301, 561, 7, 7)
manychildren: DIV#layer (301, 573, 7, 7)
manychildren: DIV#layer (301, 585, 7, 7)
manychildren: DIV#layer (301, 597, 7, 7)
manychildren: DIV#layer (301, 609, 7, 7)
manychildren: DIV#layer (301, 621, 7, 7)
manychildren: DIV#layer (301, 633, 7, 7)
manychildren: DIV#layer (301, 645, 7, 7)
manychildren: DIV#layer (301, 657, 7, 7)
manychildren: DIV#layer (301, 669, 7, 7)
manychildren: DIV#layer (301, 681, 7, 7)
manychildren: DIV#layer (301, 693, 7, 7)
manychildren: DIV#layer (301, 705, 7, 7)
manychildren: DIV#layer (301, 717, 7, 7)
manychildren: DIV#layer (301, 729, 7, 7)
manychildren: DIV#layer (301, 741, 7, 7)
manychildren: DIV#layer (301, 753, 7, 7)
manychildren: DIV#layer (301, 765, 7, 7)
manychildren: DIV#layer (301, 777, 7, 7)
manychildren: DIV#layer (301, 789, 7, 7)
manychildren: DIV#layer (301, 801, 7, 7)
manychildren: DIV#layer (301, 813, 7, 7)
manychildren: DIV#layer (301, 825, 7, 7)
manychildren: DIV#layer (301, 837, 7, 7)
manychildren: DIV#layer (301, 849, 7, 7)
manychildren: DIV#layer (301, 861, 7, 7)
manychildren: DIV#layer (301, 873, 7, 7)
manychildren: DIV#layer (301, 885, 7, 7)
manychildren: DIV#layer (301, 897, 7, 7)
manychildren: DIV#layer (301, 909, 7, 7)
manychildren: DIV#layer (301, 921, 7, 7)
manychildren: DIV#layer (301, 933, 7, 7)
manychildren: DIV#layer (301, 945, 7, 7)
manychildren: DIV#layer (301, 957, 7, 7)
manychildren: DIV#layer (301, 969, 7, 7)
manychildren: DIV#layer (301, 981, 7, 7)
manychildren: DIV#layer (301, 993, 7, 7)
manychildren: DIV#layer (301, 1005, 7, 7)
manychildren: DIV#layer (301, 1017, 7, 7)
manychildren: DIV#layer (301, 1029, 7, 7)
manychildren: DIV#layer (301, 1041, 7, 7)
manychildren: DIV#layer (301, 1053, 7, 7)
manychildren: DIV#layer (301, 1065, 7, 7)
manychildren: DIV#layer (301, 1077, 7, 7)
manychildren: DIV#layer (301, 1089, 7, 7)
manychildren: DIV#layer (301, 1101, 7, 7)
manychildren: DIV#layer (301, 1113, 7, 7)
manychildren: DIV#layer (301, 1125, 7, 7)
manychildren: DIV#layer (301, 1137, 7, 7)
manychildren: DIV#layer (301, 1149, 7, 7)
manychildren: DIV#layer (301, 1161, 7, 7)
manychildren: DIV#layer (301, 1173, 7, 7)
manychildren: DIV#layer (301, 1185, 7, 7)
manychildren: DIV#layer (301, 1197, 7, 7)
manychildren: DIV#layer (301, 1209, 7, 7)
manychildren: DIV#layer (301, 1221, 7, 7)
This test verifies the hit test regions given to the compositor specifically around non-composited overflow scroll elements.
scrollContent: #document scrolling (13, 52, 290, 32)
scrollContent: #document scrolling (14, 63, 273, 12)
scrollContainerWithHandler: #document scrolling (13, 89, 290, 32)
nestedContent: #document scrolling (13, 126, 290, 32)
nestedContent: #document scrolling (15, 158, 256, 2)
nestedContent: #document scrolling (15, 148, 256, 9)
fixedPositionContentContainer: #document scrolling (13, 168, 290, 32)
fixedPositionContentContainer: #document scrolling (14, 179, 273, 12)
fixedPositionContentContainer: #document scrolling (310, 190, 132, 12)
overflowwithhandler: #document scrolling (13, 210, 290, 32)
overflowwithhandler: #document scrolling (14, 242, 273, 6)
overflowwithhandler: #document scrolling (14, 221, 273, 20)
divInsideNonScrollableLayer: #document scrolling (13, 252, 290, 32)
divInsideNonScrollableLayer: #document scrolling (14, 284, 273, 1)
divInsideNonScrollableLayer: #document scrolling (14, 273, 273, 10)
divInsideCompositedLayer: DIV#compositedLayer (0, 10, 273, 12)
......
notclipped: #document scrolling (0, 0, 302, 102)
notclipped: #document scrolling (1, 51, 200, 25)
clipped: #document scrolling (0, 0, 302, 102)
clipped: #document scrolling (1, 176, 200, 25)
clipped: no rects
This test verifies the hit test regions given to the compositor specifically around composited overflow scroll elements.
scrollContent: DIV#scroll1 (1, 14, 273, 12)
scrollContent: DIV#scroll1 scrolling (0, 13, 273, 12)
scrollContent5: DIV#scroll5 (1, 14, 273, 12)
scrollContent5: DIV#scroll5 scrolling (0, 13, 273, 12)
scrollContent6: DIV#scroll6 scrolling[-1,-14] (0, 0, 273, 12)
nestedContent: DIV#scroll2b (1, 31, 256, 12)
nestedContent: DIV#scroll2b scrolling (0, 30, 256, 12)
overflowwithhandler: DIV#overflowwithhandler (1, 1, 256, 116)
overflowwithhandler: DIV#scroll4 (1, 11, 273, 52)
overflowwithhandler: DIV#overflowwithhandler scrolling (0, 0, 256, 116)
overflowwithhandler: DIV#overflowwithhandler (0, 0, 273, 52)
overflowwithborder: DIV#overflowwithborder (6, 6, 263, 124)
overflowwithborder: HTML (13, 365, 290, 70)
overflowwithborder: DIV#overflowwithborder (0, 0, 290, 70)
overflowwithborder: DIV#overflowwithborder scrolling (4, 4, 255, 116)
withTransform: DIV#transformed (0, 0, 271, 12)
withTransform: DIV#scroll3 (1, 14, 273, 14)
withTransform: DIV#scroll3 scrolling (0, 13, 273, 14)
This tests verifies the hit test regions given to the compositor for svg elements. It can only be run in DumpRenderTree.
svgline: #document scrolling (13, 80, 100, 10)
svgline: #document scrolling (13, 84, 22, 3)
This test makes sure that touch hit rects are reported for fullscreen HTML5 video control elements even when there is a document handler.
Should have single rect on document before fullscreen
handler: #document (0, 0, 800, 600)
handler: #document scrolling (0, 0, 800, 600)
EVENT(webkitfullscreenchange)
Should keep rect on document
handler: #document (0, 0, 800, 600)
handler: DIV (0, 0, 800, 600)
handler: DIV (0, 0, 800, 600)
handler: #document scrolling (0, 0, 800, 600)
END OF TEST
This test makes sure that touch hit rects are reported for fullscreen HTML5 video control elements even when there is a document handler.
Should have single rect on document before fullscreen
handler: #document (0, 0, 800, 600)
EVENT(webkitfullscreenchange)
Should report no rect or another rect which is not on the document
handler: no rects
END OF TEST
This test makes sure that touch hit rects are reported for fullscreen HTML5 video control elements even when there is a document handler.
Should have single rect on document before fullscreen
handler: #document (0, 0, 800, 600)
handler: #document scrolling (0, 0, 800, 600)
EVENT(webkitfullscreenchange)
Should report no rect or another rect which is not on the document
handler: DIV (42, 3, 637, 24)
handler: DIV (0, 0, 800, 600)
handler: DIV (0, 0, 800, 600)
END OF TEST
# This suite runs the tests in LayoutTests/fast/events/touch/ with --enable-blink-features=PaintTouchActionRects.
# See the virtual_test_suites() method in tools/blinkpy/web_tests/port/base.py.
This tests verifies the hit test regions given to the compositor in the simple case where touch handles cover (or nearly cover) the entire document. It can only be run in DumpRenderTree.
document: #document scrolling (0, 0, 785, 2000)
html: #document scrolling (0, 0, 785, 2000)
body: #document scrolling (5, 16, 775, 1968)
webPageOverlay: no rects
Tests that there is an upper limit on the number of hit rects generated per layer. http://crbug.com/299177.
Test node has 99 children with 100 rects
Test node has 100 children with 101 rects
FAIL - got 101 rects, expected 1.
Test node has 101 children with 102 rects
FAIL - got 102 rects, expected 1.
manychildren: DIV#layer (0, 0, 290, 12)
manychildren: DIV#layer (301, 21, 7, 7)
manychildren: DIV#layer (301, 33, 7, 7)
manychildren: DIV#layer (301, 45, 7, 7)
manychildren: DIV#layer (301, 57, 7, 7)
manychildren: DIV#layer (301, 69, 7, 7)
manychildren: DIV#layer (301, 81, 7, 7)
manychildren: DIV#layer (301, 93, 7, 7)
manychildren: DIV#layer (301, 105, 7, 7)
manychildren: DIV#layer (301, 117, 7, 7)
manychildren: DIV#layer (301, 129, 7, 7)
manychildren: DIV#layer (301, 141, 7, 7)
manychildren: DIV#layer (301, 153, 7, 7)
manychildren: DIV#layer (301, 165, 7, 7)
manychildren: DIV#layer (301, 177, 7, 7)
manychildren: DIV#layer (301, 189, 7, 7)
manychildren: DIV#layer (301, 201, 7, 7)
manychildren: DIV#layer (301, 213, 7, 7)
manychildren: DIV#layer (301, 225, 7, 7)
manychildren: DIV#layer (301, 237, 7, 7)
manychildren: DIV#layer (301, 249, 7, 7)
manychildren: DIV#layer (301, 261, 7, 7)
manychildren: DIV#layer (301, 273, 7, 7)
manychildren: DIV#layer (301, 285, 7, 7)
manychildren: DIV#layer (301, 297, 7, 7)
manychildren: DIV#layer (301, 309, 7, 7)
manychildren: DIV#layer (301, 321, 7, 7)
manychildren: DIV#layer (301, 333, 7, 7)
manychildren: DIV#layer (301, 345, 7, 7)
manychildren: DIV#layer (301, 357, 7, 7)
manychildren: DIV#layer (301, 369, 7, 7)
manychildren: DIV#layer (301, 381, 7, 7)
manychildren: DIV#layer (301, 393, 7, 7)
manychildren: DIV#layer (301, 405, 7, 7)
manychildren: DIV#layer (301, 417, 7, 7)
manychildren: DIV#layer (301, 429, 7, 7)
manychildren: DIV#layer (301, 441, 7, 7)
manychildren: DIV#layer (301, 453, 7, 7)
manychildren: DIV#layer (301, 465, 7, 7)
manychildren: DIV#layer (301, 477, 7, 7)
manychildren: DIV#layer (301, 489, 7, 7)
manychildren: DIV#layer (301, 501, 7, 7)
manychildren: DIV#layer (301, 513, 7, 7)
manychildren: DIV#layer (301, 525, 7, 7)
manychildren: DIV#layer (301, 537, 7, 7)
manychildren: DIV#layer (301, 549, 7, 7)
manychildren: DIV#layer (301, 561, 7, 7)
manychildren: DIV#layer (301, 573, 7, 7)
manychildren: DIV#layer (301, 585, 7, 7)
manychildren: DIV#layer (301, 597, 7, 7)
manychildren: DIV#layer (301, 609, 7, 7)
manychildren: DIV#layer (301, 621, 7, 7)
manychildren: DIV#layer (301, 633, 7, 7)
manychildren: DIV#layer (301, 645, 7, 7)
manychildren: DIV#layer (301, 657, 7, 7)
manychildren: DIV#layer (301, 669, 7, 7)
manychildren: DIV#layer (301, 681, 7, 7)
manychildren: DIV#layer (301, 693, 7, 7)
manychildren: DIV#layer (301, 705, 7, 7)
manychildren: DIV#layer (301, 717, 7, 7)
manychildren: DIV#layer (301, 729, 7, 7)
manychildren: DIV#layer (301, 741, 7, 7)
manychildren: DIV#layer (301, 753, 7, 7)
manychildren: DIV#layer (301, 765, 7, 7)
manychildren: DIV#layer (301, 777, 7, 7)
manychildren: DIV#layer (301, 789, 7, 7)
manychildren: DIV#layer (301, 801, 7, 7)
manychildren: DIV#layer (301, 813, 7, 7)
manychildren: DIV#layer (301, 825, 7, 7)
manychildren: DIV#layer (301, 837, 7, 7)
manychildren: DIV#layer (301, 849, 7, 7)
manychildren: DIV#layer (301, 861, 7, 7)
manychildren: DIV#layer (301, 873, 7, 7)
manychildren: DIV#layer (301, 885, 7, 7)
manychildren: DIV#layer (301, 897, 7, 7)
manychildren: DIV#layer (301, 909, 7, 7)
manychildren: DIV#layer (301, 921, 7, 7)
manychildren: DIV#layer (301, 933, 7, 7)
manychildren: DIV#layer (301, 945, 7, 7)
manychildren: DIV#layer (301, 957, 7, 7)
manychildren: DIV#layer (301, 969, 7, 7)
manychildren: DIV#layer (301, 981, 7, 7)
manychildren: DIV#layer (301, 993, 7, 7)
manychildren: DIV#layer (301, 1005, 7, 7)
manychildren: DIV#layer (301, 1017, 7, 7)
manychildren: DIV#layer (301, 1029, 7, 7)
manychildren: DIV#layer (301, 1041, 7, 7)
manychildren: DIV#layer (301, 1053, 7, 7)
manychildren: DIV#layer (301, 1065, 7, 7)
manychildren: DIV#layer (301, 1077, 7, 7)
manychildren: DIV#layer (301, 1089, 7, 7)
manychildren: DIV#layer (301, 1101, 7, 7)
manychildren: DIV#layer (301, 1113, 7, 7)
manychildren: DIV#layer (301, 1125, 7, 7)
manychildren: DIV#layer (301, 1137, 7, 7)
manychildren: DIV#layer (301, 1149, 7, 7)
manychildren: DIV#layer (301, 1161, 7, 7)
manychildren: DIV#layer (301, 1173, 7, 7)
manychildren: DIV#layer (301, 1185, 7, 7)
manychildren: DIV#layer (301, 1197, 7, 7)
manychildren: DIV#layer (301, 1209, 7, 7)
manychildren: DIV#layer (301, 1221, 7, 7)
This test verifies the hit test regions given to the compositor specifically around non-composited overflow scroll elements.
scrollContent: #document scrolling (14, 63, 273, 12)
scrollContainerWithHandler: #document scrolling (13, 89, 290, 32)
nestedContent: #document scrolling (15, 148, 256, 9)
fixedPositionContentContainer: #document scrolling (14, 179, 273, 12)
fixedPositionContentContainer: #document scrolling (310, 190, 132, 12)
overflowwithhandler: #document scrolling (14, 221, 273, 20)
divInsideNonScrollableLayer: #document scrolling (14, 273, 273, 10)
divInsideCompositedLayer: DIV#compositedLayer (0, 10, 273, 12)
overflowwithborder: #document scrolling (13, 336, 290, 50)
This test verifies the hit test regions given to the compositor specifically around composited overflow scroll elements.
scrollContent: DIV#scroll1 scrolling (0, 13, 273, 12)
scrollContent5: DIV#scroll5 scrolling (0, 13, 273, 12)
scrollContent6: DIV#scroll6 scrolling[-1,-14] (0, 0, 273, 12)
nestedContent: DIV#scroll2b scrolling (0, 30, 256, 12)
overflowwithhandler: DIV#overflowwithhandler scrolling (0, 0, 256, 116)
overflowwithhandler: DIV#overflowwithhandler (0, 0, 273, 52)
overflowwithborder: DIV#overflowwithborder (0, 0, 290, 70)
overflowwithborder: DIV#overflowwithborder scrolling (4, 4, 255, 116)
withTransform: DIV#transformed (0, 0, 271, 12)
withTransform: DIV#scroll3 scrolling (0, 13, 273, 14)
This tests verifies the hit test regions given to the compositor for svg elements. It can only be run in DumpRenderTree.
svgline: #document scrolling (13, 84, 22, 3)
......@@ -926,6 +926,7 @@
// Compute touch action rects in paint instead of ScrollingCoordinator.
{
name: "PaintTouchActionRects",
status: "stable",
},
// PaintTracking enables the Largest Text Paint metric, Last Text Paint
// metric, Largest Image Paint metric and Last Image Paint metric.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment