Skip to content

Commit 215608c

Browse files
committed
Fix default UA stylesheet for text-underline-position
1 parent 6b17c08 commit 215608c

2 files changed

Lines changed: 20 additions & 10 deletions

File tree

css3-text/Overview.html

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232

3333
<h1>CSS Text Level 3</h1>
3434

35-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 2 May 2012</h2>
35+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 5 May 2012</h2>
3636

3737
<dl>
3838
<dt>This version:
3939

4040
<dd><a href="http://dev.w3.org/csswg/css3-text/">$Date$ (CVS
4141
$Revision$)</a> <!--
42-
<dd><a href="http://www.w3.org/TR/2012/WD-css3-text-20120502/">http://www.w3.org/TR/2012/WD-css3-text-20120502/</a></dd>
42+
<dd><a href="http://www.w3.org/TR/2012/WD-css3-text-20120505/">http://www.w3.org/TR/2012/WD-css3-text-20120505/</a></dd>
4343
-->
4444

4545

@@ -3969,8 +3969,8 @@ <h4 id=text-underline-position><span class=secno>10.1.6. </span> Text
39693969
with the appropriate underline positions in both horizontal and vertical
39703970
text:
39713971

3972-
<pre>:lang(ja), :lang(ko) { text-underline-position: below right; }
3973-
<!-- -->:lang(zh) { text-underline-position: below left; }</pre>
3972+
<pre>:root:lang(ja), [lang|=ja], :root:lang(ko), [lang|=ko] { text-underline-position: below right; }
3973+
<!-- -->:root:lang(zh), [lang|=zh] { text-underline-position: below left; }</pre>
39743974
</div>
39753975

39763976
<div class=note>
@@ -5003,10 +5003,15 @@ <h2 class=no-num id=default-stylesheet>Appendix D: Default UA Stylesheet</h2>
50035003
<!-- --> text-emphasis-position: below right;
50045004
<!-- -->}
50055005
<!-- -->
5006-
<!-- -->:root:lang(zh), [lang|=zh] {
5007-
<!-- -->/* default underline position is 'below left' for Japanese and Korean */
5006+
<!-- -->:root:lang(ja), [lang|=ja], :root:lang(ko), [lang|=ko] {
5007+
<!-- -->/* default underline position is 'below right' for Japanese and Korean */
50085008
<!-- --> text-underline-position: below right;
50095009
<!-- -->}
5010+
<!-- -->
5011+
<!-- -->:root:lang(zh), [lang|=zh] {
5012+
<!-- -->/* default underline position is 'below left' for Chinese */
5013+
<!-- --> text-underline-position: below left;
5014+
<!-- -->}
50105015
</code></pre>
50115016
</div>
50125017

css3-text/Overview.src.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2989,8 +2989,8 @@ <h4 id="text-underline-position">
29892989
<p>The following example styles modern Chinese, Japanese, and Korean
29902990
texts with the appropriate underline positions in both horizontal
29912991
and vertical text:
2992-
<pre>:lang(ja), :lang(ko) { text-underline-position: below right; }
2993-
<!-- -->:lang(zh) { text-underline-position: below left; }</pre>
2992+
<pre>:root:lang(ja), [lang|=ja], :root:lang(ko), [lang|=ko] { text-underline-position: below right; }
2993+
<!-- -->:root:lang(zh), [lang|=zh] { text-underline-position: below left; }</pre>
29942994
</div>
29952995

29962996
<div class="note">
@@ -3683,10 +3683,15 @@ <h2 class="no-num" id="default-stylesheet">Appendix D: Default UA Stylesheet</h2
36833683
<!-- --> text-emphasis-position: below right;
36843684
<!-- -->}
36853685
<!-- -->
3686-
<!-- -->:root:lang(zh), [lang|=zh] {
3687-
<!-- -->/* default underline position is 'below left' for Japanese and Korean */
3686+
<!-- -->:root:lang(ja), [lang|=ja], :root:lang(ko), [lang|=ko] {
3687+
<!-- -->/* default underline position is 'below right' for Japanese and Korean */
36883688
<!-- --> text-underline-position: below right;
36893689
<!-- -->}
3690+
<!-- -->
3691+
<!-- -->:root:lang(zh), [lang|=zh] {
3692+
<!-- -->/* default underline position is 'below left' for Chinese */
3693+
<!-- --> text-underline-position: below left;
3694+
<!-- -->}
36903695
</code></pre>
36913696
</div>
36923697
<p class="issue">If you find any issues, recommendations to add, or corrections,

0 commit comments

Comments
 (0)