You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
touch-action on non-scrollable elements is not intersected properly #47737
A-content/cssInteracting with CSS from web content (parsing, serializing, introspection)A-inputC-has-manual-testcaseA minimal testcase exists that can be run manually.
When a gesture is started, the browser intersects the touch-action values of the touched element and its ancestors, up to the one that implements the gesture (in other words, the first containing scrolling element).
We should not scroll the following.
To Reproduce:
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><title>touch-action: none on nested child</title><style>html,body{margin:0;}.scroller{overflow: auto;height:80vh;touch-action: auto;border:2px solid #888;}.content{height:200vh;}.trap{touch-action: none;width:200px;height:200px;background: red;color: white;display: flex;align-items: center;justify-content: center;text-align: center;}</style></head><body><p>Starting a touch-drag on the red box should NOT scroll the page.</p><divclass="scroller" id="scroller"><divclass="content"><divclass="trap">touch-action: none<br></div></div></div></body></html>
A-content/cssInteracting with CSS from web content (parsing, serializing, introspection)A-inputC-has-manual-testcaseA minimal testcase exists that can be run manually.
Activity
yezhizhen commentedon Sep 5, 2026
While doing this, I notice 4 tests go from FAIL to ERROR (Move Target OOB from WebDriver).
I think this is same reason as web-platform-tests/wpt#48968
Such as
servo/tests/wpt/tests/pointerevents/pointerevent_touch-action-inherit_child-auto-child-none_touch.html
Lines 122 to 123 in 1541394
In 800x600, "Complete test" button is just not in-view. I confirmed this with Edge/Firefox.
wpt: Make a few `touch-action` pointerevents tests work under 800x600 (…
wpt: Make a few `touch-action` pointerevents tests work under 800x600 (…