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
Alternatively we could try to define some kind of acceptable behavior for them.
460
460
</ol>
461
461
462
+
<p>For the purpose of the rules above,
463
+
a <adata-link-type=dfnhref=#ruby-containertitle="ruby container">ruby container</a> directly parented by a <adata-link-type=dfnhref=#ruby-containertitle="ruby container">ruby container</a>
464
+
is considered to be a <adata-link-type=dfnhref=#ruby-base-container-boxtitle="ruby base container">ruby base container</a>.
465
+
See <adata-link-type=dfnhref=#nested-rubytitle="nested ruby">nested ruby</a>, below.
466
+
462
467
<pclass=issueid=issue-f2086090><aclass=self-linkhref=#issue-f2086090></a>Make this into an example:
Complex Spanning and Nested Ruby</span><aclass=self-linkhref=#nested-pairing></a></h4>
575
580
576
-
<p>When <adata-link-type=dfnhref=#ruby-containertitle="ruby containers">ruby containers</a> are nested,
581
+
<p><dfndata-dfn-type=dfndata-noexport="" id=nested-rubytitle="nested ruby"><aclass=self-linkhref=#nested-ruby></a></dfn>When <adata-link-type=dfnhref=#ruby-containertitle="ruby containers">ruby containers</a> are nested,
577
582
pairing begins with the deepest <adata-link-type=dfnhref=#ruby-containertitle="ruby container">ruby container</a>,
578
-
then expands out,
579
-
treating each <adata-link-type=dfnhref=#ruby-containertitle="ruby container">ruby container</a> nested within another <adata-link-type=dfnhref=#ruby-containertitle="ruby container">ruby container</a>
580
-
essentially as a single <adata-link-type=dfnhref=#ruby-base-boxtitle="ruby base">ruby base</a> in the outer <adata-link-type=dfnhref=#ruby-containertitle="ruby container">ruby container</a>,
581
-
and associating each <adata-link-type=dfnhref=#ruby-annotation-boxtitle="ruby annotation">ruby annotation</a>
582
-
paired with the nested <adata-link-type=dfnhref=#ruby-containertitle="ruby container">ruby container</a>
583
-
as being associated with (spanning) all of its <adata-link-type=dfnhref=#ruby-base-boxtitle="ruby bases">ruby bases</a>.
584
-
585
-
<p>Using nested <adata-link-type=dfnhref=#ruby-containertitle="ruby containers">ruby containers</a> thus allows the representation
583
+
then expands out.
584
+
From the pairing perspective of the outer <adata-link-type=dfnhref=#ruby-containertitle="ruby container">ruby container</a>,
585
+
each <adata-link-type=dfnhref=#ruby-containertitle="ruby container">ruby container</a> nested within another <adata-link-type=dfnhref=#ruby-containertitle="ruby container">ruby container</a>
586
+
counts as representing a single <adata-link-type=dfnhref=#ruby-base-boxtitle="ruby base">ruby base</a>/<adata-link-type=dfnhref=#ruby-annotation-boxtitle=annotation>annotation</a> per level.
587
+
The outer <adata-link-type=dfnhref=#ruby-containertitle="ruby container">ruby container</a>’s <adata-link-type=dfnhref=#ruby-annotation-boxtitle="ruby annotations">ruby annotations</a> paired to the <adata-link-type=dfnhref=#nested-rubytitle="nested ruby">nested ruby</a>
588
+
are therefore paired with (and <adata-link-type=dfnhref=#spantitle=span>span</a>) all of the nested <adata-link-type=dfnhref=#ruby-containertitle="ruby container">ruby container</a>’s <adata-link-type=dfnhref=#ruby-base-boxtitle="ruby bases">ruby bases</a>.
589
+
Each <adata-link-type=dfnhref=#ruby-annotation-container-boxtitle="ruby annotation container">ruby annotation container</a> in the nested <adata-link-type=dfnhref=#ruby-containertitle="ruby container">ruby container</a>
590
+
occupies the same <adata-link-type=dfnhref=#annotation-leveltitle="annotation level">annotation level</a> in the outer <adata-link-type=dfnhref=#ruby-containertitle="ruby container">ruby container</a>
591
+
as it does in the inner one
592
+
and participates in its layout as if it were directly contained in the outer <adata-link-type=dfnhref=#ruby-containertitle="ruby container">ruby container</a>.
593
+
594
+
<p>This process is recursive.
595
+
Thus, using nested <adata-link-type=dfnhref=#ruby-containertitle="ruby containers">ruby containers</a> allows the representation
586
596
of complex spanning relationships.
587
597
588
-
<pclass=issueid=issue-2f9c28f2><aclass=self-linkhref=#issue-2f9c28f2></a>This has to be Level 1 because HTML5 allows it, so we have to handle it. Yay HTML5.
598
+
<pclass=issueid=issue-05f90a82><aclass=self-linkhref=#issue-05f90a82></a>This has to be Level 1 because HTML5 allows it, so we have to handle it. Yay HTML5.
599
+
(Also, if we’re ever going to support it, it has to be designed into level 1
600
+
or authors will depend on whatever degenerate behavior falls out.)
0 commit comments