Skip to content

Commit 1057a8d

Browse files
committed
[css-anchor-position] Make anchor-size usable in the other accepted @position-try properties. #9827
1 parent cc0ecf8 commit 1057a8d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

css-anchor-position-1/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1317,7 +1317,7 @@ The ''anchor-size()'' Function {#anchor-size-fn}
13171317
------------------------------
13181318

13191319
<pre class="propdef partial">
1320-
Name: width, height, min-width, min-height, max-width, max-height
1320+
Name: width, height, min-width, min-height, max-width, max-height, top, left, right, bottom, margin-top, margin-left, margin-right, margin-bottom
13211321
New values: <<anchor-size()>>
13221322
</pre>
13231323

@@ -1372,8 +1372,9 @@ An ''anchor-size()'' function is a
13721372
<dfn lt="valid anchor-size function|invalid anchor-size function">valid anchor-size function</dfn>
13731373
only if all the following conditions are true:
13741374

1375-
* It's being used in a [=sizing property=]
1375+
* It's being used in a [=sizing property=], an [=inset property=], or a [=margin property=]
13761376
on an [=absolutely-positioned=] element.
1377+
<span class=note>(These are the [=accepted @position-try properties=] that allow lengths.)</span>
13771378
* There is a [=target anchor element=]
13781379
for the element it's used on,
13791380
and the <<anchor-element>> value specified in the function.

0 commit comments

Comments
 (0)