Skip to content

scroll-policy: ease horizontal scrolling by wheel in vertical writing mode #4380

@Zhang-Junzhi

Description

@Zhang-Junzhi

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

The property has two values: none (default value), auto.

none keeps the traditional scroll policy unchanged, in order to avoid breaking upward compatibility.

auto 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions