Skip to content

Commit 3063906

Browse files
committed
[css-anchor-position-1] Depluralize anchors-* in 'position-visibility' and only check default anchor #10201
1 parent d2e8771 commit 3063906

1 file changed

Lines changed: 15 additions & 16 deletions

File tree

css-anchor-position-1/Overview.bs

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2219,8 +2219,8 @@ Conditional Hiding: the 'position-visibility' property {#position-visibility}
22192219

22202220
<pre class=propdef>
22212221
Name: position-visibility
2222-
Value: always | [ anchors-valid || anchors-visible || no-overflow ]
2223-
Initial: anchors-visible
2222+
Value: always | [ anchor-valid || anchor-visible || no-overflow ]
2223+
Initial: anchor-visible
22242224
Applies to: [=absolutely positioned boxes=]
22252225
Percentages: n/a
22262226
Inherited: no
@@ -2239,23 +2239,14 @@ depending on some commonly needed layout conditions.
22392239
(The box is displayed without regard for its anchors
22402240
or its overflowing status.)
22412241

2242-
: <dfn>anchors-valid</dfn>
2242+
: <dfn>anchor-valid</dfn>
22432243
::
2244-
If any of the box's [=required anchor references=]
2245-
do not resolve to a [=target anchor element=],
2244+
If the box references the [=default anchor box=]
2245+
(e.g. using 'position-area', 'anchor()' or 'anchor-size()' functions, or ''anchor-center''),
2246+
but the [=default anchor box=] cannot be resolved,
22462247
the box's 'visibility' property computes to ''force-hidden''.
22472248

2248-
Issue: What is a <dfn dfn for>required anchor reference</dfn>?
2249-
''anchor()'' functions that don't have a fallback value;
2250-
the default anchor *sometimes*?
2251-
Need more detail here.
2252-
2253-
Issue: <em>Any</em> anchors are missing,
2254-
or <em>all</em> anchors are missing?
2255-
I can see use-cases for either, potentially.
2256-
Do we want to make a decision here, or make it controllable somehow?
2257-
2258-
: <dfn>anchors-visible</dfn>
2249+
: <dfn>anchor-visible</dfn>
22592250
::
22602251
If the box has a [=default anchor box=]
22612252
but that [=anchor box=] is [=invisible=] or [=clipped by intervening boxes=],
@@ -2704,6 +2695,14 @@ No Privacy issues have been raised against this document.
27042695
Changes {#changes}
27052696
=======
27062697

2698+
Significant changes since the <a href="https://www.w3.org/TR/2026/WD-css-anchor-position-1-20260327/">27 March 2026 Working Draft</a>:
2699+
* Defined ''position-visibility/anchor-valid'' to (like ''position-visibility/anchor-valid'') only check the [=default anchor box=].
2700+
(<a href="https://github.com/w3c/csswg-drafts/issues/10201">Issue 10201</a>)
2701+
* Renamed <css>anchors-valid</css> and <css>anchors-visible</css>
2702+
to ''position-visibility/anchor-valid'' and ''position-visibility/anchor-visible''
2703+
since they only reference the [=default anchor box=].
2704+
(<a href="https://github.com/w3c/csswg-drafts/issues/10201">Issue 10201</a>)
2705+
27072706
Significant changes since the <a href="https://www.w3.org/TR/2026/WD-css-anchor-position-1-20260130/">30 January 2026 Working Draft</a>:
27082707
* Added ''position-area/match-parent'' value to 'position-area'.
27092708
(<a href="https://github.com/w3c/csswg-drafts/issues/8913">Issue 8913</a>)

0 commit comments

Comments
 (0)