Skip to content

Commit 27bf819

Browse files
committed
[css-contain-2] Use the element's overflow clip edge, which is the more relevant rect for 'might be seen'. Fixes #5271
1 parent b7041e6 commit 27bf819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-contain-2/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1251,7 +1251,7 @@ Suppressing An Element's Contents Entirely: the 'content-visibility' property {#
12511251
if <strong>any</strong> of the following conditions are true:
12521252

12531253
* The element is "on-screen":
1254-
its [=paint containment box=]'s border box
1254+
its [=paint containment box=]'s [=overflow clip edge=]
12551255
intersects with the viewport,
12561256
or a user-agent defined margin around the viewport.
12571257

0 commit comments

Comments
 (0)