Skip to content

Commit 2ce79a6

Browse files
committed
[css-overflow-3] Note about overflow:hidden when the ICB isn't the viewport
See #5646
1 parent 05b08f7 commit 2ce79a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

css-overflow-3/Overview.bs

+5
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,11 @@ Overflow Viewport Propagation</h3>
658658
this special handling of the HTML <{body}> element.
659659
See the [[CSS-CONTAIN-1#contain-property]] for details.
660660

661+
Note: ''overflow: hidden'' on the root element
662+
might not clip everything outside the [=Initial Containing Block=]
663+
if the ICB is smaller than the viewport,
664+
which can happen on mobile.
665+
661666
If ''overflow/visible'' is applied to the viewport,
662667
it must be interpreted as ''overflow/auto''.
663668
If ''overflow/clip'' is applied to the viewport,

0 commit comments

Comments
 (0)