Skip to content

Commit 731398d

Browse files
committed
[css-position-3][editorial] Add a hyphen to static-position rectangle
1 parent fd1ef96 commit 731398d

2 files changed

Lines changed: 25 additions & 24 deletions

File tree

css-align-3/Overview.bs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,7 @@ Inline-Axis (or Main-Axis) Alignment: the 'justify-self' property</h3>
14181418
as modified by the inset properties ('top'/'right'/'bottom'/'left'),
14191419
assuming the <a>writing mode</a> of the <a>containing block</a>.
14201420
If both inset properties in the relevant axis are ''left/auto'',
1421-
then use the box’s <a>static position rectangle</a>
1421+
then use the box’s <a>static-position rectangle</a>
14221422
(i.e. set both insets to the box’s <a>static position</a>).
14231423
<tr>
14241424
<th><a>Alignment Subject</a>
@@ -1461,7 +1461,7 @@ Inline-Axis (or Main-Axis) Alignment: the 'justify-self' property</h3>
14611461
(If both are ''top/auto'',
14621462
then the box is statically-positioned,
14631463
see above,
1464-
and can be aligned within the <a>static position rectangle</a>.)
1464+
and can be aligned within the <a>static-position rectangle</a>.)
14651465
</table>
14661466

14671467
### Table Cells ### {#justify-cell}
@@ -1585,7 +1585,7 @@ Block-Axis (or Cross-Axis) Alignment: the 'align-self' property</h3>
15851585
('top'/'right'/'bottom'/'left'),
15861586
assuming the <a>writing mode</a> of the <a>containing block</a>.
15871587
If both inset properties in the relevant axis are ''left/auto'',
1588-
then use the box’s <a>static position rectangle</a>
1588+
then use the box’s <a>static-position rectangle</a>
15891589
(i.e. set both insets to the box’s <a>static position</a>).
15901590
<tr>
15911591
<th><a>Alignment Subject</a>
@@ -1628,7 +1628,7 @@ Block-Axis (or Cross-Axis) Alignment: the 'align-self' property</h3>
16281628
(If both are ''top/auto'',
16291629
then the box is statically-positioned,
16301630
see above,
1631-
and can be aligned within the <a>static position rectangle</a>.)
1631+
and can be aligned within the <a>static-position rectangle</a>.)
16321632

16331633
</table>
16341634

@@ -1758,7 +1758,7 @@ Effects on Sizing of Absolutely Positioned Boxes with Static-Position Insets</h3
17581758
and <a href="https://www.w3.org/TR/CSS2/visudet.html#abs-replaced-width">CSS2&sect;10.3.8</a>.)
17591759
Fundamentally these rules set one of the ''left/auto'' insets
17601760
(by default, the start-edge inset)
1761-
to the corresponding edge of the <a>static position rectangle</a>
1761+
to the corresponding edge of the <a>static-position rectangle</a>
17621762
and the other to the corresponding edge of the <a>containing block</a>
17631763
(i.e. set the inset to zero).
17641764
Just as the <a>self-alignment properties</a>
@@ -1780,7 +1780,7 @@ Effects on Sizing of Absolutely Positioned Boxes with Static-Position Insets</h3
17801780

17811781
In the case of ''justify-self/center'' alignment,
17821782
the [=available space=] for the box is
1783-
double the distance between the center of the [=static position rectangle=]
1783+
double the distance between the center of the [=static-position rectangle=]
17841784
and the closest edge of the [=containing block=]
17851785
in the relevant axis.
17861786

