File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1244,7 +1244,7 @@ The ''anchor-size()'' Function {#anchor-size-fn}
12441244------------------------------
12451245
12461246<pre class=prod>
1247- anchor-size() = anchor-size( <<anchor-element>> ? && <<anchor-size>> , <<length-percentage>> ? )
1247+ anchor-size() = anchor-size( [ <<anchor-element>> || <<anchor-size>> ]? , <<length-percentage>> ? )
12481248<dfn><<anchor-size>></dfn> = width | height | block | inline | self-block | self-inline
12491249</pre>
12501250
@@ -1273,6 +1273,12 @@ according to either the [=writing mode=] of the element
12731273or the [=writing mode=] of the element's [=containing block=]
12741274(for ''anchor-size()/block'' and ''anchor-size()/inline'' ).
12751275
1276+ If the <<anchor-size>> keyword is omitted,
1277+ it defaults to behaving as whatever keyword
1278+ matches the axis of the property that ''anchor-size()'' is used in.
1279+ (For example, ''width: anchor-size()''
1280+ is equivalent to ''width: anchor-size(width)'' .)
1281+
12761282An ''anchor-size()'' function representing a [=valid anchor-size function=]
12771283resolves at [=computed value=] time
12781284(via [=style & layout interleaving=] )
You can’t perform that action at this time.
0 commit comments