Skip to content

Commit

Permalink
[css-overflow-3] Wrt applying 'overflow' to replaced elements add UA …
Browse files Browse the repository at this point in the history
…stylesheet expectations and note about change from 2.1 #7058 #7144
  • Loading branch information
fantasai committed Sep 2, 2022
1 parent fcfc5a5 commit 50ef784
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions css-overflow-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,16 @@ Scrolling and Clipping Overflow: the 'overflow-x', 'overflow-y', and 'overflow'
the [=used values=]
of all computed values other than ''visible''
is ''overflow/clip''.
Host languages should define [=UA style sheet=] rules
that apply a default value of ''overflow/clip'' to such elements
and set their 'overflow-clip-margin' to ''overflow-clip-margin/content-box''.

Note: Application of 'overflow' to [=replaced elements=] was added
to allow images to paint effects outside their effective layout box;
the recommended UA style sheet rules are to effect their original behavior as a default.
See discussion in <a href="https://github.com/w3c/csswg-drafts/issues/7058">Issue 7059</a>
and <a href="https://github.com/w3c/csswg-drafts/issues/7144">Issue 7144</a>.
This is a change from <a href="https://www.w3.org/TR/CSS2/">CSS2.1</a>.

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

0 comments on commit 50ef784

Please sign in to comment.