@@ -767,20 +767,18 @@ Absolute (and Fixed) Positioning</h3>
767767
768768
769769<h4 id="staticpos-rect">
770- Resolving Automatic Insets</h4>
770+ Resolving Automatic Insets: the “Static Position Rectangle” </h4>
771771
772772 When both [=inset properties=] in a given axis are ''left/auto'' ,
773- they are resolved in reference to the box’s
774- <dfn export lt="static-position rectangle|static position rectangle">static-position rectangle</dfn> ,
775- whose edges represent the [=static position=] of the box
776- from each side of its [=containing block=] .
777- This [=static-position rectangle=]
778- and the [=static positions=] to which it corresponds
779- are defined by the layout model
780- the box would have had if its 'position' were ''position/static''
781- (and its 'float' and 'clear' values were ''float/none'' ).
782- (Note that this may require assuming a different hypothetical value
783- for 'display' as well.)
773+ they are resolved into a <dfn>static position</dfn>
774+ by aligning the box into its <dfn>static-position rectangle</dfn> ,
775+ an [=alignment container=] derived
776+ from the [=formatting context=] the box would have participated in
777+ if it were ''position: static''
778+ (independent of its actual containing block).
779+ The [=static position=] represents
780+ an approximation of the position the box would have had
781+ if it were ''position: static'' .
784782
785783 <dl>
786784 <dt> Block Layout
@@ -826,12 +824,15 @@ Resolving Automatic Insets</h4>
826824 See the <a href="https://www.w3.org/TR/css-grid-1/#static-position">static position of a grid container child</a> in [[!CSS-GRID-1]] .
827825 </dl>
828826
829- For the purposes of calculating the [=static-position rectangle=] ,
830- the [=containing block=] of [=fixed positioned=] elements
831- is the [=initial containing block=] instead of the [=viewport=] ,
827+ Finding the [=static position=] and the [=static position rectangle=]
828+ assumes that both 'float' and 'clear' have their initial values,
829+ and can require assuming a different hypothetical value
830+ for 'display' as well.
831+ Additionally, the [=containing block=] of [=fixed positioned=] elements
832+ is assumed to be the [=initial containing block=] instead of the [=viewport=] ,
832833 and all [=scroll containers=] should be assumed
833834 to be scrolled to their [=initial scroll position=] .
834- Additionally , all ''margin/auto'' margins on the box itself
835+ Lastly , all ''margin/auto'' margins on the box itself
835836 are treated as zero.
836837
837838<h4 id="abspos-breaking" oldids="breaking">
0 commit comments