Skip to content

Commit 7f97e06

Browse files
committed
[css-anchor-position-1] Add clip-path to anchors-visible check and tie to IntersectionObserver w3c#12732
1 parent e7dcecf commit 7f97e06

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

css-anchor-position-1/Overview.bs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2220,8 +2220,10 @@ depending on some commonly needed layout conditions.
22202220
is fully clipped by a box
22212221
which is an ancestor of |anchor|
22222222
but a descendant of |abspos|'s containing block.
2223-
Clipping in this case refers only to clipping due to 'overflow',
2224-
or other effects (such as [=paint containment=])
2223+
Clipping in this case refers only to the same clipping effects
2224+
that are (by default) checked by {{IntersectionObserver}},
2225+
i.e. clipping due to 'clip-path',
2226+
'overflow', or other effects (such as [=paint containment=])
22252227
that clip to the [=overflow clip edge=].
22262228

22272229
ISSUE(12732): Define timing of visibility checks.
@@ -2631,5 +2633,7 @@ Significant changes since the <a href="https://www.w3.org/TR/2025/WD-css-anchor-
26312633
(<a href="https://github.com/w3c/csswg-drafts/issues/12952">Issue 12952</a>)
26322634
* Clarify that ''flip-block'', ''flip-inline'', and ''flip-start'' use the [=writing mode=] of the [=containing block=].
26332635
(<a href="https://github.com/w3c/csswg-drafts/issues/12869">Issue 12869</a>)
2636+
* Add 'clip-path' to the list of clipping effects considered for ''anchors-visible''.
2637+
(<a href="https://github.com/w3c/csswg-drafts/issues/12732">Issue 12732</a>)
26342638

26352639
See also <a href="https://www.w3.org/TR/2025/WD-css-anchor-position-1-20251007/#changes">Previous Changes</a>.

0 commit comments

Comments
 (0)