Skip to content

Commit df29597

Browse files
committed
[css-ruby] Rename ruby-merge: collapse to ruby-merge: merge
Closes #5004
1 parent 396d0cf commit df29597

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

css-ruby-1/Overview.bs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ What is ruby?</h3>
130130
the spacing between these Kanji characters is adjusted.
131131
(This happens around the fourth Kanji character in the figure above.)
132132
To avoid variable spacing between the Kanji characters in the example above
133-
the hiragana annotations can be styled as a [=collapsed annotation=],
133+
the hiragana annotations can be styled as a [=merged annotation=],
134134
which will look more like the group-ruby example earlier.
135135
However because the base-annotation [=pairings=] are recorded in the ruby structure,
136136
if the text breaks across lines, the annotation characters will stay
@@ -561,7 +561,7 @@ Autohiding Base-identical Annotations</h3>
561561
</div>
562562
</div>
563563

564-
When the computed value of 'ruby-merge' is ''collapse'',
564+
When the computed value of 'ruby-merge' is ''merge'',
565565
the autohiding is disabled.
566566
When the computed value of 'ruby-merge' is ''ruby-merge/auto'',
567567
the user agent may decide whether to autohide or not,
@@ -1011,7 +1011,7 @@ Sharing Annotation Space: the 'ruby-merge' property</h3>
10111011

10121012
<pre class="propdef">
10131013
Name: ruby-merge
1014-
Value: separate | collapse | auto
1014+
Value: separate | merge | auto
10151015
Initial: separate
10161016
Applies to: ruby annotation containers
10171017
Inherited: yes
@@ -1022,7 +1022,7 @@ Sharing Annotation Space: the 'ruby-merge' property</h3>
10221022
This property controls how ruby annotation boxes should be rendered
10231023
when there are more than one in a ruby container box:
10241024
whether each pair should be kept separate,
1025-
the annotations should be <dfn lt="collapsed annotation">collapsed</dfn> and rendered as a group,
1025+
the annotations should be <dfn lt="merged annotation">merged</dfn> and rendered as a group,
10261026
or the separation should be determined based on the space available.
10271027

10281028
Possible values:
@@ -1040,7 +1040,7 @@ Sharing Annotation Space: the 'ruby-merge' property</h3>
10401040
</div>
10411041
</dd>
10421042

1043-
<dt><dfn>collapse</dfn>
1043+
<dt><dfn>merge</dfn>
10441044
<dd>
10451045
All [=ruby annotation boxes=] within the same [=ruby segment=] on the same line are concatenated,
10461046
and laid out as if their contents belonged to a single [=ruby annotation box=]
@@ -1052,7 +1052,7 @@ Sharing Annotation Space: the 'ruby-merge' property</h3>
10521052
The following two markups render the same both characters fit on one line:
10531053
<pre highlight=html>&lt;ruby&gt;無常&lt;rt&gt;むじょう&lt;/ruby&gt;</pre>
10541054
and:
1055-
<pre highlight=html>&lt;ruby style="ruby-merge:collapse"&gt;&lt;rb&gt;無&lt;rb&gt;常&lt;rt&gt;む&lt;rt&gt;じょう&lt;/ruby&gt;</pre>
1055+
<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>
10561056
However, the second one renders the same as ''ruby-position: separate''
10571057
when the two bases are split across lines.
10581058
</div>
@@ -1074,7 +1074,7 @@ Sharing Annotation Space: the 'ruby-merge' property</h3>
10741074
Another, more simplified algorithm of “jukugo ruby” is
10751075
to render as ''separate'' if all ruby annotation boxes fit
10761076
within the advances of their corresponding base boxes,
1077-
and render as ''collapse'' otherwise.
1077+
and render as ''merge'' otherwise.
10781078
</div>
10791079
</dd>
10801080
</dl>
@@ -1671,7 +1671,7 @@ Changes since the 5 August 2014 WD</h3>
16711671
<li>Add back ''ruby-overhang: auto | none'' for basic control over ruby overhang behavior.
16721672
<li>Harmonize inlinification with the <a href="https://www.w3.org/TR/css-display-3/">CSS Display Module</a>.
16731673
<li>Allow UA to shift ruby/emphasis marks if they conflict with underlines/overlines.
1674-
<li>Disable auto-hiding when the computed value of 'ruby-merge' is ''collapse''.
1674+
<li>Disable auto-hiding when the computed value of 'ruby-merge' is <code>collapse</code>.
16751675
<li>Tweak the <a href="#default-stylesheet">default style sheet</a>.
16761676
<li>Add section defining interaction with <a href="#ruby-text-decoration">text decoration</a>.
16771677
<li>Defer the <css>right</css> and <css>left</css> values of 'ruby-position' to the next level.

0 commit comments

Comments
 (0)