@@ -362,7 +362,7 @@ Scrolling Overflow</h3>
362
362
(For example, in a [=flex container=] it is the [=main-start=] [=cross-start=] corner.)
363
363
The area beyond the [=scroll origin=] in either axis
364
364
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,
366
366
see [[#scrollable]] .
367
367
A [=scroll container=] is said to be scrolled to its [=scroll origin=]
368
368
when its [=scroll origin=] coincides with the corresponding corner of its [=scrollport=] .
@@ -391,6 +391,20 @@ Scrolling Overflow</h3>
391
391
uses the <a>principal writing mode</a> for determining
392
392
its [=scroll origin=] and [=initial scroll position=] .
393
393
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
+
394
408
<!--
395
409
███████ ██ ██ ████████ ████████ ████████ ██ ███████ ██ ██
396
410
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
@@ -407,6 +421,10 @@ Scrolling and Clipping Overflow</h2>
407
421
<h3 id="overflow-control">
408
422
Managing Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</h3>
409
423
424
+ These properties specify whether a box’s [=overflow=] is clipped,
425
+ and if so,
426
+ whether it is a [=scroll container=] .
427
+
410
428
<pre class=propdef>
411
429
Name : overflow-x, overflow-y, overflow-block, overflow-inline
412
430
Value : visible | hidden | clip | scroll | auto
@@ -418,10 +436,6 @@ Managing Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</h3
418
436
Animation type : discrete
419
437
</pre>
420
438
421
- These properties specify whether a box’s [=overflow=] is clipped,
422
- and if so,
423
- whether it is a [=scroll container=] .
424
-
425
439
The 'overflow-x' property specifies
426
440
the handling of <a>overflow</a> in the horizontal axis
427
441
(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
526
540
is neither ''overflow/visible'' nor ''overflow/clip'' nor a combination thereof,
527
541
it [=establishes an independent formatting context=] for its contents.
528
542
543
+ <h4 id="scroll-visibility">
544
+ Interaction of 'visibility' and 'overflow'</h4>
545
+
529
546
If the computed value of the 'visibility' property is ''visibility/hidden''
530
547
(or ''visibility/collapse'' when it has the same effect as ''visibility/hidden'' ),
531
548
and 'overflow' is either ''overflow/scroll'' or ''overflow/auto'' ,
@@ -543,22 +560,8 @@ Managing Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</h3
543
560
with a descendent of the ''visibility: hidden'' [=scroll container=]
544
561
that is itself set to ''visibility: visible'' .
545
562
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>
562
565
563
566
<p class="advisement">
564
567
Since scrolling is not possible in static media
0 commit comments