W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2019

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

From: 張俊芝 via GitHub <sysbot+gh@w3.org>
Date: Mon, 30 Sep 2019 06:43:34 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-500082749-1569825813-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:53 UTC