Skip to content

Commit 2a82852

Browse files
committed
[css-align-3] Defer to css-position-3 wrt defining 'normal' alignment in abspos. #11215
1 parent 0abc894 commit 2a82852

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

css-align-3/Overview.bs

+8-18
Original file line numberDiff line numberDiff line change
@@ -1507,15 +1507,9 @@ Inline-Axis (or Main-Axis) Alignment: the 'justify-self' property</h3>
15071507
<tr>
15081508
<th>''justify-self/normal'' Behavior
15091509
<td>
1510-
* For replaced absolutely-positioned boxes, the ''justify-self/normal'' keyword behaves as ''start''.
1511-
* For all other absolutely-positioned boxes, ''justify-self/normal'' behaves as stretch.
1512-
Additionally, if neither inset in this axis is ''top/auto'',
1513-
but 'width' ('height', for <a>vertical writing modes</a>) is ''width/auto'',
1514-
''margin/auto'' margins are treated as zero.
1515-
1516-
(In non-''justify-self/normal'' cases, ''margin/auto'' margins are prioritized over the <a>self-alignment properties</a>, as usual.)
1517-
1518-
Note: This somewhat bizarre behavior is required for compatibility with the behavior specified in CSS 2.1.
1510+
Behaves as ''justify-self/stretch'' or ''justify-self/start'',
1511+
depending on the type of box.
1512+
See [[css-position-3#abspos-layout]].
15191513
<tr>
15201514
<th>Other Details
15211515
<td>
@@ -1677,15 +1671,9 @@ Block-Axis (or Cross-Axis) Alignment: the 'align-self' property</h3>
16771671
<tr>
16781672
<th>''align-self/normal'' Behavior
16791673
<td>
1680-
* For replaced absolutely-positioned boxes, the ''align-self/normal'' keyword behaves as ''start''.
1681-
* For all other absolutely-positioned boxes, ''align-self/normal'' behaves as stretch.
1682-
Additionally, if neither inset in this axis is ''top/auto'',
1683-
but 'width' ('height', for <a>vertical writing modes</a>) is ''width/auto'',
1684-
''margin/auto'' margins are treated as zero.
1685-
1686-
(In non-''align-self/normal'' cases, ''margin/auto'' margins are prioritized over the <a>self-alignment properties</a>, as usual.)
1687-
1688-
Note: This somewhat bizarre behavior is required for compatibility with the behavior specified in CSS 2.1.
1674+
Behaves as ''align-self/stretch'' or ''align-self/start'',
1675+
depending on the type of box.
1676+
See [[css-position-3#abspos-layout]].
16891677
<tr>
16901678
<th>Other Details
16911679
<td>
@@ -2536,6 +2524,8 @@ Changes</h2>
25362524
(<a href="https://github.com/w3c/csswg-drafts/issues/8992">Issue 8992</a>)
25372525
<li>Define the 'grid-gap' properties as [=legacy name aliases=] of the 'gap' properties.
25382526
(<a href="https://github.com/w3c/csswg-drafts/issues/8014">Issue 8014</a>)
2527+
<li>Defer definition of ''align-self/normal'' alignment for [=absolutely positioned boxes=] to [[css-position-3]].
2528+
(<a href="https://github.com/w3c/csswg-drafts/issues/11215">Issue 11215</a>)
25392529
</ul>
25402530

25412531
Changes since the <a href="https://www.w3.org/TR/2021/WD-css-align-3-20211224/">24 December 2021 Working Draft</a> include:

0 commit comments

Comments
 (0)