Skip to content

Commit 8d511fb

Browse files
committed
[css-align] Fix some writing mode issues.
1 parent 242d21d commit 8d511fb

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

css-align/Overview.bs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Previous Version: https://www.w3.org/TR/2013/WD-css3-align-20130514/
1515
Previous Version: https://www.w3.org/TR/2012/WD-css3-align-20120612/
1616
Abstract: This module contains the features of <a href="https://www.w3.org/TR/CSS/">CSS</a> relating to the alignment of boxes within their containers in the various CSS box layout models: block layout, table layout, flex layout, and grid layout. (The alignment of text and inline-level content is defined in [[CSS-TEXT-3]] and [[CSS-INLINE-3]].)
1717
Link Defaults: selectors-3 (dfn) first formatted line, css-flexbox-1 (dfn) flex line, css-multicol-1 (dfn) multi-column element, css-fonts-3 (dfn) first available font, css21 (property) max-width/max-height/min-width/min-height, css-writing-modes-3 (dfn) dominant baseline, css-position-3 (property) left, css-cascade-3 (value) initial
18-
Ignored Terms: table cell, stretch
18+
Ignored Terms: table cell, stretch, scrollable overflow region
1919
At Risk: ''last-baseline''
2020
</pre>
2121

@@ -865,10 +865,10 @@ Inline/Main-Axis Alignment: the 'justify-self' property</h3>
865865

866866
If the box has non-''top/auto'' offsets in this axis,
867867
and either 'margin' in this axis is ''margin/auto'',
868-
an ''width/auto'' 'width' is treated as ''fill-available''
868+
an ''width/auto'' 'width' ('height', for <a>vertical writing modes</a>) is treated as ''fill-available''
869869
and ''margin/auto'' margins are treated as zero.
870870
(Otherwise, when 'justify-content' is not ''justify-content/normal'',
871-
''width: auto'' is treated as ''width/fit-content''
871+
''width: auto'' (''height: auto'') is treated as ''width/fit-content''
872872
and ''margin/auto'' margins are used for alignment
873873
as in in-flow block-level layout.)
874874
<tr>
@@ -985,10 +985,11 @@ Block/Cross-Axis Alignment: the 'align-self' property</h3>
985985

986986
If the box has non-''top/auto'' offsets in this axis,
987987
and either 'margin' in this axis is ''margin/auto'',
988-
an ''width/auto'' 'height' is treated as ''fill-available''
988+
an ''width/auto'' 'height' ('width', for <a>vertical writing modes</a>)
989+
is treated as ''fill-available''
989990
and ''margin/auto'' margins are treated as zero.
990991
(Otherwise, when 'align-content' is not ''align-content/normal'',
991-
''height: auto'' is treated as ''height/fit-content''
992+
''height: auto'' (''width: auto'') is treated as ''height/fit-content''
992993
and ''margin/auto'' margins are used for alignment
993994
as in in-flow block-level layout.)
994995
<tr>
@@ -1075,7 +1076,8 @@ Baseline Self-Alignment</h3>
10751076
<dt>Flex Items:
10761077
<dd>
10771078
A <a>flex item</a> participates in first (last) <a>baseline self-alignment</a> in its flex line
1078-
if its computed 'align-self' is ''baseline'' (''last-baseline'').
1079+
if its <a>inline axis</a> is parallel to the <a>main axis</a>
1080+
and its computed 'align-self' is ''baseline'' (''last-baseline'').
10791081
See [[!CSS3-FLEXBOX]] for details.
10801082

10811083
<dt>Grid Items:

0 commit comments

Comments
 (0)