[csswg-drafts] [css-overflow] [css-transform] Should transformation affect the scroll direction via touchpads/touchscreens? (#5733)

saschanaz has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-overflow] [css-transform] Should transformation affect the scroll direction via touchpads/touchscreens? ==
* Example: https://codepen.io/SaschaNaz/full/XWKQMXg
* Gecko bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1677583
* Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1139881

Gecko and Blink agree what should happen for mouse wheels (they follow logical direction, so scroll-up action always decreases scrollTop value), but their behavior differ for touchpads/touchscreens.

Gecko always follows visual direction for both touchpad and touchscreen, so swiping up always scrolls down in visual direction regardless of transformation. Blink follows logical direction for touchpads so the direction flips visually based on transformation, while it follows visual direction for touchscreens (while it's buggy and not consistent).

It seems no spec defines what should occur here, even for mouse wheels.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5733 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 17 November 2020 22:18:14 UTC