Skip to content

Commit 85c0252

Browse files
committed
[css-anchor-position-1] Clarify timing of anchors-visible checks. #12732
1 parent ad62d11 commit 85c0252

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

css-anchor-position-1/Overview.bs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2226,11 +2226,11 @@ depending on some commonly needed layout conditions.
22262226
'overflow', or other effects (such as [=paint containment=])
22272227
that clip to the [=overflow clip edge=].
22282228

2229-
ISSUE(12732): Define timing of visibility checks.
2230-
<!--
22312229
Whether or not |anchor| is [=clipped by intervening boxes=]
2232-
is determined immediately prior to triggering {{ResizeObserver}}s.
2233-
-->
2230+
must be checked after [=updating content relevancy for a document=]
2231+
(see 'content-visibility' in [[css-contain-2]])
2232+
and before running any {{IntersectionObserver}},
2233+
and may also be checked at other times to improve responsiveness.
22342234

22352235
Note: This means that if an abspos is next to its anchor in the DOM,
22362236
for example,
@@ -2633,7 +2633,8 @@ Significant changes since the <a href="https://www.w3.org/TR/2025/WD-css-anchor-
26332633
(<a href="https://github.com/w3c/csswg-drafts/issues/12952">Issue 12952</a>)
26342634
* Clarify that ''flip-block'', ''flip-inline'', and ''flip-start'' use the [=writing mode=] of the [=containing block=].
26352635
(<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''.
2636+
* Add 'clip-path' to the list of clipping effects considered for ''anchors-visible''
2637+
and clarify the timing of its checks.
26372638
(<a href="https://github.com/w3c/csswg-drafts/issues/12732">Issue 12732</a>)
26382639
* Fix error where base styles were accidentally left out of the [=position options list=].
26392640
(<a href="https://github.com/w3c/csswg-drafts/issues/12890">Issue 12890</a>)

0 commit comments

Comments
 (0)