Skip to content

Commit 50d1290

Browse files
committed
[css-contain] Move interaction with overflow-clip-margin to L2
Part of #4934
1 parent fe2a03d commit 50d1290

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

css-contain-1/Overview.bs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -733,10 +733,6 @@ Paint Containment</h3>
733733
nor does it inhibit the creation of any such mechanism through other properties,
734734
<span class=informative>such as 'overflow', 'resize', or 'text-overflow'</span>.
735735

736-
This clipping shape respects 'overflow-clip-margin',
737-
allowing an element with [=paint containment=]
738-
to still slightly overflow its normal bounds.
739-
740736
Note: The behavior is described in this paragraph is equivalent to changing
741737
''overflow-x: visible'' into ''overflow-x: clip''
742738
and

css-contain-2/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,10 @@ Paint Containment</h3>
880880
nor does it inhibit the creation of any such mechanism through other properties,
881881
<span class=informative>such as 'overflow', 'resize', or 'text-overflow'</span>.
882882

883+
This clipping shape respects 'overflow-clip-margin',
884+
allowing an element with [=paint containment=]
885+
to still slightly overflow its normal bounds.
886+
883887
Note: The behavior is described in this paragraph is equivalent to changing
884888
''overflow-x: visible'' into ''overflow-x: clip''
885889
and
@@ -1540,4 +1544,5 @@ Changes from <a href="https://www.w3.org/TR/css-contain-1/">CSS Containment Leve
15401544
</h3>
15411545

15421546
* Restored [=style containment=], which had been dropped from Level 1
1547+
* Define the interaction between [=paint containment=] and 'overflow-clip-margin'
15431548

0 commit comments

Comments
 (0)