Skip to content

Commit 1217fe1

Browse files
committed
[css-ruby] Add rule to trim leading/trailing white space
1 parent 17997ae commit 1217fe1

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

css-ruby/Overview.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,14 @@ <h3 id=box-fixup><span class=secno>2.2. </span> Anonymous Ruby Box
568568
href="http://lists.w3.org/Archives/Public/www-style/2013Sep/0160.html">wrapping
569569
content</a> within ruby annotations anyway.
570570

571+
<dt id=anony-gen-trim-space>Trim leading/trailing white space
572+
573+
<dd> Any white space within a ruby structure is discarded at the beginning
574+
and end of a <a href="#ruby-container-box"><i>ruby container</i></a>, <a
575+
href="#ruby-annotation-container-box"><i>ruby annotation
576+
container</i></a>, or <a href="#ruby-base-container-box"><i>ruby base
577+
container</i></a>.
578+
571579
<dt id=anon-gen-bare-inlines>Wrap misparented inline-level content
572580

573581
<dd> Any consecutive sequence of text and inline-level boxes directly

css-ruby/Overview.src.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,12 @@ <h3 id="box-fixup">
299299
since we might need to handle
300300
<a href="http://lists.w3.org/Archives/Public/www-style/2013Sep/0160.html">wrapping content</a> within ruby annotations anyway.
301301

302+
<dt id="anony-gen-trim-space">Trim leading/trailing white space
303+
<dd>
304+
Any white space within a ruby structure is discarded
305+
at the beginning and end of
306+
a <i>ruby container</i>, <i>ruby annotation container</i>, or <i>ruby base container</i>.
307+
302308
<dt id="anon-gen-bare-inlines">Wrap misparented inline-level content
303309
<dd>
304310
Any consecutive sequence of text and inline-level boxes

0 commit comments

Comments
 (0)