Skip to content

Commit af259e6

Browse files
committed
[css-anchor-position-1] Specify computed value of 'position-area' w3c#11828
1 parent 475c797 commit af259e6

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

css-anchor-position-1/Overview.bs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,7 @@ Initial: none
573573
Inherited: no
574574
Applies to: positioned boxes with a [=default anchor box=]
575575
Animation type: TBD
576+
Computed value: the keyword ''position-area/none'' or a pair of keywords, see [[#position-area-computed]]
576577
</pre>
577578

578579
Most common use-cases of [=anchor positioning=]
@@ -675,7 +676,7 @@ The allowed syntax of a <<position-area>> value is:
675676
]
676677
</pre>
677678

678-
The <<position-area>> value selects a region of the [=position area grid=]
679+
The <<position-area>> value selects a region of the [=position-area grid=]
679680
by specifying the rows and columns the region occupies as follows:
680681

681682
<dl dfn-type=value dfn-for="position-area, <position-area>">
@@ -740,6 +741,17 @@ otherwise, it behaves as if the given keyword was repeated.
740741
(For example, ''position-area/top'' is equivalent to ''top span-all'',
741742
but ''position-area/center'' is equivalent to ''center center''.)
742743

744+
<h4 id=position-area-computed>
745+
Computed Value and Serialization of <<position-area>></h4>
746+
747+
The [=computed value=] of a <<position-area>> value is
748+
the two keywords indicating the selected tracks in each axis,
749+
with the long (''position-area/block-start'') and short (''position-area/start'') logical keywords
750+
treated as equivalent.
751+
It serializes in the order given in the grammar (above),
752+
with the logical keywords serialized in their short forms
753+
(e.g. ''start start'' instead of ''block-start inline-start'').
754+
743755
<h4 id=position-area-alignment>
744756
Area-specific Default Alignment</h4>
745757

0 commit comments

Comments
 (0)