[csswg-drafts] scroll-policy: ease horizontal scrolling by wheel in vertical writing mode (#4380)

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

== scroll-policy: ease horizontal scrolling by wheel in vertical writing mode ==
I propose to introduce a new property `scroll-policy`, in order to ease horizontal scrolling in vertical writing mode:

The property has two values: `auto` (default value), `per-writing-mode`.

`auto` keeps the traditional scroll policy unchanged, for avoid breaking upward compatibility.

`per-writing-mode` tells the browsers to take full advantage of scrolling operations, **as much as they like**, without fearing any compatibility:

For example, if an element is in vertical-rl mode, and overflows in only the horizontal direction, then the browser can quite confidently set the default action of the upward wheel event as rightward scrolling, and the default action of the downward wheel event as leftward scrolling.

This feature is significantly helpful if the whole page is more than one screen in vertical writing mode, and will make the vertical writing pages eventually become practical in real-world.

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

Received on Monday, 30 September 2019 06:43:36 UTC