Skip to content

Commit 2a6d010

Browse files
committed
[css-ruby] Correct ruby box generation to account for out-of-flow
Closes w3c#4958
1 parent 76b1897 commit 2a6d010

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

css-ruby-1/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,14 +318,14 @@ Anonymous Ruby Box Generation</h3>
318318

319319
<li id="anony-gen-trim-space"><strong>Trim leading/trailing white space:</strong>
320320
Any [=intra-ruby white space=]
321-
that is not the sole child of its parent
322-
and occurs at the beginning or end of
321+
that is not the sole [=in-flow=] child of its parent
322+
and is the first or last [=in-flow=] child of
323323
a [=ruby container=], [=ruby annotation container=], or [=ruby base container=]
324324
is removed, as if it had ''display: none''
325325

326326
<li id="anon-gen-discard-space"><strong>Remove inter-level white space:</strong>
327327
Any [=intra-ruby white space=]
328-
whose immediately adjacent siblings match one of the patterns below
328+
whose immediately adjacent [=in-flow=] siblings match one of the patterns below
329329
is <dfn noexport>inter-level white space</dfn>
330330
and is removed, as if it had ''display: none''.
331331
<table class="data">
@@ -351,7 +351,7 @@ Anonymous Ruby Box Generation</h3>
351351

352352
<li id="anon-gen-interpret-space"><strong>Interpret intra-level white space:</strong>
353353
Any [=intra-ruby white space=] box
354-
whose immediately adjacent siblings match one of the patterns below
354+
whose immediately adjacent [=in-flow=] siblings match one of the patterns below
355355
is assigned the box type and subtype defined in the table below:
356356
<table class="data">
357357
<colgroup span=2></colgroup>

0 commit comments

Comments
 (0)