File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -780,20 +780,14 @@ makes this case extremely simple:
780780if the positioned element has a [=default anchor element=] ,
781781then it is aligned so as to center itself
782782over the [=default anchor element=]
783- in the appropriate axis.
783+ in the relevant axis.
784784
785785Additionally,
786- if both [=inset properties=] in the appropriate axis are ''top/auto'' ,
787- they resolve to the offsets necessary
788- to create the largest rectangle possible
789- that is centered over the [=default anchor element=]
790- and does not overflow the [=containing block=] .
791- If only one [=inset property=] is ''top/auto'' ,
792- it resolves to ''0'' .
793-
794- Issue: See <a href="https://github.com/w3c/csswg-drafts/issues/9124">Issue 9124</a>
795- about making this the behavior in general
796- for non-''justify-self/auto'' alignment values.
786+ any ''top/auto'' [=inset properties=] resolve to ''0'' .
787+ However, the [=available space=] for the positioned element in the relevant axis
788+ is reduced to the size of the largest rectangle
789+ that is centered on the [=default anchor element=]
790+ and doesn't overflow the [=inset-modified containing block=] .
797791
798792If the element is not [=absolutely positioned=] ,
799793or does not have a [=default anchor element=] ,
You can’t perform that action at this time.
0 commit comments