Skip to content

Commit 64bb2ea

Browse files
committed
[css-ruby] Fixed Default Style Sheet additional rules to include rtc
1 parent 0ed6b01 commit 64bb2ea

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

css-ruby/Overview.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,8 @@ <h3 class="heading settled" data-level=3.6 id=ruby-size><span class=secno>3.6. <
10161016
However, UA may increase the font size when the it is too small to read,
10171017
or decrease if the text is too large to avoid ruby annotation being too large.
10181018
Also, the 'ruby-position: inter-character' usually require different font size such as 25% or 33%.
1019-
<p>This level of the specification does not provide a mechanism to control the size of <i>ruby annotations</i>.
1019+
<p>This level of the specification does not provide a mechanism to control the size of <i>ruby annotations</i>
1020+
relative to <i>ruby base</i>.
10201021

10211022
<h2 class="heading settled" data-level=4 id=ruby-props><span class=secno>4. </span><span class=content>
10221023
Ruby Formatting Properties</span><a class=self-link href=#ruby-props></a></h2>
@@ -1428,7 +1429,7 @@ <h3 class="no-num heading settled" id=default-ua-ruby><span class=content>
14281429
ruby, rb, rt, rbc, rtc { unicode-bidi: isolate; }</pre>
14291430

14301431
<p>Additional rules for UAs supporting the relevant features of <a data-biblio-type=informative data-link-type=biblio href=#biblio-css3-text-decor title=CSS3-TEXT-DECOR>[CSS3-TEXT-DECOR]</a> and <a data-biblio-type=informative data-link-type=biblio href=#biblio-css3-fonts title=CSS3-FONTS>[CSS3-FONTS]</a>:
1431-
<pre>rt { font-variant-east-asian: ruby; text-emphasis: none; }</pre>
1432+
<pre>rtc, rt { font-variant-east-asian: ruby; text-emphasis: none; }</pre>
14321433

14331434
<p class=note role=note>Authors should not use the above rules;
14341435
a UA that supports ruby layout should provide these by default.

css-ruby/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,7 @@ <h3 id="default-ua-ruby" class="no-num">
15181518
<!-- -->ruby, rb, rt, rbc, rtc { unicode-bidi: isolate; }</pre>
15191519

15201520
<p>Additional rules for UAs supporting the relevant features of [[CSS3-TEXT-DECOR]] and [[CSS3-FONTS]]:
1521-
<pre>rt { font-variant-east-asian: ruby; text-emphasis: none; }</pre>
1521+
<pre>rtc, rt { font-variant-east-asian: ruby; text-emphasis: none; }</pre>
15221522

15231523
<p class="note">Authors should not use the above rules;
15241524
a UA that supports ruby layout should provide these by default.

0 commit comments

Comments
 (0)