Skip to content

Commit 17997ae

Browse files
committed
[css-ruby] Minor grammatical clarifications to box-fixup rules
1 parent cfc4680 commit 17997ae

2 files changed

Lines changed: 22 additions & 22 deletions

File tree

css-ruby/Overview.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -582,10 +582,10 @@ <h3 id=box-fixup><span class=secno>2.2. </span> Anonymous Ruby Box
582582
<dt id=anon-gen-discard-space>Remove inter-level white space
583583

584584
<dd> Any anonymous <a href="#ruby-base-box"><i>ruby base</i></a>
585-
containing only white space immediately following a box of type A and
586-
immediately followed by at box of its corresponding type B as defined in
587-
the table below is removed, as if it had ‘<code class=css>display:
588-
none</code>’.
585+
containing only white space that both immediately follows a box of type A
586+
and is immediately followed by at box of its corresponding type B as
587+
defined in the table below is removed, as if it had ‘<code
588+
class=css>display: none</code>’.
589589
<table class=data>
590590
<thead>
591591
<tr>
@@ -627,24 +627,24 @@ <h3 id=box-fixup><span class=secno>2.2. </span> Anonymous Ruby Box
627627
<dd>
628628
<ul>
629629
<li>Any anonymous <a href="#ruby-base-box"><i>ruby base</i></a>
630-
containing only white space immediately following a <a
630+
containing only white space that both immediately follows a <a
631631
href="#ruby-annotation-box"><i>ruby annotation</i></a> or <a
632632
href="#ruby-annotation-container-box"><i>ruby annotation
633-
container</i></a> and immediately followed by a <a
633+
container</i></a> and is immediately followed by a <a
634634
href="#ruby-base-box"><i>ruby base</i></a> or <a
635635
href="#ruby-base-container-box"><i>ruby base container</i></a> is
636636
labelled as <dfn id=inter-segment-white-space>inter-segment white
637637
space</dfn> (and treated specially for pairing and layout, see below).
638638

639639
<li>Any anonymous <a href="#ruby-base-box"><i>ruby base</i></a>
640-
containing only white space both immediately following and immediately
641-
followed by a <a href="#ruby-base-box"><i>ruby base</i></a> is labelled
642-
as <dfn id=inter-base-white-space>inter-base white space</dfn> (and
643-
treated specially for pairing and layout, see below).
640+
containing only white space that is both immediately follows and is
641+
immediately followed by a <a href="#ruby-base-box"><i>ruby base</i></a>
642+
is labelled as <dfn id=inter-base-white-space>inter-base white
643+
space</dfn> (and treated specially for pairing and layout, see below).
644644

645645
<li>Any anonymous <a href="#ruby-annotation-box"><i>ruby
646-
annotation</i></a> containing only white space both immediately
647-
following and immediately followed by a <a
646+
annotation</i></a> containing only white space that is both immediately
647+
follows and is immediately followed by a <a
648648
href="#ruby-annotation-box"><i>ruby annotation</i></a> is labelled as
649649
<dfn id=inter-annotation-white-space>inter-annotation white space</dfn>
650650
(and treated specially for pairing and layout, see below).

css-ruby/Overview.src.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,9 @@ <h3 id="box-fixup">
310310

311311
<dt id="anon-gen-discard-space">Remove inter-level white space
312312
<dd>
313-
Any anonymous <i>ruby base</i> containing only white space
314-
immediately following a box of type A
315-
and immediately followed by at box of its corresponding type B
313+
Any anonymous <i>ruby base</i> containing only white space that
314+
both immediately follows a box of type A
315+
and is immediately followed by at box of its corresponding type B
316316
as defined in the table below
317317
is removed, as if it had ''display: none''.
318318
<table class="data">
@@ -333,19 +333,19 @@ <h3 id="box-fixup">
333333
<dt id="anon-gen-interpret-space">Interpret intra-level white space
334334
<dd>
335335
<ul>
336-
<li>Any anonymous <i>ruby base</i> containing only white space
337-
immediately following a <i>ruby annotation</i> or <i>ruby annotation container</i>
338-
and immediately followed by a <i>ruby base</i> or <i>ruby base container</i>
336+
<li>Any anonymous <i>ruby base</i> containing only white space that
337+
both immediately follows a <i>ruby annotation</i> or <i>ruby annotation container</i>
338+
and is immediately followed by a <i>ruby base</i> or <i>ruby base container</i>
339339
is labelled as <dfn>inter-segment white space</dfn>
340340
(and treated specially for pairing and layout, see below).
341341

342-
<li>Any anonymous <i>ruby base</i> containing only white space
343-
both immediately following and immediately followed by a <i>ruby base</i>
342+
<li>Any anonymous <i>ruby base</i> containing only white space that is
343+
both immediately follows and is immediately followed by a <i>ruby base</i>
344344
is labelled as <dfn>inter-base white space</dfn>
345345
(and treated specially for pairing and layout, see below).
346346

347-
<li>Any anonymous <i>ruby annotation</i> containing only white space
348-
both immediately following and immediately followed by a <i>ruby annotation</i>
347+
<li>Any anonymous <i>ruby annotation</i> containing only white space that is
348+
both immediately follows and is immediately followed by a <i>ruby annotation</i>
349349
is labelled as <dfn>inter-annotation white space</dfn>
350350
(and treated specially for pairing and layout, see below).
351351
</ul>

0 commit comments

Comments
 (0)