Skip to content

Commit 5f8d82d

Browse files
committed
[css-position] typo/spelling corrections
1 parent f7e5f9d commit 5f8d82d

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

css-position/Overview.bs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -570,15 +570,15 @@ Sticky positioning</h3>
570570
contained in the <em>sticky-constraint rectangle</em>.
571571
</ol>
572572

573-
When computing containement of the stickily positioned element within its
573+
When computing containment of the stickily positioned element within its
574574
containing block, margins on the stickily positioned element are taken into
575575
account.
576576

577577
<p class="issue">
578578
Say what happens if it already overflows the containing block
579579
</p>
580580
<p class="issue">
581-
Do marins collapse between the stickily positioned element and its containing
581+
Do margins collapse between the stickily positioned element and its containing
582582
block element?
583583
</p>
584584

@@ -985,7 +985,7 @@ Logical box offsets: 'offset-before', 'offset-end', 'offset-after' and 'offset-s
985985
Logical offset properties allow for offseting positioned boxes based on the
986986
'writing-mode' and 'direction' properties. When both the physical property and
987987
equivalent logical property (based on 'writing-mode' and 'direction') are
988-
specified the physical property computes to the computed value of the coresponding
988+
specified the physical property computes to the computed value of the corresponding
989989
logical property.
990990

991991
Positioned elements generate positioned boxes, and may be laid out according to
@@ -1004,8 +1004,8 @@ Logical box offsets: 'offset-before', 'offset-end', 'offset-after' and 'offset-s
10041004
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''.
10051005
</pre>
10061006

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
10091009
<a>containing block</a>.
10101010

10111011
The partiucular physical reference edge that is used when offsetting is based
@@ -1082,14 +1082,14 @@ Logical box offsets: 'offset-before', 'offset-end', 'offset-after' and 'offset-s
10821082
<p class="issue">The logical property definitions should move to the Logical Properties module.</p>
10831083

