Skip to content

Commit 7b6ed36

Browse files
committed
[css-ruby-1] Compact example.
1 parent d62a15d commit 7b6ed36

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

css-ruby-1/Overview.bs

+10-9
Original file line numberDiff line numberDiff line change
@@ -1353,10 +1353,10 @@ Sharing Annotation Space: the 'ruby-merge' property</h3>
13531353
This style is called “mono ruby” in [[JLREQ]].
13541354

13551355
<div class="example">
1356-
For example, the following two markups render the same:
1357-
<pre highlight=html>&lt;ruby&gt;無&lt;rt&gt;む&lt;/ruby&gt;&lt;ruby&gt;常&lt;rt&gt;じょう&lt;/ruby&gt;</pre>
1358-
and:
1359-
<pre highlight=html>&lt;ruby style="ruby-merge:separate"&gt;&lt;rb&gt;無&lt;rb&gt;常&lt;rt&gt;む&lt;rt&gt;じょう&lt;/ruby&gt;</pre>
1356+
For example, the following two lines render the same:
1357+
<pre highlight=html>
1358+
&lt;p>&lt;ruby&gt;無&lt;rt&gt;む&lt;/ruby&gt;&lt;ruby&gt;常&lt;rt&gt;じょう&lt;/ruby&gt;
1359+
&lt;p>&lt;ruby style="ruby-merge:separate"&gt;&lt;rb&gt;無&lt;rb&gt;常&lt;rt&gt;む&lt;rt&gt;じょう&lt;/ruby&gt;</pre>
13601360
</div>
13611361
</dd>
13621362

@@ -1370,10 +1370,11 @@ Sharing Annotation Space: the 'ruby-merge' property</h3>
13701370
except that [=ruby annotations=] are kept together with their respective [=ruby bases=] when breaking lines.
13711371

13721372
<div class="example">
1373-
The following two markups render the same both characters fit on one line:
1374-
<pre highlight=html>&lt;ruby&gt;無常&lt;rt&gt;むじょう&lt;/ruby&gt;</pre>
1375-
and:
1376-
<pre highlight=html>&lt;ruby style="ruby-merge:merge"&gt;&lt;rb&gt;無&lt;rb&gt;常&lt;rt&gt;む&lt;rt&gt;じょう&lt;/ruby&gt;</pre>
1373+
The following two lines render the same
1374+
if both characters fit on one line:
1375+
<pre highlight=html>
1376+
&lt;p>&lt;ruby&gt;無常&lt;rt&gt;むじょう&lt;/ruby&gt;
1377+
&lt;p>&lt;ruby style="ruby-merge:merge"&gt;&lt;rb&gt;無&lt;rb&gt;常&lt;rt&gt;む&lt;rt&gt;じょう&lt;/ruby&gt;</pre>
13771378
However, the second one renders the same as ''ruby-position: separate''
13781379
when the two bases are split across lines.
13791380
</div>
@@ -1411,7 +1412,7 @@ Sharing Annotation Space: the 'ruby-merge' property</h3>
14111412
across [=ruby annotations=] or [=ruby base|bases=],
14121413
even merged ones,
14131414
due to [=bidi isolation=].
1414-
See [[#bidi]] and [[#css-text-3#boundary-shaping]].
1415+
See [[#bidi]] and [[css-text-3#boundary-shaping]].
14151416

14161417
<h3 id="ruby-align-property"><span id="rubyalign"></span>
14171418
Ruby Text Distribution: the 'ruby-align' property</h3>

0 commit comments

Comments
 (0)