WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
239416
"touch-action: none" does not prevent page change gestures
https://bugs.webkit.org/show_bug.cgi?id=239416
Summary
"touch-action: none" does not prevent page change gestures
Hristiyan Dodov
Reported
2022-04-16 04:28:43 PDT
Created
attachment 457746
[details]
Bug reproduction page Pointer gestures starting on a `touch-action: none` element should not trigger the browser's default behavior of going to previous/next page. The spec (
https://www.w3.org/TR/pointerevents3/
) says:
> Direct manipulation interactions that begin on the element MUST NOT trigger behaviors related to viewport panning and zooming.
Page change gestures don't manipulate the viewport itself. Thus, one could argue that touch-action should not affect them. However, this introduces unexpected end-user behavior. If a page implements custom panning gestures, the user could suddenly go to a different page, due to the default browser behavior. Since touch-action's purpose is to enable custom gestures and get default browser behavior out of the way, I believe it should cover page change gestures as well. Android browsers also have similar page change gestures from the edge of the screen, but `touch-action: none` disables them, as expected.
Attachments
Bug reproduction page
(528 bytes, text/html)
2022-04-16 04:28 PDT
,
Hristiyan Dodov
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-04-23 04:29:12 PDT
<
rdar://problem/92213258
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug