Skip to content

Commit 0e10677

Browse files
committed
[css-anchor-position] Add propdef table for anchor() and anchor-size() so they show up in webref. #10764
1 parent fe8e40d commit 0e10677

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

css-anchor-position-1/Overview.bs

+10
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,11 @@ to refer to the position of one or more [=anchor elements=].
785785
The ''anchor()'' function resolves to a <<length>>.
786786
It is only valid to be used in the [=inset properties=].
787787

788+
<pre class="propdef partial">
789+
Name: top, left, right, bottom, inset-block-start, inset-block-end, inset-inline-start, inset-inline-end
790+
New values: <<anchor()>>
791+
</pre>
792+
788793
<pre class=prod>
789794
&lt;anchor()> = anchor( <<anchor-element>>? && <<anchor-side>>, <<length-percentage>>? )
790795
<dfn><<anchor-element>></dfn> = <<dashed-ident>>
@@ -1311,6 +1316,11 @@ It is only valid to be used in the [=sizing properties=].
13111316
The ''anchor-size()'' Function {#anchor-size-fn}
13121317
------------------------------
13131318

1319+
<pre class="propdef partial">
1320+
Name: width, height, inline-size, block-size, min-width, min-height, min-inline-size, min-block-size, max-width, max-height, max-inline-size, max-block-size
1321+
New values: <<anchor-size()>>
1322+
</pre>
1323+
13141324
<pre class=prod>
13151325
anchor-size() = anchor-size( [ <<anchor-element>> || <<anchor-size>> ]? , <<length-percentage>>? )
13161326
<dfn><<anchor-size>></dfn> = width | height | block | inline | self-block | self-inline

0 commit comments

Comments
 (0)