Skip to content

Commit a57f114

Browse files
committed
[css-align][css-position] Cleaner cross-link fix
1 parent f3e5bdd commit a57f114

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

css-align-3/Overview.bs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -288,24 +288,24 @@ Positional Alignment: the ''center'', ''start'', ''end'', ''self-start'', ''self
288288
Values have the following meanings:
289289

290290
<dl dfn-type="value">
291-
<dt><dfn for="<self-position>, <content-position>">center</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
291+
<dt><dfn for="<self-position>, <content-position>, justify-self, align-self, justify-content, align-content">center</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
292292
<dd>Centers the <a>alignment subject</a> within its <a>alignment container</a>.
293293

294-
<dt><dfn for="<self-position>, <content-position>">start</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
294+
<dt><dfn for="<self-position>, <content-position>, justify-self, align-self, justify-content, align-content">start</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
295295
<dd>Aligns the <a>alignment subject</a> to be flush with the <a>alignment container</a>’s start edge in the appropriate axis.
296296

297-
<dt><dfn for="<self-position>, <content-position>">end</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
297+
<dt><dfn for="<self-position>, <content-position>, justify-self, align-self, justify-content, align-content">end</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
298298
<dd>Aligns the <a>alignment subject</a> to be flush with the <a>alignment container</a>’s end edge in the appropriate axis.
299299

