Skip to content

Commit 50ef784

Browse files
committed
[css-overflow-3] Wrt applying 'overflow' to replaced elements add UA stylesheet expectations and note about change from 2.1 w3c#7058 w3c#7144
1 parent fcfc5a5 commit 50ef784

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

css-overflow-3/Overview.bs

+10
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,16 @@ Scrolling and Clipping Overflow: the 'overflow-x', 'overflow-y', and 'overflow'
478478
the [=used values=]
479479
of all computed values other than ''visible''
480480
is ''overflow/clip''.
481+
Host languages should define [=UA style sheet=] rules
482+
that apply a default value of ''overflow/clip'' to such elements
483+
and set their 'overflow-clip-margin' to ''overflow-clip-margin/content-box''.
484+
485+
Note: Application of 'overflow' to [=replaced elements=] was added
486+
to allow images to paint effects outside their effective layout box;
487+
the recommended UA style sheet rules are to effect their original behavior as a default.
488+
See discussion in <a href="https://github.com/w3c/csswg-drafts/issues/7058">Issue 7059</a>
489+
and <a href="https://github.com/w3c/csswg-drafts/issues/7144">Issue 7144</a>.
490+
This is a change from <a href="https://www.w3.org/TR/CSS2/">CSS2.1</a>.
481491

482492
<h3 id="static-media">
483493
Overflow in Print and Other Static Media</h3>

0 commit comments

Comments
 (0)