File tree 1 file changed +6
-12
lines changed
1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -780,20 +780,14 @@ makes this case extremely simple:
780
780
if the positioned element has a [=default anchor element=] ,
781
781
then it is aligned so as to center itself
782
782
over the [=default anchor element=]
783
- in the appropriate axis.
783
+ in the relevant axis.
784
784
785
785
Additionally,
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=] .
797
791
798
792
If the element is not [=absolutely positioned=] ,
799
793
or does not have a [=default anchor element=] ,
You can’t perform that action at this time.
0 commit comments