@@ -707,6 +707,7 @@ Absolute (and Fixed) Positioning</h3>
707707 it is set to zero.
708708 If both [=inset properties=] in a given axis are ''top/auto'' , then,
709709 depending on the box’s [=self-alignment property=] in the relevant axis:
710+
710711 <dl class=switch>
711712 <dt> for ''align-self/self-start'' alignment or its equivalent
712713 <dd>
@@ -887,19 +888,28 @@ Automatic Sizes of Absolutely-Positioned Boxes</h3>
887888 The [=automatic size=] of an [=absolutely positioned box=] is resolved against its [=inset-modified containing block=] as follows
888889 (treating ''margin/auto'' [=margins=] as zero):
889890
890- * If its [=self-alignment property=] in the relevant axis is ''align-self/stretch'' ,
891- or if it is ''align-self/normal'' and the box is [=non-replaced=] ,
892- its [=automatic size=] is its [=stretch-fit size=] .
893-
894- * If its [=self-alignment property=] in the relevant axis is not ''align-self/stretch'' ,
895- or if it is ''align-self/normal'' and the box is [=replaced=] ,
896- its [=automatic size=] is its [=fit-content size=] .
891+ <dl class=switch>
892+ : If its [=self-alignment property=] in the relevant axis is ''align-self/stretch''
893+ : If it is ''align-self/normal''
894+ and the box is [=non-replaced=]
895+ and has no ''inset/auto'' [=inset property|inset=] in the relevant axis
896+ ::
897+ Its [=automatic size=] is its [=stretch-fit size=] .
898+
899+ : If its [=self-alignment property=] in the relevant axis is not ''align-self/stretch''
900+ : If it is ''align-self/normal''
901+ and the box is [=replaced=]
902+ : If it is ''align-self/normal''
903+ and has at least one ''inset/auto'' [=inset property|inset=] in the relevant axis,
904+ ::
905+ Its [=automatic size=] is its [=fit-content size=] .
906+ </dl>
897907
898908 However, if the box has an aspect-ratio,
899909 then an [=automatic size=] in the [=ratio-dependent axis=]
900910 is instead resolved as a [=max-content size=] .
901911 When both axes have an [=automatic size=] ,
902- if only one axis has an ''inset/auto'' inset
912+ if only one axis has an ''inset/auto'' [= inset property|inset=]
903913 then that axis is the [=ratio-dependent axis=] ,
904914 else the [=block axis=] is the [=ratio-dependent axis=] .
905915 An [=automatic size=] in the [=ratio-determining axis=]
0 commit comments