@@ -1800,7 +1800,7 @@ Effects on Sizing of Absolutely Positioned Boxes with Static-Position Insets</h3
18001800
as specified in [[CSS2]],
18011801
an absolutely-positioned element with ''left/auto'' insets
18021802
will be sized with reference to
1803-
the <a>static position rectangle</a>’s edge(s)
1803+
the <a>static-position rectangle</a>’s edge(s)
18041804
<em>most appropriate</em> to its specified <a>self-alignment</a>.
18051805
</figcaption>
18061806
</figure>
@@ -2372,19 +2372,19 @@ Appendix A: Static Position Terminology</h2>
23722372
See [[css2/#abs-non-replaced-width]].
23732373
The <a>box alignment properties</a> modify these calculations,
23742374
just as they do the sizing and positioning calculations in other layout modes.
2375-
These modifications refer to a <dfn>static position rectangle</dfn>,
2375+
These modifications refer to a <dfn>static-position rectangle</dfn>,
23762376
whose edges represent the <a>static position</a> of the box
23772377
from each side of its <a>containing block</a>.
23782378

2379-
The <a>static position rectangle</a> and the <a>static positions</a> to which it corresponds
2379+
The <a>static-position rectangle</a> and the <a>static positions</a> to which it corresponds
23802380
are defined by the layout model of its “hypothetical box”:
23812381

23822382
<dl>
23832383
<dt>Block Layout
23842384
<dd>
23852385
The <a>static positions</a> of a <a>block-level box</a>
23862386
are defined in [[CSS2]] Chapter 10.
2387-
The <a>static position rectangle</a> is a zero-thickness rectangle spanning between
2387+
The <a>static-position rectangle</a> is a zero-thickness rectangle spanning between
23882388
the inline-axis sides of the box’s <a>static-position containing block</a>
23892389
(see <a href="https://www.w3.org/TR/CSS2/visudet.html#abs-non-replaced-width">CSS2&sect;10.3.7</a>);
23902390
and positioned at its <a>block-start</a> <a>static position</a>
@@ -2394,26 +2394,26 @@ Appendix A: Static Position Terminology</h2>
23942394
<dd>
23952395
The <a>static positions</a> of an <a>inline-level box</a>
23962396
are defined in [[CSS2]] Chapter 10.
2397-
The <a>static position rectangle</a> is a zero-thickness rectangle spanning between
2397+
The <a>static-position rectangle</a> is a zero-thickness rectangle spanning between
23982398
the <a>line-over</a>/<a>line-under</a> sides of the <a>line box</a>
23992399
that would have contained its “hypothetical box”
24002400
(see <a href="https://www.w3.org/TR/CSS2/visudet.html#abs-non-replaced-width">CSS2&sect;10.3.7</a>);
24012401
and positioned at its <a>inline-start</a> <a>static position</a>.
24022402

24032403
<dt>Flex Layout
24042404
<dd>
2405-
The <a>static position rectangle</a> of the child of a <a>flex container</a>
2405+
The <a>static-position rectangle</a> of the child of a <a>flex container</a>
24062406
corresponds to the <a>content edges</a> of the <a>flex container</a>.
24072407
See [[css-flexbox-1#abspos-items]].
24082408

24092409
<dt>Grid Layout
24102410
<dd>
2411-
By default, the <a>static position rectangle</a> of the child of a <a>grid container</a>
2411+
By default, the <a>static-position rectangle</a> of the child of a <a>grid container</a>
24122412
corresponds to the <a>content edges</a> of the <a>grid container</a>.
24132413
However, if that <a>grid container</a> also establishes
24142414
the box’s actual <a>containing block</a>,
24152415
then the <a>grid area</a> specified by the <a>grid-placement properties</a>
2416-
establishes its <a>static position rectangle</a> instead.
2416+
establishes its <a>static-position rectangle</a> instead.
24172417
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]].
24182418
</dl>
24192419

css-position-3/Overview.bs

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -729,10 +729,10 @@ Absolute (and Fixed) Positioning</h3>
729729
<dt>for ''align-self/center'' alignment
730730
<dd>
731731
Let <var>start distance</var> be the distance from
732-
the center of its [=static position rectangle=]
732+
the center of its [=static-position rectangle=]
733733
to the start edge of its [=containing block=],
734734
and <var>end distance</var> be the distance from
735-
the center of its [=static position rectangle=]
735+
the center of its [=static-position rectangle=]
736736
to the end edge of its [=containing block=].
737737
If <var>start distance</var> is less than or equal to <var>end distance</var>,
738738
then set the start-edge [=inset property=] to zero,
@@ -770,10 +770,11 @@ Absolute (and Fixed) Positioning</h3>
770770
Resolving Automatic Insets</h4>
771771

772772
When both [=inset properties=] in a given axis are ''left/auto'',
773-
they are resolved in reference to the box’s <dfn export>static position rectangle</dfn>,
773+
they are resolved in reference to the box’s
774+
<dfn export lt="static-position rectangle|static position rectangle">static-position rectangle</dfn>,
774775
whose edges represent the [=static position=] of the box
775776
from each side of its [=containing block=].
776-
This [=static position rectangle=]
777+
This [=static-position rectangle=]
777778
and the [=static positions=] to which it corresponds
778779
are defined by the layout model
779780
the box would have had if its 'position' were ''position/static''
@@ -786,7 +787,7 @@ Resolving Automatic Insets</h4>
786787
<dd>
787788
The [=static positions=] of a [=block-level box=]
788789
are defined in [[CSS2]] Chapter 10.
789-
The [=static position rectangle=] is a zero-thickness rectangle spanning between
790+
The [=static-position rectangle=] is a zero-thickness rectangle spanning between
790791
the inline-axis sides of the box’s [=static-position containing block=]
791792
(see <a href="https://www.w3.org/TR/CSS2/visudet.html#abs-non-replaced-width">CSS2&sect;10.3.7</a>);
792793
and positioned at its [=block-start=] [=static position=]
@@ -796,30 +797,30 @@ Resolving Automatic Insets</h4>
796797
<dd>
797798
The [=static positions=] of an [=inline-level box=]
798799
are defined in [[CSS2]] Chapter 10.
799-
The [=static position rectangle=] is a zero-thickness rectangle spanning between
800+
The [=static-position rectangle=] is a zero-thickness rectangle spanning between
800801
the [=line-over=]/[=line-under=] sides of the [=line box=]
801802
that would have contained its “hypothetical box”
802803
(see <a href="https://www.w3.org/TR/CSS2/visudet.html#abs-non-replaced-width">CSS2&sect;10.3.7</a>);
803804
and positioned at its [=inline-start=] [=static position=].
804805

805806
<dt>Flex Layout
806807
<dd>
807-
The [=static position rectangle=] of the child of a [=flex container=]
808+
The [=static-position rectangle=] of the child of a [=flex container=]
808809
corresponds to the [=content edges=] of the [=flex container=].
809810
See <a href="https://www.w3.org/TR/css-flexbox-1/#abspos-items">static position of a grid container child</a> in [[!CSS-FLEXBOX-1]].
810811

811812
<dt>Grid Layout
812813
<dd>
813-
By default, the [=static position rectangle=] of the child of a [=grid container=]
814+
By default, the [=static-position rectangle=] of the child of a [=grid container=]
814815
corresponds to the [=content edges=] of the [=grid container=].
815816
However, if that [=grid container=] also establishes
816817
the box’s actual [=containing block=],
817818
then the [=grid area=] specified by the [=grid-placement properties=]
818-
establishes its [=static position rectangle=] instead.
819+
establishes its [=static-position rectangle=] instead.
819820
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]].
820821
</dl>
821822

822-
For the purposes of calculating the [=static position rectangle=],
823+
For the purposes of calculating the [=static-position rectangle=],
823824
the [=containing block=] of [=fixed positioned=] elements
824825
is the [=initial containing block=] instead of the [=viewport=],
825826
and all [=scroll containers=] should be assumed

0 commit comments

Comments
 (0)