Skip to content

Commit b0eb5aa

Browse files
committed
[css-overflow-3] Add some guidance about mapping user input direction to scrolling in the presence of transforms. w3c#5733
1 parent bcd9a90 commit b0eb5aa

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

css-overflow-3/Overview.bs

+14
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,20 @@ Scrolling and Clipping Overflow: the 'overflow-x', 'overflow-y', and 'overflow'
452452
with a descendent of the ''visibility: hidden'' [=scroll container=]
453453
that is itself set to ''visibility: visible''.
454454

455+
Note: In the case where the [=scroll container=] (or one of its ancestors)
456+
is the target of a graphical transform,
457+
the UA might need to take this transform into account
458+
when mapping user inputs to scrolling operations.
459+
For instance, on a touch screen where the user scrolls
460+
by directly dragging the content,
461+
the transform would be expected to be taken into account
462+
to match the direction of scrolling to the gesture.
463+
On the other hand, other user inputs
464+
(such as the Page Down key, or a 1D scroll wheel)
465+
might be more naturally interpreted ignoring the transform.
466+
Choosing the appropriate behavior for each scrolling mechanism
467+
is the responsibility of the UA.
468+
455469
<h3 id="static-media">
456470
Overflow in Print and Other Static Media</h3>
457471

0 commit comments

Comments
 (0)