File tree 1 file changed +8
-9
lines changed
1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -3639,15 +3639,7 @@ Grid Container Baselines</h3>
3639
3639
3640
3640
<ol>
3641
3641
<li>
3642
- If the [=grid container=] does not contain any [=grid items=] ,
3643
- the grid container has no first (last) <a>baseline set</a> ,
3644
- and one is <a lt="synthesize baselines">synthesized</a> if needed
3645
- according to the rules of its <a>alignment context</a> .
3646
- Exit from this algorithm.
3647
-
3648
- <li>
3649
- Otherwise,
3650
- find the first (last) row of the [=grid container=]
3642
+ Find the first (last) row of the [=grid container=]
3651
3643
containing at least one [=grid item=] .
3652
3644
3653
3645
If any of the [=grid items=] intersecting this row
@@ -3664,6 +3656,13 @@ Grid Container Baselines</h3>
3664
3656
If the [=grid item=] has no <a>alignment baseline</a> in the grid's inline axis,
3665
3657
then one is first <a lt="synthesize baselines">synthesized</a>
3666
3658
from its border edges.
3659
+
3660
+ <li>
3661
+ If the [=grid container=] does not contain any [=grid items=] ,
3662
+ the grid container has no first (last) <a>baseline set</a> ,
3663
+ and one is <a lt="synthesize baselines">synthesized</a> if needed
3664
+ according to the rules of its <a>alignment context</a> .
3665
+ Exit from this algorithm.
3667
3666
</ol>
3668
3667
3669
3668
<dfn export lt="grid order|grid-modified document order">Grid-modified document order (grid order)</dfn>
You can’t perform that action at this time.
0 commit comments