Skip to content

Commit 78ff5bf

Browse files
committed
1 parent 09d0c42 commit 78ff5bf

2 files changed

Lines changed: 35 additions & 35 deletions

File tree

css-ruby/Overview.bs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1523,27 +1523,27 @@ Appendix A: Default Style Sheet</h2>
15231523
for rendering HTML and XHTML ruby markup as ruby layout:
15241524

15251525
<pre>
1526-
ruby { display: ruby; }
1527-
ruby > rp { display: none; }
1528-
ruby > rbc { display: ruby-base-container; }
1529-
ruby > rtc { display: ruby-text-container; }
1530-
ruby > rb, rbc > rb { display: ruby-base; white-space: nowrap; }
1531-
ruby > rt, rtc > rt { display: ruby-text; }
1526+
ruby { display: ruby; }
1527+
rp { display: none; }
1528+
rbc { display: ruby-base-container; }
1529+
rtc { display: ruby-text-container; }
1530+
rb { display: ruby-base; white-space: nowrap; }
1531+
rt { display: ruby-text; }
15321532
ruby, rb, rt, rbc, rtc { unicode-bidi: isolate; }
15331533

1534-
1535-
rtc:lang(zh), rt:lang(zh) {
1536-
ruby-align: center; }
1537-
ruby > rtc, ruby > rt, rtc > rt {
1534+
rtc, rt {
15381535
font-variant-east-asian: ruby; /* See [[CSS3-FONTS]] */
15391536
text-emphasis: none; /* See [[CSS3-TEXT-DECOR]] */
15401537
white-space: nowrap;
1541-
line-height: 1;
1538+
line-height: 1; }
1539+
rtc:lang(zh), rt:lang(zh) {
1540+
ruby-align: center; }
1541+
1542+
rtc, :not(rtc) > rt {
15421543
font-size: 50%; }
1543-
rtc:lang(zh-TW), rt:lang(zh-TW) {
1544+
rtc:lang(zh-TW), :not(rtc) > rt:lang(zh-TW) {
15441545
font-size: 30%; } /* bopomofo */
1545-
rtc > rt {
1546-
font-size: inherit; }</pre>
1546+
</pre>
15471547

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

css-ruby/Overview.html

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<h1 class="p-name no-ref" id="title">CSS Ruby Layout Module Level 1</h1>
7575

7676
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft,
77-
<time class="dt-updated" datetime="2015-02-24">24 February 2015</time></span></h2>
77+
<time class="dt-updated" datetime="2015-04-16">16 April 2015</time></span></h2>
7878

7979
<div data-fill-with="spec-metadata">
8080
<dl>
@@ -2179,27 +2179,27 @@ <h3 class="no-num heading settled" id="default-ua-ruby"><span class="content">
21792179
for rendering HTML and XHTML ruby markup as ruby layout:
21802180

21812181
</p>
2182-
<pre>ruby { display: ruby; }
2183-
ruby > rp { display: none; }
2184-
ruby > rbc { display: ruby-base-container; }
2185-
ruby > rtc { display: ruby-text-container; }
2186-
ruby > rb, rbc > rb { display: ruby-base; white-space: nowrap; }
2187-
ruby > rt, rtc > rt { display: ruby-text; }
2182+
<pre>ruby { display: ruby; }
2183+
rp { display: none; }
2184+
rbc { display: ruby-base-container; }
2185+
rtc { display: ruby-text-container; }
2186+
rb { display: ruby-base; white-space: nowrap; }
2187+
rt { display: ruby-text; }
21882188
ruby, rb, rt, rbc, rtc { unicode-bidi: isolate; }
21892189

2190-
2191-
rtc:lang(zh), rt:lang(zh) {
2192-
ruby-align: center; }
2193-
ruby > rtc, ruby > rt, rtc > rt {
2190+
rtc, rt {
21942191
font-variant-east-asian: ruby; /* See [[CSS3-FONTS]] */
21952192
text-emphasis: none; /* See [[CSS3-TEXT-DECOR]] */
21962193
white-space: nowrap;
2197-
line-height: 1;
2194+
line-height: 1; }
2195+
rtc:lang(zh), rt:lang(zh) {
2196+
ruby-align: center; }
2197+
2198+
rtc, :not(rtc) > rt {
21982199
font-size: 50%; }
2199-
rtc:lang(zh-TW), rt:lang(zh-TW) {
2200+
rtc:lang(zh-TW), :not(rtc) > rt:lang(zh-TW) {
22002201
font-size: 30%; } /* bopomofo */
2201-
rtc > rt {
2202-
font-size: inherit; }</pre>
2202+
</pre>
22032203

22042204

22052205
<p class="note" role="note">Authors should not use the above rules:
@@ -2627,13 +2627,13 @@ <h3 class="no-num heading settled" id="normative"><span class="content">Normativ
26272627
<dd>Elika J. Etemad; Koji Ishii. <a href="http://www.w3.org/TR/2013/CR-css-text-decor-3-20130801/">CSS Text Decoration Module Level 3</a>. 1 August 2013. W3C Candidate Recommendation. (Work in progress.) URL: <a href="http://www.w3.org/TR/2013/CR-css-text-decor-3-20130801/">http://www.w3.org/TR/2013/CR-css-text-decor-3-20130801/</a>
26282628
<dt id="biblio-css3text"><a class="self-link" href="#biblio-css3text"></a>[CSS3TEXT]
26292629
<dd>Elika J. Etemad; Koji Ishii. <a href="http://www.w3.org/TR/2012/WD-css3-text-20121113/">CSS Text Module Level 3</a>. 13 November 2012. W3C Working Draft. (Work in progress.) URL: <a href="http://www.w3.org/TR/2012/WD-css3-text-20121113/">http://www.w3.org/TR/2012/WD-css3-text-20121113/</a>
2630-
<dt id="biblio-css-display-3"><a class="self-link" href="#biblio-css-display-3"></a>[css-display-3]
2630+
<dt id="biblio-css-display-3"><a class="self-link" href="#biblio-css-display-3"></a>[CSS-DISPLAY-3]
26312631
<dd>Tab Atkins Jr.; Elika Etemad. <a href="http://www.w3.org/TR/css-display-3/">CSS Display Module Level 3</a>. 11 September 2014. WD. URL: <a href="http://www.w3.org/TR/css-display-3/">http://www.w3.org/TR/css-display-3/</a>
2632-
<dt id="biblio-css-text-3"><a class="self-link" href="#biblio-css-text-3"></a>[css-text-3]
2632+
<dt id="biblio-css-text-3"><a class="self-link" href="#biblio-css-text-3"></a>[CSS-TEXT-3]
26332633
<dd>Elika Etemad; Koji Ishii. <a href="http://www.w3.org/TR/css-text-3/">CSS Text Module Level 3</a>. 10 October 2013. LCWD. URL: <a href="http://www.w3.org/TR/css-text-3/">http://www.w3.org/TR/css-text-3/</a>
2634-
<dt id="biblio-css-writing-modes-3"><a class="self-link" href="#biblio-css-writing-modes-3"></a>[css-writing-modes-3]
2634+
<dt id="biblio-css-writing-modes-3"><a class="self-link" href="#biblio-css-writing-modes-3"></a>[CSS-WRITING-MODES-3]
26352635
<dd>Elika Etemad; Koji Ishii. <a href="http://www.w3.org/TR/css-writing-modes-3/">CSS Writing Modes Level 3</a>. 20 March 2014. CR. URL: <a href="http://www.w3.org/TR/css-writing-modes-3/">http://www.w3.org/TR/css-writing-modes-3/</a>
2636-
<dt id="biblio-rfc2119"><a class="self-link" href="#biblio-rfc2119"></a>[rfc2119]
2636+
<dt id="biblio-rfc2119"><a class="self-link" href="#biblio-rfc2119"></a>[RFC2119]
26372637
<dd>S. Bradner. <a href="https://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>. March 1997. Best Current Practice. URL: <a href="https://tools.ietf.org/html/rfc2119">https://tools.ietf.org/html/rfc2119</a>
26382638
</dl>
26392639
<h3 class="no-num heading settled" id="informative"><span class="content">Informative References</span><a class="self-link" href="#informative"></a></h3>
@@ -2644,9 +2644,9 @@ <h3 class="no-num heading settled" id="informative"><span class="content">Inform
26442644
<dd>Håkon Wium Lie; Tab Atkins; Elika J. Etemad. <a href="http://www.w3.org/TR/2013/CR-css3-values-20130730/">CSS Values and Units Module Level 3</a>. 30 July 2013. W3C Candidate Recommendation. (Work in progress.) URL: <a href="http://www.w3.org/TR/2013/CR-css3-values-20130730/">http://www.w3.org/TR/2013/CR-css3-values-20130730/</a>
26452645
<dt id="biblio-jis4051"><a class="self-link" href="#biblio-jis4051"></a>[JIS4051]
26462646
<dd>Formatting rules for Japanese documents (『日本語文書の組版方法』). 2004. In Japanese
2647-
<dt id="biblio-jlreq"><a class="self-link" href="#biblio-jlreq"></a>[jlreq]
2647+
<dt id="biblio-jlreq"><a class="self-link" href="#biblio-jlreq"></a>[JLREQ]
26482648
<dd>Yasuhiro Anan; et al. <a href="http://www.w3.org/TR/jlreq/">Requirements for Japanese Text Layout</a>. 3 April 2012. NOTE. URL: <a href="http://www.w3.org/TR/jlreq/">http://www.w3.org/TR/jlreq/</a>
2649-
<dt id="biblio-ruby"><a class="self-link" href="#biblio-ruby"></a>[ruby]
2649+
<dt id="biblio-ruby"><a class="self-link" href="#biblio-ruby"></a>[RUBY]
26502650
<dd>Marcin Sawicki; et al. <a href="http://www.w3.org/TR/ruby/">Ruby Annotation</a>. 31 May 2001. REC. URL: <a href="http://www.w3.org/TR/ruby/">http://www.w3.org/TR/ruby/</a>
26512651
</dl>
26522652
<h2 class="no-num heading settled" id="property-index"><span class="content">Property Index</span><a class="self-link" href="#property-index"></a></h2>

0 commit comments

Comments
 (0)