@@ -1182,37 +1182,41 @@ Ruby Text Distribution: the 'ruby-align' property</h3>
1182
1182
As for ''ruby-align/space-between''
1183
1183
except that there exists an extra [=justification opportunities=]
1184
1184
whose space is distributed half before and half after the ruby content.
1185
- <div class="example">
1186
- Since a typical implementation will by default define [=justification opportunities=]
1187
- between every adjacent pair of CJK [=characters=]
1188
- and not between adjacent pairs of Latin [=characters=] ,
1189
- this should result in the behavior recommended by [[JLREQ]] :
1190
- for wide-cell ruby content to be distributed...
1191
- <div class="figure">
1192
- <img width="145" height="91"
1193
- alt="Diagram of glyph layout in auto aligned ruby when ruby text is shorter than base"
1194
- src="images/ra-ds.gif" >
1195
- <img width="145" height="91"
1196
- alt="Diagram of glyph layout in auto aligned ruby when ruby text is longer than base"
1197
- src="images/ra-ds-rb.gif" >
1198
- <p class="caption"> Wide-cell text in ''ruby-align/space-around'' ruby distribution is spaced apart
1199
- </div>
1200
1185
1201
- ... and narrow-cell glyph ruby to be centered.
1202
- <div class="figure">
1203
- <img width="145" height="91"
1204
- alt="Diagram of glyph layout in auto aligned ruby when halfwidth ruby text is shorter than base"
1205
- src="images/ra-c-h.gif" >
1206
- <img width="145" height="91"
1207
- alt="Diagram of character layout in auto aligned ruby when ruby text is longer than narrow-width base"
1208
- src="images/ra-c-rb-h.gif" >
1209
- <p class="caption"> Narrow-width ruby text in ''ruby-align/space-around'' ruby distribution is centered
1210
- </div>
1186
+ <div class="figure">
1187
+ <img width="145" height="91"
1188
+ alt="Diagram of glyph layout in auto aligned ruby when ruby text is shorter than base"
1189
+ src="images/ra-ds.gif" >
1190
+ <img width="145" height="91"
1191
+ alt="Diagram of glyph layout in auto aligned ruby when ruby text is longer than base"
1192
+ src="images/ra-ds-rb.gif" >
1193
+ <p class="caption"> ''ruby-align/space-around'' ruby distribution
1211
1194
</div>
1212
1195
</dd>
1213
1196
</dl>
1214
1197
1198
+ <div class="example">
1199
+ Since a typical implementation will by default define [=justification opportunities=]
1200
+ between every adjacent pair of CJK [=characters=]
1201
+ but not between adjacent pairs of Latin [=characters=] ,
1202
+ the ''space-around'' and ''space-between'' values
1203
+ will result in wide characters being distributed,
1204
+ but narrow characters centered:
1205
+ <div class="figure">
1206
+ <img width="145" height="91"
1207
+ alt="Diagram of glyph layout in auto aligned ruby when halfwidth ruby text is shorter than base"
1208
+ src="images/ra-c-h.gif" >
1209
+ <img width="145" height="91"
1210
+ alt="Diagram of character layout in auto aligned ruby when ruby text is longer than narrow-width base"
1211
+ src="images/ra-c-rb-h.gif" >
1212
+ <p class="caption"> Narrow-width ruby text in ''ruby-align/space-around'' and ''ruby-align/space-between'' ruby distribution are centered
1213
+ </div>
1214
+
1215
+ The distribution of space can be further controlled via 'text-justify' . [[CSS-TEXT-3]]
1216
+ </div>
1217
+
1215
1218
Issue: Add a paragraph explaining how to distribute space in situations with [=spanning annotations=] .
1219
+
1216
1220
<!--
1217
1221
For a complex ruby with spanning elements, one additional consideration is
1218
1222
required. If the spanning element spans multiple 'rows' (other rbc or rtc
0 commit comments