@@ -559,25 +559,53 @@ Its syntax is:
559559 or is not an [=absolutely-positioned=] element,
560560 this value has no effect.
561561
562- Otherwise, the property selects a region of the [=inset-area grid=] ,
563- and makes that the element's [=containing block=] .
562+ Otherwise, it has the following effects:
564563
565- Note: This means that the [=inset properties=] specify offsets from the inset-area,
566- and some property values,
567- like ''max-height: 100%'' ,
568- will be relative to the inset-area as well.
564+ * The property selects a region of the [=inset-area grid=] ,
565+ and makes that the element's [=containing block=] .
566+ See [[#resolving-spans]] for details.
569567
570- Additionally, the ''align-self/normal'' value for the [=self-alignment properties=]
571- behaves as either ''align-self/start'' , ''align-self/end'' ,
572- or ''align-self/anchor-center'' ,
573- depending on the positioning of the region,
574- to give a good default alignment for the positioned element.
568+ Note: This means that the [=inset properties=] specify offsets from the inset-area,
569+ and some property values,
570+ like ''max-height: 100%'' ,
571+ will be relative to the inset-area as well.
575572
576- See [[#resolving-spans]] for details on both of these effects.
573+ * The ''align-self/normal'' value for the [=self-alignment properties=]
574+ behaves as either ''align-self/start'' , ''align-self/end'' ,
575+ or ''align-self/anchor-center'' ,
576+ depending on the positioning of the region,
577+ to give a good default alignment for the positioned element.
578+ Again, see [[#resolving-spans]] for details.
577579
578- Also, any ''top/auto'' [=inset properties=] resolve to ''0'' .
580+ * Any ''top/auto'' [=inset properties=] resolve to ''0'' .
581+
582+ * The element is not considered to be in a [=legacy alignment mode=]
583+ in either axis.
579584</dl>
580585
586+ <div class=note>
587+ If the element overflows its 'inset-area' (and 'inset' ) -modified [=containing block=] ,
588+ but would still fit within its [=original containing block=] ,
589+ by default it will "shift" to stay within its [=original containing block=] ,
590+ even if that violates its normal alignment.
591+ See [[css-align-3#overflow-values]] for details.
592+
593+ This behavior makes it more likely
594+ that positioned elements remain visible
595+ and within their intended bounds,
596+ even when their [=containing block=]
597+ ends up smaller than anticipated.
598+
599+ For example, an ''inset-area: bottom span-right'' value
600+ lets the positioned element stretch
601+ from its anchors left edge
602+ to its containing block's right edge,
603+ and left-aligns it in that space by default.
604+ But if the positioned element is larger than that space
605+ (such as if the anchor is very close to the right edge of the screen),
606+ it will shift leftwards to stay visible.
607+ </di>
608+
581609
582610<h4 id=resolving-spans>
583611Resolving <<inset-area>>s</h4>
@@ -918,18 +946,20 @@ in the relevant axis.
918946
919947Additionally,
920948any ''top/auto'' [=inset properties=] resolve to ''0'' .
921- However, the [=available space=] for the positioned element in the relevant axis
922- is reduced to the size of the largest rectangle
923- that is centered on the [=default anchor element=]
924- and doesn't overflow the [=inset-modified containing block=] .
925- (Possibly being zero-sized,
926- if the anchor's center is not within the [=inset-modified containing block=] .)
927949
928950If the element is not [=absolutely positioned=] ,
929951or does not have a [=default anchor element=] ,
930952this value behaves as ''<self-position>/center''
931953and has no additional effect on how [=inset properties=] resolve.
932954
955+ Note: Similar to 'inset-area' ,
956+ when using ''anchor-center'' ,
957+ if the anchor is too close to the edge of the element's
958+ [=original containing block=] ,
959+ by default it will "shift" from being purely centered,
960+ to instead remain within the [=original containing block=] .
961+ See [[css-align-3#overflow-values]] for more details.
962+
933963
934964<!-- Big Text: scroll
935965
0 commit comments