Skip to content

Commit 48f32f2

Browse files
committed
[css-align] Disable baseline alignment in a table column, per WG resolution. Closes #1422
1 parent 21a4728 commit 48f32f2

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

css-align/Overview.bs

+15-5
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ Baseline Alignment: the ''baseline'' keyword and ''first''/''last'' modifiers</h
356356
<dfn export>Baseline alignment</dfn> is a form of positional alignment
357357
that aligns multiple <a>alignment subjects</a>
358358
within a <a>shared alignment context</a>
359-
(such as cells within a row or column)
359+
(such as cells within a row))
360360
by matching up their <a>alignment baselines</a>.
361361
If the position of the <a>alignment subjects</a> within a <a>baseline-sharing group</a>
362362
is not fully constrained by <a>baseline alignment</a>
@@ -683,7 +683,7 @@ The 'justify-content' And 'align-content' Properties</h3>
683683
the <a>alignment subject</a> and <a>alignment container</a>
684684
both assume the <a>writing mode</a> of the box the '*-content' property is set on.
685685

686-
### Block Containers ### {#distribution-block}
686+
### Block Containers (Including Table Cells)### {#distribution-block}
687687

688688
<table class="data align-details">
689689
<tr>
@@ -884,8 +884,14 @@ Baseline Content-Alignment</h3>
884884
<dt>Table Cells:
885885
<dd>
886886
A <a>table cell</a> participates in first (last) <a>baseline content-alignment</a>
887-
in its startmost (endmost) row or column (whichever is parallel to its <a>inline axis</a>)
888-
if its computed 'align-content' is ''first baseline'' (''last baseline'').
887+
in its startmost (endmost) row
888+
if its inline axis is parallel to that of the table itself and
889+
its computed 'align-content' is ''first baseline'' (''last baseline'').
890+
891+
Note: <a>Baseline content-alignment</a>
892+
of cells sharing a column is not supported;
893+
however this may be added in a future level
894+
if there is sufficient demand and implementer interest.
889895

890896
<dt>Flex Items:
891897
<dd>
@@ -1712,7 +1718,7 @@ Baseline Alignment Grouping</h3>
17121718

17131719
<ul>
17141720
<li>table cells in the same row, along the table's row (inline) axis, established by the row box
1715-
<li>table cells in the same column, along the table's column (block) axis, established by the column box
1721+
<!--baseline-align-column <li>table cells in the same column, along the table's column (block) axis, established by the column box -->
17161722
<li>grid items in the same row, along the grid's row (inline) axis, established by the <a>grid container</a>
17171723
<li>grid items in the same column, along the grid's column (block) axis, established by the <a>grid container</a>
17181724
<li>flex items in the same flex line, along the flex container's main axis, established by the <a>flex container</a>
@@ -1787,6 +1793,10 @@ Changes</h2>
17871793
<ul>
17881794
<li>Dropped the ''left'' and ''right'' keywords from 'align-self' and 'align-content'.
17891795
They may be re-introduced in a later level if there is demand.
1796+
(<a href="https://github.com/w3c/csswg-drafts/issues/1403">Issue 1403</a>)
1797+
<li>Disabled baseline alignment across cells in a table column,
1798+
due to implementation complexity.
1799+
17901800
<li>A large number of minor corrections and clarifications reported by David Baron.
17911801
</ul>
17921802

0 commit comments

Comments
 (0)