You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Computed value: For ''position: relative'', see Relative positioning.<br/> For ''position: sticky'', see Sticky positioning.<br/> For ''position: static'', ''top/auto''.<br/> Otherwise: if specified as a <<length>>, the corresponding absolute length; if specified as a <<percentage>>, the specified value; otherwise, ''top/auto''.
1005
1005
</pre>
1006
1006
1007
-
For an absolutely positioned box this property specifies how far the coresponding
1008
-
margin edge is offset from the coresponding physical reference edge of the box’s
1007
+
For an absolutely positioned box this property specifies how far the corresponding
1008
+
margin edge is offset from the corresponding physical reference edge of the box’s
1009
1009
<a>containing block</a>.
1010
1010
1011
1011
The partiucular physical reference edge that is used when offsetting is based
rectangle</em>, the stickily positioned element is moved left until it is fully
813
813
contained in the <em>sticky-constraint rectangle</em>.
814
814
</ol>
815
-
<p>When computing containement of the stickily positioned element within its
815
+
<p>When computing containment of the stickily positioned element within its
816
816
containing block, margins on the stickily positioned element are taken into
817
817
account.</p>
818
818
<pclass="issue" id="issue-09e98f99"><aclass="self-link" href="#issue-09e98f99"></a> Say what happens if it already overflows the containing block </p>
819
-
<pclass="issue" id="issue-e6070342"><aclass="self-link" href="#issue-e6070342"></a> Do marins collapse between the stickily positioned element and its containing
819
+
<pclass="issue" id="issue-e6070342"><aclass="self-link" href="#issue-e6070342"></a> Do margins collapse between the stickily positioned element and its containing
820
820
block element? </p>
821
821
<p>Intersection between the stickily positioned element and the bottom of the <em>sticky-constraint rectangle</em> limits movement in any direction, so the
822
822
offset never pushes the stickily positioned element outside of its containing
<p>Logical offset properties allow for offseting positioned boxes based on the <aclass="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-writing-mode">writing-mode</a> and <aclass="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-direction">direction</a> properties. When both the physical property and
1213
1213
equivalent logical property (based on <aclass="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-writing-mode">writing-mode</a> and <aclass="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-direction">direction</a>) are
1214
-
specified the physical property computes to the computed value of the coresponding
1214
+
specified the physical property computes to the computed value of the corresponding
1215
1215
logical property.</p>
1216
1216
<p>Positioned elements generate positioned boxes, and may be laid out according to
1217
1217
the following four logical properties taking into account the <aclass="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-writing-mode">writing-mode</a> and <aclass="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-direction">direction</a> of the <adata-link-type="dfn" href="#containing-block" id="ref-for-containing-block-26">containing block</a>:</p>
<p>For an absolutely positioned box this property specifies how far the coresponding
1249
-
margin edge is offset from the coresponding physical reference edge of the box’s <adata-link-type="dfn" href="#containing-block" id="ref-for-containing-block-28">containing block</a>.</p>
1248
+
<p>For an absolutely positioned box this property specifies how far the corresponding
1249
+
margin edge is offset from the corresponding physical reference edge of the box’s <adata-link-type="dfn" href="#containing-block" id="ref-for-containing-block-28">containing block</a>.</p>
1250
1250
<p>The partiucular physical reference edge that is used when offsetting is based
1251
1251
on the <aclass="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-writing-mode">writing-mode</a> and <aclass="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-direction">direction</a> properties.</p>
1252
1252
<p>The combination of the <aclass="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-writing-mode">writing-mode</a> and <aclass="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-direction">direction</a> properties determine the
<pclass="issue" id="issue-f0660eeb"><aclass="self-link" href="#issue-f0660eeb"></a>The logical property definitions should move to the Logical Properties module.</p>
1307
1307
<p>For relatively positioned boxes, the offset is with respect to the property’s
1308
-
coresponding physical reference edge of the box itself (i.e., the box is given a
1308
+
corresponding physical reference edge of the box itself (i.e., the box is given a
1309
1309
position in the <adata-link-type="dfn" href="#normal-flow" id="ref-for-normal-flow-19">normal flow</a>, and then offset from that position according
1310
1310
to the property).</p>
1311
1311
<pclass="issue" id="issue-40a62b16"><aclass="self-link" href="#issue-40a62b16"></a>This needs to be defined for sticky positioning.</p>
1312
-
<p>For absolutely positioned elements whose <adata-link-type="dfn" href="#containing-block" id="ref-for-containing-block-29">containing block</a> is based on a block-level element, this property is an offset from the coresponding
1312
+
<p>For absolutely positioned elements whose <adata-link-type="dfn" href="#containing-block" id="ref-for-containing-block-29">containing block</a> is based on a block-level element, this property is an offset from the corresponding
1313
1313
padding edge of that element.</p>
1314
1314
<pclass="note" role="note"> Note, for fixed positioned elements using large values or
1315
1315
negative values may easily move elements outside the <adata-link-type="dfn" href="#viewport" id="ref-for-viewport-7">viewport</a> and make the
0 commit comments