Skip to content

Commit ae90d79

Browse files
committed
[css-ruby-1] Make white space diagram from whiteboard photo.
1 parent acfba52 commit ae90d79

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

css-ruby-1/Overview.bs

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,6 @@ Anonymous Ruby Box Generation</h3>
443443
is wrapped in an anonymous [=ruby annotation container=].
444444
</ol>
445445

446-
Issue: Make <a href="http://lists.w3.org/Archives/Public/www-archive/2014Jun/att-0027/PastedGraphic-1.png">this diagram</a> into an example.
447-
448446
Once all ruby layout structures are properly parented,
449447
the UA can start to associate bases with their annotations.
450448

@@ -453,6 +451,20 @@ Anonymous Ruby Box Generation</h3>
453451
in its internal structures,
454452
as long as [=pairing=] and layout behaves as if they existed.
455453

454+
<div class="example">
455+
The following markup diagram representing the various boxes
456+
shows where [=intra-ruby white space=] is preserved or discarded:
457+
<xmp highlight=html style="white-space: normal; overflow-wrap: break-word">
458+
<ruby>×<rbc>×<rb></rb><rb></rb>×</rbc><rtc>×<rt></rt><rt></rt>×</rtc><rbc>×<rb></rb></rtc>×</ruby>
459+
</xmp>
460+
where
461+
* × represents [[#anony-gen-trim-space|discarded leading/trailing white space]]
462+
* ☒ represents [[#anon-gen-discard-space|discarded inter-level white space]]
463+
* ⬕ represents [=inter-base white space=]
464+
* ⬔ represents [=inter-annotation white space=]
465+
* ◼ represents [=inter-segment white space=]
466+
</div>
467+
456468
<h3 id="ruby-pairing">
457469
Annotation Pairing</h3>
458470

0 commit comments

Comments
 (0)