@@ -1338,7 +1338,7 @@ Shaping Across Intra-word Breaks</h3>
1338
1338
and describes how the inline-level content of a block
1339
1339
is aligned along the inline axis
1340
1340
if the content does not completely fill the line box.
1341
- Values other than ''justify-all'' are assigned to 'text-align-all'
1341
+ Values other than ''justify-all'' or ''match-parent'' are assigned to 'text-align-all'
1342
1342
and reset 'text-align-last' to ''text-align-last/auto'' .
1343
1343
1344
1344
Values have the following meanings:
@@ -1370,7 +1370,7 @@ Shaping Across Intra-word Breaks</h3>
1370
1370
Unless otherwise specified by 'text-align-last' ,
1371
1371
the last line before a forced break or the end of the block is ''start'' -aligned.
1372
1372
<dt> <dfn>justify-all</dfn> </dt>
1373
- <dd> Sets both 'text-align' and 'text-align-last' to ''text-align/justify'' ,
1373
+ <dd> Sets both 'text-align-all ' and 'text-align-last' to ''text-align/justify'' ,
1374
1374
forcing the last line to justify as well.
1375
1375
<dt> <dfn>match-parent</dfn> </dt>
1376
1376
<dd> This value behaves the same as ''inherit''
@@ -1380,6 +1380,8 @@ Shaping Across Intra-word Breaks</h3>
1380
1380
(or the <a>initial containing block</a> ’s, if there is no parent)
1381
1381
'direction' value
1382
1382
and results in a computed value of either 'left' or 'right' .
1383
+ When specified on the 'text-align' shorthand,
1384
+ sets both 'text-align-all' and 'text-align-last' to ''text-align/match-parent'' .
1383
1385
</dl>
1384
1386
1385
1387
<p> A block of text is a stack of
@@ -1432,7 +1434,7 @@ Shaping Across Intra-word Breaks</h3>
1432
1434
1433
1435
<pre class="propdef">
1434
1436
Name : text-align-last
1435
- Value : auto | start | end | left | right | center | justify
1437
+ Value : auto | start | end | left | right | center | justify | match-parent
1436
1438
Initial : auto
1437
1439
Applies to : block containers
1438
1440
Inherited : yes
0 commit comments