@@ -484,7 +484,7 @@ Managing Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</h3
484484 <dt> <dfn>hidden</dfn>
485485 <dd>
486486 This value indicates that
487- the box’s content is clipped to its [=padding box =]
487+ the box’s content is clipped to its [=overflow clip edge =]
488488 and that the UA must not provide any scrolling user interface
489489 to view the content outside the clipping region,
490490 nor allow scrolling by direct intervention of the user,
@@ -510,12 +510,12 @@ Managing Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</h3
510510 the element to establish a new formatting context.
511511
512512 Note: Authors who also want the box to establish a formatting context
513- may use ''display: flow-root'' together with ''overflow: clip'' .
513+ can use ''display: flow-root'' together with ''overflow: clip'' .
514514
515515 <dt> <dfn>scroll</dfn>
516516 <dd>
517517 This value indicates that
518- the content is clipped to the [=padding box =] ,
518+ the content is clipped to the [=overflow clip edge =] ,
519519 but can be scrolled into view
520520 (and therefore the box is a <a>scroll container</a> ).
521521 Furthermore, if the user agent uses a scrolling mechanism
@@ -623,7 +623,7 @@ Expanding Clipping Bounds: the 'overflow-clip-margin' property</h3>
623623
624624 <pre class=propdef>
625625 Name : overflow-clip-margin
626- Value : <<visual-box>> || <<length [0,∞] >>
626+ Value : <<visual-box>> || <<length>>
627627 Initial : ''0px''
628628 Inherited : no
629629 Applies to : boxes to which 'overflow' applies
@@ -632,10 +632,8 @@ Expanding Clipping Bounds: the 'overflow-clip-margin' property</h3>
632632 </pre>
633633
634634 This property defines the <dfn export>overflow clip edge</dfn> of the box,
635- i.e. precisely <em> how far</em> outside its bounds
636- the box’s content is allowed to paint
637- before being clipped
638- by effects (such as ''overflow: clip'' , above)
635+ i.e. precisely where the box's content is allowed to paint
636+ before being clipped by effects (such as ''overflow: clip'' , above)
639637 that are defined to clip to the box’s [=overflow clip edge=] .
640638
641639 Values are defined as follows:
@@ -649,12 +647,12 @@ Expanding Clipping Bounds: the 'overflow-clip-margin' property</h3>
649647 If omitted,
650648 defaults to ''overflow-clip-margin/padding-box'' .
651649
652- : <dfn><<length [0,∞] >></dfn>
650+ : <dfn><<length>></dfn>
653651 ::
654652 The specified offset dictates
655653 how much the [=overflow clip edge=] is expanded from
656- the specified box edge
657- Negative values are invalid .
654+ the specified box edge.
655+ Negative values indicate insets, instead .
658656 Defaults to zero if omitted.
659657 </dl>
660658
@@ -666,9 +664,14 @@ Expanding Clipping Bounds: the 'overflow-clip-margin' property</h3>
666664 and [[css-backgrounds-3#shadow-shape]] ,
667665 noting in particular the formula for outsets beyond the [=border edge=] .
668666
669- Note: This property has no effect on boxes
670- with ''overflow: hidden'' or ''overflow: scroll'' ,
671- which are not defined to use the [=overflow clip edge=] .
667+ If the box is a [=scroll container=] ,
668+ the [=overflow clip edge=] is clamped to stay within the element's [=padding box=] .
669+ (This does not affect the [=computed value|computed=] or [=used value=] of this property.)
670+
671+ Note: This property was previously defined to only affect ''overflow: clip'' .
672+ It now also affects [=scroll containers=] ,
673+ but only to shrink the clipping edge.
674+
672675
673676<h3 id="overflow-propagation">
674677Overflow Viewport Propagation</h3>
0 commit comments