Skip to content

Commit 2f96319

Browse files
committed
[css-grid] fix w3c#196 - baseline wording tweaks by mats
1 parent 15c009f commit 2f96319

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

css-grid/Overview.bs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3351,28 +3351,29 @@ Aligning the Grid: the 'justify-content' and 'align-content' properties</h3>
33513351
<h3 id='grid-baselines'>
33523352
Grid Container Baselines</h3>
33533353

3354-
The first/last baselines of a <a>grid container</a> are determined as follows:
3354+
The first (last) baselines for each axis of a <a>grid container</a>
3355+
are determined as follows:
33553356

33563357
<ol>
33573358
<li>
3358-
If any of the <a>grid items</a> whose areas intersect the <a>grid container</a>’s first/last row/column
3359+
If any of the <a>grid items</a> whose areas intersect the <a>grid container</a>’s first (last) row/column
33593360
<a href="#baseline-participation">participate in baseline alignment</a>,
33603361
the grid container's <a>baseline set</a> in that axis
33613362
is <a lt="generate baselines">generated</a> from
33623363
the shared <a>alignment baseline</a> of those <a>grid items</a>.
33633364

33643365
<li>
3365-
Otherwise, if the grid container has at least one <a>grid item</a> whose area intersects the first/last row/column,
3366-
and the first/last such <a>grid item</a> (in <a>grid order</a>)
3366+
Otherwise, if the grid container has at least one <a>grid item</a> whose area intersects the first (last) row/column,
3367+
and the first (last) such <a>grid item</a> (in <a>grid order</a>)
33673368
has a baseline set parallel to the relevant axis,
3368-
the grid container's first/last baseline set in that axis
3369+
the grid container's first (last) baseline set in that axis
33693370
is <a lt="generate baselines">generated</a> from
33703371
that <a>grid item</a>’s <a>alignment baseline</a>.
33713372

33723373
<li>
3373-
Otherwise, the grid container's first/last baseline set
3374+
Otherwise, the grid container's first (last) baseline set
33743375
is <a lt="synthesize baselines">synthesized</a>
3375-
from the first/last item's (in <a>grid order</a>) content box,
3376+
from the first (last) item's (in <a>grid order</a>) content box,
33763377
or, if there's no <a>grid item</a>,
33773378
from the grid container's content box.
33783379
</ol>

0 commit comments

Comments
 (0)