You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1323,15 +1323,15 @@ Line Breaking Details</h3>
1323
1323
Name: text-justify
1324
1324
Value: auto | none | inter-word | inter-character
1325
1325
Initial: auto
1326
-
Applies to: block containers and, optionally, inline elements
1326
+
Applies to: inlines
1327
1327
Inherited: yes
1328
1328
Canonical order: n/a
1329
1329
</pre>
1330
1330
1331
1331
<p>This property selects the justification method used when a line's
1332
1332
alignment is set to ''justify'' (see 'text-align').
1333
-
The property applies to block containers, but the UA may (but
1334
-
is not required to) also support it on inline elements.
1333
+
The property applies to inlines,
1334
+
but is inherited from block containers to the root inline box containing their inline-level contents.
1335
1335
It takes the following values:</p>
1336
1336
1337
1337
<dl dfn-for=text-justify dfn-type=value>
@@ -1445,14 +1445,22 @@ Expanding and Compressing Text</h4>
1445
1445
A justification opportunity can be provided by a single <a>typographic character unit</a>
1446
1446
(such as a <a>word separator</a>),
1447
1447
or by the juxtaposition of two <a>typographic character units</a>.
1448
+
As with controls for <a href="#line-break-details">soft wrap opportunities</a>,
1449
+
whether a <a>typographic character unit</a> provides a <a>justification opportunity</a>
1450
+
is controlled by the 'text-justify' value of its parent;
1451
+
similarly, whether a <a>justification opportunity</a> exists between two consecutive <a>typographic character units</a>
1452
+
is determined by the 'text-justify' value of their nearest common ancestor.
1453
+
1454
+
<p>
1448
1455
Space distributed by justification is <em>in addition to</em>
1449
1456
the spacing defined by the 'letter-spacing' or 'word-spacing' properties.
1450
-
However, when space is distributed to a <a>word separator</a><a>justification opportunity</a>,
1457
+
When such additional space is distributed to a <a>word separator</a><a>justification opportunity</a>,
1451
1458
it is applied under the same rules as for 'word-spacing'.
1452
1459
Similarly, when space is distributed to an <a>justification opportunity</a> between
1453
1460
two <a>typographic character units</a>,
1454
1461
it is applied under the same rules as for 'letter-spacing'.
1455
1462
1463
+
1456
1464
<p>A justification algorithm may divide <a>justification opportunities</a> into different priority levels.
1457
1465
All <a>justification opportunities</a> within a given level
1458
1466
are expanded or compressed at the same priority,
@@ -1571,9 +1579,9 @@ Minimum Requirements for ''text-justify/auto'' Justification</h4>
1571
1579
vs. the justification opportunity between a Han letter followed by a Hangul letter.
1572
1580
</ul>
1573
1581
1574
-
Further information about justification can be found at …
1575
-
1576
-
Issue: Need a stable reference from i18n. <code>http://w3c.github.io/typography/#justification</code> is not a good reference URL.
1582
+
Further information on text justification can be found in (or submitted to) <a href="https://www.w3.org/International/articles/typography/justification">“Approaches to Full Justification”</a>,
1583
+
which indexes by writing system and language,
1584
+
and is maintained by the <a href="https://www.w3.org/International/">W3C Internationalization Working Group</a>. [[JUSTIFY]]
0 commit comments