Skip to content

Commit 7e7ead7

Browse files
committed
[css-overflow-3] Move note and add subheading
1 parent 396abc1 commit 7e7ead7

File tree

1 file changed

+24
-21
lines changed

1 file changed

+24
-21
lines changed

css-overflow-3/Overview.bs

+24-21
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ Scrolling Overflow</h3>
362362
(For example, in a [=flex container=] it is the [=main-start=] [=cross-start=] corner.)
363363
The area beyond the [=scroll origin=] in either axis
364364
is considered the <dfn>negative scrollable overflow region</dfn>:
365-
content rendered here is the not accessible to the reader,
365+
content rendered here is not accessible to the reader,
366366
see [[#scrollable]].
367367
A [=scroll container=] is said to be scrolled to its [=scroll origin=]
368368
when its [=scroll origin=] coincides with the corresponding corner of its [=scrollport=].
@@ -391,6 +391,20 @@ Scrolling Overflow</h3>
391391
uses the <a>principal writing mode</a> for determining
392392
its [=scroll origin=] and [=initial scroll position=].
393393

394+
Note: In the case where a [=scroll container=] (or one of its ancestors)
395+
is the target of a graphical transform,
396+
the UA might need to take this transform into account
397+
when mapping user inputs to scrolling operations.
398+
For instance, on a touch screen where the user scrolls
399+
by directly dragging the content,
400+
the transform would be expected to be taken into account
401+
to match the direction of scrolling to the gesture.
402+
On the other hand, other user inputs
403+
(such as the Page Down key, or a 1D scroll wheel)
404+
might be more naturally interpreted ignoring the transform.
405+
Choosing the appropriate behavior for each scrolling mechanism
406+
is the responsibility of the UA.
407+
394408
<!--
395409
███████ ██ ██ ████████ ████████ ████████ ██ ███████ ██ ██
396410
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
@@ -407,6 +421,10 @@ Scrolling and Clipping Overflow</h2>
407421
<h3 id="overflow-control">
408422
Managing Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</h3>
409423

424+
These properties specify whether a box’s [=overflow=] is clipped,
425+
and if so,
426+
whether it is a [=scroll container=].
427+
410428
<pre class=propdef>
411429
Name: overflow-x, overflow-y, overflow-block, overflow-inline
412430
Value: visible | hidden | clip | scroll | auto
@@ -418,10 +436,6 @@ Managing Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</h3
418436
Animation type: discrete
419437
</pre>
420438

421-
These properties specify whether a box’s [=overflow=] is clipped,
422-
and if so,
423-
whether it is a [=scroll container=].
424-
425439
The 'overflow-x' property specifies
426440
the handling of <a>overflow</a> in the horizontal axis
427441
(i.e., overflow from the left and right sides of the box),
@@ -526,6 +540,9 @@ Managing Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</h3
526540
is neither ''overflow/visible'' nor ''overflow/clip'' nor a combination thereof,
527541
it [=establishes an independent formatting context=] for its contents.
528542

543+
<h4 id="scroll-visibility">
544+
Interaction of 'visibility' and 'overflow'</h4>
545+
529546
If the computed value of the 'visibility' property is ''visibility/hidden''
530547
(or ''visibility/collapse'' when it has the same effect as ''visibility/hidden''),
531548
and 'overflow' is either ''overflow/scroll'' or ''overflow/auto'',
@@ -543,22 +560,8 @@ Managing Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</h3
543560
with a descendent of the ''visibility: hidden'' [=scroll container=]
544561
that is itself set to ''visibility: visible''.
545562

546-
Note: In the case where the [=scroll container=] (or one of its ancestors)
547-
is the target of a graphical transform,
548-
the UA might need to take this transform into account
549-
when mapping user inputs to scrolling operations.
550-
For instance, on a touch screen where the user scrolls
551-
by directly dragging the content,
552-
the transform would be expected to be taken into account
553-
to match the direction of scrolling to the gesture.
554-
On the other hand, other user inputs
555-
(such as the Page Down key, or a 1D scroll wheel)
556-
might be more naturally interpreted ignoring the transform.
557-
Choosing the appropriate behavior for each scrolling mechanism
558-
is the responsibility of the UA.
559-
560-
<h3 id="static-media">
561-
Overflow in Print and Other Static Media</h3>
563+
<h4 id="static-media">
564+
Overflow in Print and Other Static Media</h4>
562565

563566
<p class="advisement">
564567
Since scrolling is not possible in static media

0 commit comments

Comments
 (0)