Skip to content

Commit 2d70050

Browse files
committed
[css-ruby-1] Draft additional requirements for justification opportunities in ruby (in a comment). #1907 #771 w3c/jlreq#184
1 parent 534469d commit 2d70050

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

css-ruby-1/Overview.bs

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,6 +1381,38 @@ Ruby Text Distribution: the 'ruby-align' property</h3>
13811381
</dd>
13821382
</dl>
13831383

1384+
<!--
1385+
1386+
[=Justification opportunities=] are defined in [[!CSS-TEXT-3]]
1387+
and controlled by the 'text-justify' property.
1388+
For the purpose of 'ruby-align' specifically,
1389+
the following additional requirements apply under ''text-justify: auto'':
1390+
1391+
<ul>
1392+
<li>
1393+
Any [=typographic letter unit=] from the Han, Kana, or Hangul scripts
1394+
is handled the same as under ''text-justify: inter-character''.
1395+
<li>
1396+
In [=ruby annotations=] only (?),
1397+
any [=typographic letter unit=] from the Bopomofo script
1398+
is handled the same as under ''text-justify: inter-word''.
1399+
<li>
1400+
In [=ruby annotations=] only (?),
1401+
neither SPACE U+0020 nor NO-BREAK SPACE U+00A0
1402+
provide a [=justification opportunity=].
1403+
</ul>
1404+
1405+
<div class="example">
1406+
Make an example showing `text-justify: auto` vs `text-justify: inter-word` vs `text-justify: inter-character`.
1407+
</div>
1408+
1409+
Relevant issues:
1410+
https://github.com/w3c/csswg-drafts/issues/1907 bopomofo
1411+
https://github.com/w3c/csswg-drafts/issues/771 spaces/Latin
1412+
https://github.com/w3c/jlreq/issues/184
1413+
1414+
-->
1415+
13841416
<div class="example">
13851417
Since a typical implementation will by default define [=justification opportunities=]
13861418
between every adjacent pair of CJK [=characters=]

0 commit comments

Comments
 (0)