300-
<dt><dfn for="<self-position>">self-start</dfn> <small>([[#self-alignment|self]])</small>
300+
<dt><dfn for="<self-position>, justify-self, align-self">self-start</dfn> <small>([[#self-alignment|self]])</small>
301301
<dd>Aligns the <a>alignment subject</a> to be flush with the edge of the <a>alignment container</a>
302302
corresponding to the <a>alignment subject</a>’s start side in the appropriate axis.
303303

304-
<dt><dfn for="<self-position>">self-end</dfn> <small>([[#self-alignment|self]])</small>
304+
<dt><dfn for="<self-position>, justify-self, align-self">self-end</dfn> <small>([[#self-alignment|self]])</small>
305305
<dd>Aligns the <a>alignment subject</a> to be flush with the edge of the <a>alignment container</a>
306306
corresponding to the <a>alignment subject</a>’s end side in the appropriate axis.
307307

308-
<dt><dfn for="<self-position>, <content-position>">flex-start</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
308+
<dt><dfn for="<self-position>, <content-position>, justify-self, align-self, justify-content, align-content">flex-start</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
309309
<dd><strong>Only used in flex layout.</strong> [[!CSS-FLEXBOX-1]]
310310
Aligns the <a>alignment subject</a> to be flush with the edge of the <a>alignment container</a>
311311
corresponding to the <a>flex container</a>’s main-start or cross-start side, as appropriate.
@@ -319,7 +319,7 @@ Positional Alignment: the ''center'', ''start'', ''end'', ''self-start'', ''self
319319
and on boxes that are not <a>flex containers</a>,
320320
this value behaves as ''start'' when used in the <a>content-distribution properties</a>.
321321

322-
<dt><dfn for="<self-position>, <content-position>">flex-end</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
322+
<dt><dfn for="<self-position>, <content-position>, justify-self, align-self, justify-content, align-content">flex-end</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
323323
<dd><strong>Only used in flex layout.</strong>
324324
Aligns the <a>alignment subject</a> to be flush with the edge of the <a>alignment container</a>
325325
corresponding to the <a>flex container</a>’s main-end or cross-end side, as appropriate.

css-align-4/Overview.bs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -288,24 +288,24 @@ Positional Alignment: the ''center'', ''start'', ''end'', ''self-start'', ''self
288288
Values have the following meanings:
289289

290290
<dl dfn-type="value">
291-
<dt><dfn for="<self-position>, <content-position>">center</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
291+
<dt><dfn for="<self-position>, <content-position>, justify-self, align-self, justify-content, align-content">center</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
292292
<dd>Centers the <a>alignment subject</a> within its <a>alignment container</a>.
293293

294-
<dt><dfn for="<self-position>, <content-position>">start</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
294+
<dt><dfn for="<self-position>, <content-position>, justify-self, align-self">start</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
295295
<dd>Aligns the <a>alignment subject</a> to be flush with the <a>alignment container</a>’s start edge in the appropriate axis.
296296

297-
<dt><dfn for="<self-position>, <content-position>">end</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
297+
<dt><dfn for="<self-position>, <content-position>, justify-self, align-self">end</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
298298
<dd>Aligns the <a>alignment subject</a> to be flush with the <a>alignment container</a>’s end edge in the appropriate axis.
299299

300-
<dt><dfn for="<self-position>">self-start</dfn> <small>([[#self-alignment|self]])</small>
300+
<dt><dfn for="<self-position>, justify-self, align-self">self-start</dfn> <small>([[#self-alignment|self]])</small>
301301
<dd>Aligns the <a>alignment subject</a> to be flush with the edge of the <a>alignment container</a>
302302
corresponding to the <a>alignment subject</a>’s start side in the appropriate axis.
303303

304-
<dt><dfn for="<self-position>">self-end</dfn> <small>([[#self-alignment|self]])</small>
304+
<dt><dfn for="<self-position>, justify-self, align-self">self-end</dfn> <small>([[#self-alignment|self]])</small>
305305
<dd>Aligns the <a>alignment subject</a> to be flush with the edge of the <a>alignment container</a>
306306
corresponding to the <a>alignment subject</a>’s end side in the appropriate axis.
307307

308-
<dt><dfn for="<self-position>, <content-position>">flex-start</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
308+
<dt><dfn for="<self-position>, <content-position>, justify-self, align-self, justify-content, align-content">flex-start</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
309309
<dd><strong>Only used in flex layout.</strong> [[!CSS-FLEXBOX-1]]
310310
Aligns the <a>alignment subject</a> to be flush with the edge of the <a>alignment container</a>
311311
corresponding to the <a>flex container</a>’s main-start or cross-start side, as appropriate.
@@ -319,7 +319,7 @@ Positional Alignment: the ''center'', ''start'', ''end'', ''self-start'', ''self
319319
and on boxes that are not <a>flex containers</a>,
320320
this value behaves as ''start'' when used in the <a>content-distribution properties</a>.
321321

322-
<dt><dfn for="<self-position>, <content-position>">flex-end</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
322+
<dt><dfn for="<self-position>, <content-position>, justify-self, align-self, justify-content, align-content">flex-end</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
323323
<dd><strong>Only used in flex layout.</strong>
324324
Aligns the <a>alignment subject</a> to be flush with the edge of the <a>alignment container</a>
325325
corresponding to the <a>flex container</a>’s main-end or cross-end side, as appropriate.

css-position-3/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -671,17 +671,17 @@ Absolute Positioning</h3>
671671
If both [=inset properties=] in a given axis are ''top/auto'', then,
672672
depending on the box’s [=self-alignment property=] in the relevant axis:
673673
<dl class=switch>
674-
<dt>for ''<self-position>/self-start'' alignment or its equivalent
674+
<dt>for ''align-self/self-start'' alignment or its equivalent
675675
<dd>
676676
Set its start-edge [=inset property=] to the static position,
677677
and its end-edge [=inset property=] to zero.
678678

679-
<dt>for ''<self-position>/self-end'' alignment or its equivalent
679+
<dt>for ''align-self/self-end'' alignment or its equivalent
680680
<dd>
681681
Set its end-edge [=inset property=] to the static position,
682682
and its start-edge [=inset property=] to zero.
683683

684-
<dt>for ''<self-position>/center'' alignment
684+
<dt>for ''align-self/center'' alignment
685685
<dd>
686686
Let <var>start distance</var> be the distance from
687687
the center of its [=static position rectangle=]

0 commit comments

Comments
 (0)