@@ -2339,30 +2339,30 @@ Aligning Boxes by Baseline</h3>
2339
2339
that all belong to a single <a>baseline-sharing group</a> ,
2340
2340
the [=alignment subjects=] are baseline-aligned as follows:
2341
2341
2342
- First, generate the <a>baseline-sharing group</a> ’s baseline table
2343
- from the <a>first available font</a> of the group’s [=alignment context=]
2344
- and overlay also the mirror of this baseline table by aligning their central baselines.
2345
- These are the baseline “grids” to which the [=alignment subjects=] will align.
2346
-
2347
- Next, align each [=alignment subject=] by its specified <a>alignment baseline</a>
2348
- to the group’s baseline table
2349
- or its mirror, whichever matches the [=alignment subject’s=] <a>line orientation</a> .
2350
- Unless otherwise specified (e.g. via the 'alignment-baseline' property),
2351
- the <a>alignment baseline</a> is the <a>dominant baseline</a> of the [=alignment context=] .
2352
-
2353
- Position the aligned <a>baseline-sharing group</a> within the [=alignment container=]
2354
- according to its <a>fallback alignment</a> .
2355
- The [=fallback alignment=] of a [=baseline-sharing group=]
2356
- is the [=fallback alignment=] of its items
2357
- as resolved to [=physical directions=] .
2358
-
2359
- For first/last <a>baseline <em>content</em>-alignment</a> ,
2360
- then add the minimum necessary extra space
2361
- between the [=alignment container’s=] start/end content edge
2362
- and the [=alignment subject’s=] edge
2363
- to align the start/end margin edges of all the [=alignment containers=]
2364
- in the [=alignment context=]
2365
- while maintaining baseline alignment within the [=baseline-sharing group=] .
2342
+ 1. Generate the <a>baseline-sharing group</a> ’s baseline table
2343
+ from the <a>first available font</a> of the group’s [=alignment context=]
2344
+ and overlay also the mirror of this baseline table by aligning their central baselines.
2345
+ These are the baseline “grids” to which the [=alignment subjects=] will align.
2346
+
2347
+ 2. Align each [=alignment subject=] by its specified <a>alignment baseline</a>
2348
+ to the group’s baseline table
2349
+ or its mirror, whichever matches the [=alignment subject’s=] <a>line orientation</a> .
2350
+ Unless otherwise specified (e.g. via the 'alignment-baseline' property),
2351
+ the <a>alignment baseline</a> is the <a>dominant baseline</a> of the [=alignment context=] .
2352
+
2353
+ 3. Position the aligned <a>baseline-sharing group</a> within the [=alignment container=]
2354
+ according to its <a>fallback alignment</a> .
2355
+ The [=fallback alignment=] of a [=baseline-sharing group=]
2356
+ is the [=fallback alignment=] of its items
2357
+ as resolved to [=physical directions=] .
2358
+
2359
+ 4. For first/last <a>baseline <em>content</em>-alignment</a> ,
2360
+ then add the minimum necessary extra space
2361
+ between the [=alignment container’s=] start/end content edge
2362
+ and the [=alignment subject’s=] edge
2363
+ to align the start/end margin edges of all the [=alignment containers=]
2364
+ in the [=alignment context=]
2365
+ while maintaining baseline alignment within the [=baseline-sharing group=] .
2366
2366
2367
2367
2368
2368
<h2 id="staticpos-rect">
0 commit comments