10841084
For relatively positioned boxes, the offset is with respect to the property’s
1085-
coresponding physical reference edge of the box itself (i.e., the box is given a
1085+
corresponding physical reference edge of the box itself (i.e., the box is given a
10861086
position in the <a>normal flow</a>, and then offset from that position according
10871087
to the property).
10881088

10891089
<p class="issue">This needs to be defined for sticky positioning.</p>
10901090

10911091
For absolutely positioned elements whose <a>containing block</a>
1092-
is based on a block-level element, this property is an offset from the coresponding
1092+
is based on a block-level element, this property is an offset from the corresponding
10931093
padding edge of that element.
10941094

10951095
<p class="note">

css-position/Overview.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -812,11 +812,11 @@ <h3 class="heading settled" data-level="6.2" id="sticky-pos"><span class="secno"
812812
rectangle</em>, the stickily positioned element is moved left until it is fully
813813
contained in the <em>sticky-constraint rectangle</em>.
814814
</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
816816
containing block, margins on the stickily positioned element are taken into
817817
account.</p>
818818
<p class="issue" id="issue-09e98f99"><a class="self-link" href="#issue-09e98f99"></a> Say what happens if it already overflows the containing block </p>
819-
<p class="issue" id="issue-e6070342"><a class="self-link" href="#issue-e6070342"></a> Do marins collapse between the stickily positioned element and its containing
819+
<p class="issue" id="issue-e6070342"><a class="self-link" href="#issue-e6070342"></a> Do margins collapse between the stickily positioned element and its containing
820820
block element? </p>
821821
<p>Intersection between the stickily positioned element and the bottom of the <em>sticky-constraint rectangle</em> limits movement in any direction, so the
822822
offset never pushes the stickily positioned element outside of its containing
@@ -1211,7 +1211,7 @@ <h3 class="heading settled" data-level="6.6" id="box-offsets-trbl"><span class="
12111211
<h3 class="heading settled" data-level="6.7" id="logical-box-offsets-beaso"><span class="secno">6.7. </span><span class="content"> Logical box offsets: <a class="property" data-link-type="propdesc" href="#propdef-offset-before" id="ref-for-propdef-offset-before-1">offset-before</a>, <a class="property" data-link-type="propdesc" href="#propdef-offset-end" id="ref-for-propdef-offset-end-1">offset-end</a>, <a class="property" data-link-type="propdesc" href="#propdef-offset-after" id="ref-for-propdef-offset-after-1">offset-after</a> and <a class="property" data-link-type="propdesc" href="#propdef-offset-start" id="ref-for-propdef-offset-start-1">offset-start</a></span><a class="self-link" href="#logical-box-offsets-beaso"></a></h3>
12121212
<p>Logical offset properties allow for offseting positioned boxes based on the <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-writing-mode">writing-mode</a> and <a class="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
12131213
equivalent logical property (based on <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-writing-mode">writing-mode</a> and <a class="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
12151215
logical property.</p>
12161216
<p>Positioned elements generate positioned boxes, and may be laid out according to
12171217
the following four logical properties taking into account the <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-writing-mode">writing-mode</a> and <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-direction">direction</a> of the <a data-link-type="dfn" href="#containing-block" id="ref-for-containing-block-26">containing block</a>:</p>
@@ -1245,8 +1245,8 @@ <h3 class="heading settled" data-level="6.7" id="logical-box-offsets-beaso"><spa
12451245
<th>Animatable:
12461246
<td>&lt;length>, &lt;percentage>
12471247
</table>
1248-
<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 <a data-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 <a data-link-type="dfn" href="#containing-block" id="ref-for-containing-block-28">containing block</a>.</p>
12501250
<p>The partiucular physical reference edge that is used when offsetting is based
12511251
on the <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-writing-mode">writing-mode</a> and <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-direction">direction</a> properties.</p>
12521252
<p>The combination of the <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-writing-mode">writing-mode</a> and <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-direction">direction</a> properties determine the
@@ -1305,11 +1305,11 @@ <h3 class="heading settled" data-level="6.7" id="logical-box-offsets-beaso"><spa
13051305
</div>
13061306
<p class="issue" id="issue-f0660eeb"><a class="self-link" href="#issue-f0660eeb"></a>The logical property definitions should move to the Logical Properties module.</p>
13071307
<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
13091309
position in the <a data-link-type="dfn" href="#normal-flow" id="ref-for-normal-flow-19">normal flow</a>, and then offset from that position according
13101310
to the property).</p>
13111311
<p class="issue" id="issue-40a62b16"><a class="self-link" href="#issue-40a62b16"></a>This needs to be defined for sticky positioning.</p>
1312-
<p>For absolutely positioned elements whose <a data-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 <a data-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
13131313
padding edge of that element.</p>
13141314
<p class="note" role="note"> Note, for fixed positioned elements using large values or
13151315
negative values may easily move elements outside the <a data-link-type="dfn" href="#viewport" id="ref-for-viewport-7">viewport</a> and make the
@@ -2504,7 +2504,7 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
25042504
<div class="issue"> Describe which element font-size-relative units are resolved against <a href="#issue-86601ab4"></a></div>
25052505
<div class="issue"> Say what happens if this rectangle is empty <a href="#issue-6be9cee7"></a></div>
25062506
<div class="issue"> Say what happens if it already overflows the containing block <a href="#issue-09e98f99"></a></div>
2507-
<div class="issue"> Do marins collapse between the stickily positioned element and its containing
2507+
<div class="issue"> Do margins collapse between the stickily positioned element and its containing
25082508
block element? <a href="#issue-e6070342"></a></div>
25092509
<div class="issue"> Does the margin on the stickily positioned element affect its distance from
25102510
the flow root edge? <a href="#issue-0a53b8c3"></a></div>

0 commit comments

Comments
 (0)