Skip to content

Commit fa110c8

Browse files
committed
merge
2 parents a070eb6 + a8159c3 commit fa110c8

File tree

2 files changed

+1966
-834
lines changed

2 files changed

+1966
-834
lines changed

css-align/Overview.bs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,9 @@ Baseline Alignment: the ''baseline'' and ''last-baseline'' keywords</h3>
334334
Distributed Alignment: the ''<content-distribution>/stretch'', ''space-between'', ''space-around'', and ''space-evenly'' keywords</h3>
335335

336336
The distribution values are used by 'justify-content' and 'align-content'
337-
to distribute the items in the <a>alignment subject</a>
337+
to distribute the <a>alignment subjects</a>
338338
evenly between the start and end edges of the <a>alignment container</a>.
339-
When the <a>alignment subject</a> cannot be distributed in this way,
339+
When the <a>alignment subjects</a> cannot be distributed in this way,
340340
they behave as their <dfn export>fallback alignment</dfn>.
341341
Each distribution value has an associated <<content-position>> as a <a>fallback alignment</a>,
342342
but one can alternatively be explicitly specified in the property.
@@ -346,40 +346,40 @@ Distributed Alignment: the ''<content-distribution>/stretch'', ''space-between''
346346
<dl dfn-type="value" dfn-for="<content-distribution>">
347347
<dt><dfn>space-between</dfn>
348348
<dd>
349-
The items are evenly distributed in the <a>alignment container</a>.
350-
The first item is placed flush with the start edge of the <a>alignment container</a>,
351-
the last item is placed flush with the end edge of the <a>alignment container</a>,
352-
and the remaining items are distributed so that the spacing between any two adjacent items is the same.
349+
The <a>alignment subjects</a> are evenly distributed in the <a>alignment container</a>.
350+
The first <a>alignment subject</a> is placed flush with the start edge of the <a>alignment container</a>,
351+
the last <a>alignment subject</a> is placed flush with the end edge of the <a>alignment container</a>,
352+
and the remaining <a>alignment subjects</a> are distributed so that the spacing between any two adjacent <a>alignment subjects</a> is the same.
353353
Unless otherwise specified,
354354
this value falls back to ''start''.
355355

356356
<dt><dfn>space-around</dfn>
357357
<dd>
358-
The items are evenly distributed in the <a>alignment container</a>,
358+
The <a>alignment subjects</a> are evenly distributed in the <a>alignment container</a>,
359359
with a half-size space on either end.
360-
The items are distributed so that the spacing between any two adjacent items is the same,
361-
and the spacing before the first and after the last item is half the size of the other spacing.
360+
The <a>alignment subjects</a> are distributed so that the spacing between any two adjacent <a>alignment subjects</a> is the same,
361+
and the spacing before the first and after the last <a>alignment subject</a> is half the size of the other spacing.
362362
Unless otherwise specified,
363363
this value falls back to ''center''.
364364

365365
<dt><dfn>space-evenly</dfn>
366366
<dd>
367-
The items are evenly distributed in the <a>alignment container</a>,
367+
The <a>alignment subjects</a> are evenly distributed in the <a>alignment container</a>,
368368
with a full-size space on either end.
369-
The items are distributed so that the spacing between any two adjacent items,
370-
before the first item,
371-
and after the last item
369+
The <a>alignment subjects</a> are distributed so that the spacing between any two adjacent <a>alignment subjects</a>,
370+
before the first <a>alignment subject</a>,
371+
and after the last <a>alignment subject</a>
372372
is the same.
373373
Unless otherwise specified,
374374
this value falls back to ''center''.
375375

376376
<dt><dfn>stretch</dfn>
377377
<dd>
378-
If the combined size of the items is less than the size of the <a>alignment container</a>,
379-
any ''width/auto''-sized items have their size increased equally so that the combined size exactly fills the <a>alignment container</a>,
378+
If the combined size of the <a>alignment subjects</a> is less than the size of the <a>alignment container</a>,
379+
any ''width/auto''-sized <a>alignment subjects</a> have their size increased equally so that the combined size exactly fills the <a>alignment container</a>,
380380
and then clamped by their 'max-width'/'max-height' constraints.
381381

382-
The items are then aligned as per ''flex-start''.
382+
The <a>alignment subjects</a> are then aligned as per ''flex-start''.
383383
<span class='note'>(For layout modes other than flex layout, ''flex-start'' is identical to ''start''.)</span>
384384
</dl>
385385

0 commit comments

Comments
 (0)