Skip to content

Commit 6208e8a

Browse files
committed
[css-align] Associate baseline tables with baseline-sharing group rather than alignment context (which can have multiple groups). Fixes w3c#1452
1 parent 55d5406 commit 6208e8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-align/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1663,13 +1663,13 @@ Aligning Boxes by Baseline</h3>
16631663
that all belong to a single <a>baseline-sharing group</a>,
16641664
the [=alignment subjects=] are baseline-aligned as follows:
16651665

1666-
First, generate the [=alignment context’s=] baseline table
1667-
from its <a>first available font</a>
1666+
First, generate the <a>baseline-sharing group</a>’s baseline table
1667+
from the <a>first available font</a> of the group’s [=alignment context=]
16681668
and overlay also the mirror of this baseline table by aligning their central baselines.
16691669
These are the baseline “grids” to which the [=alignment subjects=] will align.
16701670

16711671
Next, align each [=alignment subject=] by its specified <a>alignment baseline</a>
1672-
to the [=alignment context’s=] baseline table
1672+
to the group’s baseline table
16731673
or its mirror, whichever matches the [=alignment subject’s=] <a>line orientation</a>.
16741674
Unless otherwise specified (e.g. via the 'alignment-baseline' property),
16751675
the <a>alignment baseline</a> is the <a>dominant baseline</a> of the [=alignment context=].

0 commit comments

Comments
 (0)