Closed Bug 1433087 Opened 6 years ago Closed 6 years ago

Mouse wheel behaviour defaults should be adapted to the page-level writing-mode

Categories

(Firefox :: Untriaged, defect)

58 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1358017

People

(Reporter: zjz, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20180105065505

Steps to reproduce:

Hello, team.
Currently, the mouse wheel behaviour for page scrolling is fixed: Vertical scrolling is made when the mouse wheel is scrolled with no modifier key while the horizontal scrolling is made with "mouse wheel + modifier key". It is clear that vertical scrolling is treated as a major scrolling behaviour.
However, this may not be the desired defaults for some cases. Consider the following code:
----------
<!DOCTYPE html>
<html style="writing-mode: vertical-rl;">
<head>
<meta charset="utf-8"><title>test</title>
</head>
<body>
...
...
...
</body>
</html>
----------
When the page-level writing-model is vertical, the page content is much more likely to have a horizontal scrollbar then to have a vertical one. So in these cases, it makes sense to have horizontal scrolling adapted to be the major scrolling behaviour(mouse whell without a modifier key), and vertical scrolling adapted to be minor(mouse whell with a modifier key)
It would be great if we implement the scrolling direction to be logical instead of being actual. That is major/minor, not horizontal/vertical
Version: 57 Branch → 58 Branch
To be specific, the rational logical scrolling defaults would be devided into 3 cases:
1. vertical-rl:
        major:
                wheel up = page shifted leftwards
                wheel down = page shifted rightwards
        minor:
                wheel up = page shifted upwards
                wheel down = page shifted downwards
2. vertical-lr:
        major:
                wheel up = page shifted rightwards
                wheel down = page shifted leftwards
        minor:
                wheel up = page shifted upwards
                wheel down = page shifted downwards
Summary: Mouse wheel behaviour defaults should be adapted to the page-level writing-model → Mouse wheel behaviour defaults should be adapted to the page-level writing-mode
3. horizontal-tb: current behaviour
Zhang,

Your bug report description is clear and detailed. 
Right now, I strongly believe your bug report should be resolved as DUPLICATE of bug 1358017
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.