Skip to content

Commit a9bc8dd

Browse files
committed
[css-align] Drop block-axis baselines per <https://lists.w3.org/Archives/Public/www-style/2016Aug/0053.html> Issue #175
1 parent e2d49c4 commit a9bc8dd

File tree

1 file changed

+16
-20
lines changed

1 file changed

+16
-20
lines changed

css-align/Overview.bs

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,8 @@ Baseline Alignment: the ''baseline'' and ''last-baseline'' keywords</h3>
302302

303303
See [[css-writing-modes-3#intro-baselines]].
304304

305+
Issue: Deal with <a href="https://lists.w3.org/Archives/Public/www-style/2015Apr/0144.html">overflow as resolved</a>.
306+
305307
<dfn export>Baseline alignment</dfn> is a form of positional alignment
306308
that aligns multiple <a>alignment subjects</a>
307309
within a <a>shared alignment context</a>
@@ -316,24 +318,20 @@ Baseline Alignment: the ''baseline'' and ''last-baseline'' keywords</h3>
316318
<dl dfn-type=value dfn-for="justify-content, justify-self, justify-items, align-content, align-self, align-items, <baseline-position>">
317319
<dt><dfn>baseline</dfn>
318320
<dd>
319-
Indicates <dfn dfn for export>first-baseline alignment</dfn>:
320-
If the box has a <a>natural baseline</a> in the appropriate axis,
321-
aligns one of the baselines in the box's <a>first baseline set</a>
322-
in that axis
321+
Specifies participation in <dfn dfn for export>first-baseline alignment</dfn>:
322+
aligns the <a>alignment baseline</a> of the box's <a>first baseline set</a>
323323
with the corresponding baseline
324-
in the <a>first baseline sets</a>
324+
in the shared <a>first baseline set</a>
325325
of all the boxes in its <a>baseline-sharing group</a>.
326326

327327
The <a>fallback alignment</a> for ''baseline'' is ''start''.
328328

329329
<dt><dfn>last-baseline</dfn>
330330
<dd>
331-
Indicates <dfn dfn for export>last-baseline alignment</dfn>:
332-
If the box has a <a>natural baseline</a> in the appropriate axis,
333-
aligns one of the baselines in the box's <a>last baseline set</a>
334-
in that axis
331+
Specifies participation in <dfn dfn for export>last-baseline alignment</dfn>:
332+
aligns the <a>alignment baseline</a> of the box's <a>last baseline set</a>
335333
with the corresponding baseline
336-
in the <a>last baseline sets</a>
334+
in the shared <a>last baseline set</a>
337335
of all the boxes in its <a>baseline-sharing group</a>.
338336

339337
The <a>fallback alignment</a> for ''baseline'' is ''end''.
@@ -748,7 +746,7 @@ Baseline Content-Alignment</h3>
748746
<dt>Table Cells:
749747
<dd>
750748
A <a>table cell</a> participates in first (last) <a>baseline content-alignment</a>
751-
in either its row or column (whichever matches the axises of its <a>natural baselines</a>)
749+
in either its row or column (whichever matches its <a>inline axis</a>)
752750
if its computed 'align-content' is ''baseline'' (''last-baseline'').
753751

754752
<dt>Flex Items:
@@ -766,7 +764,7 @@ Baseline Content-Alignment</h3>
766764
<dt>Grid Items:
767765
<dd>
768766
A <a>grid item</a> participates in first (last) <a>baseline content-alignment</a>
769-
in either its row or column (whichever matches the axises of its <a>natural baselines</a>)
767+
in either its row or column (whichever matches its <a>inline axis</a>)
770768
if its computed 'align-content' is ''baseline'' (''last-baseline''),
771769
and its computed 'align-self' or 'justify-self' (whichever affects its <a>block axis</a>)
772770
is ''align-self/stretch'' or ''self-start'' (''self-end'').
@@ -871,7 +869,7 @@ Inline/Main-Axis Alignment: the 'justify-self' property</h3>
871869
Unless otherwise specified, this value falls back to ''flex-start''.
872870

873871
All other values cause a 'width'/'height' of ''width/auto''
874-
to be treated as ''fit-content''.
872+
to be treated as ''width/fit-content''.
875873

876874
Issue: Should ''justify-self/stretch'' allow a fallback alignment,
877875
like it does on 'align-content' and 'justify-content'?
@@ -1222,7 +1220,7 @@ Baseline Self-Alignment</h3>
12221220
<dt>Grid Items:
12231221
<dd>
12241222
A <a>grid item</a> participates in first (last) <a>baseline self-alignment</a>
1225-
in either its row or column (whichever axises it has a <a>natural baseline</a> in)
1223+
in either its row or column (whichever matches its <a>inline axis</a>)
12261224
if its 'justify-self' or 'align-self' property (whichever affects its <a>block axis</a>)
12271225
computes to ''baseline'' (''last-baseline'').
12281226
</dl>
@@ -1457,12 +1455,10 @@ Baseline Alignment Terminology</h3>
14571455
This is possible only if they
14581456

14591457
<ul>
1460-
<li>share an <a>alignment context</a> whose axis is parallel to an axis in which they have a baseline
1461-
<li>the baselines that want to align are on the same “side” of the alignment context,
1462-
e.g. the boxes in a vertical-axis <a>alignment context</a> all want to align their leftmost baseline
1463-
(whether that is the first baseline in a ''vertical-lr'' flow,
1464-
the last baseline in a ''vertical-rl'' flow,
1465-
or the first baseline of a ''vertical-lr'' flow that has been propagated to being the block-axis <a>first baseline</a> of a ''horizontal-tb'' ''ltr'' grid container)
1458+
<li>share an <a>alignment context</a> whose axis is parallel to their <a>inline axis</a>
1459+
<li>either have the same <a>block flow direction</a> and <a>baseline alignment preference</a>,
1460+
or have opposite <a>block flow direction</a> and opposite <a>baseline alignment preference</a>
1461+
(in other words, the baselines that want to align are on the same side of the alignment context).
14661462
</ul>
14671463

14681464
Boxes <dfn lt="shared alignment context|alignment context" export>share an alignment context</dfn> along a particular axis when they are:

0 commit comments

Comments
 (0)