Skip to content

Commit cf46ecc

Browse files
committed
[css-overflow-3] Tighten up definition of overflow-clip-margin
1 parent 2a9a1ca commit cf46ecc

1 file changed

Lines changed: 9 additions & 12 deletions

File tree

css-overflow-3/Overview.bs

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ Scrolling Origin, Direction, and Restriction</h3>
503503
The viewport uses the <a>principal writing mode</a> for these calculations.
504504

505505
<h3 id="overflow-clip-margin">
506-
Expanding ''overflow:clip'' Bounds: the 'overflow-clip-margin' property</h3>
506+
Expanding Clipping Bounds: the 'overflow-clip-margin' property</h3>
507507

508508
<pre class=propdef>
509509
Name: overflow-clip-margin
@@ -514,17 +514,14 @@ Expanding ''overflow:clip'' Bounds: the 'overflow-clip-margin' property</h3>
514514
Computed value: the computed <<length>>
515515
</pre>
516516

517-
Unlike the scrollable 'overflow' values,
518-
which have various additional effects on an element
519-
to make it a scroll container,
520-
''overflow: clip'' solely has the effect
521-
of preventing an element from painting outside its bounds.
522-
The 'overflow-clip-margin' property
523-
determines precisely <em>how far</em> outside its bounds
524-
the element is allowed to paint
525-
before being clipped.
526-
527-
The <dfn export>overflow clip edge</dfn> initially coincides with the [=padding edge=],
517+
This property defines the <dfn export>overflow clip edge</dfn> of the box,
518+
i.e. precisely <em>how far</em> outside its bounds
519+
the box’s content is allowed to paint
520+
before being clipped
521+
by effects (such as ''overflow: clip'')
522+
that are defined to clip to the box’s [=overflow clip edge=].
523+
524+
The [=overflow clip edge=] initially coincides with the [=padding edge=],
528525
but can be expanded outwards by 'overflow-clip-margin',
529526
as defined below.
530527

0 commit comments

Comments
 (0)