Skip to content

Commit 1c0540a

Browse files
committed
1 parent 183f954 commit 1c0540a

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

css-text-decor/Overview.bs

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -938,18 +938,18 @@ Appendix B: Default UA Stylesheet</h2>
938938
rt { text-emphasis: none; }
939939

940940
/* set language-appropriate default emphasis mark position */
941-
:root:lang(zh), [lang|=zh] {
942-
text-emphasis-position: under right;
943-
}
944-
:root:lang(ja), [lang|=ja], :root:lang(ko), [lang|=ko] {
945-
text-underline-position: under right;
946-
}
941+
:root:lang(zh), [lang|=zh] { text-emphasis-position: under right; }
942+
[lang|=ja] { text-emphasis-position: over right; }
947943

948944
/* set language-appropriate default underline position */
949-
:root:lang(zh), [lang|=zh] {
950-
text-underline-position: under left;
945+
:root:lang(ja), [lang|=ja],
946+
:root:lang(ko), [lang|=ko] { text-underline-position: under right; }
947+
:root:lang(zh), [lang|=zh],
948+
:root:lang(mn), [lang|=mn] { text-underline-position: under left; }
949+
[lang]:not([lang|=zh], [lang|=ja], [lang|=ko], [lang|=mn]) {
950+
text-underline-position: auto;
951951
}
952-
</code></pre>
952+
</code></pre>
953953
</div>
954954

955955
<p class="issue">
@@ -993,4 +993,5 @@ Changes</h2>
993993
(<a href="https://www.w3.org/mid/56E86D82.10606@inkedblade.net">Issue</a>)
994994
<li>Added note to indicate that initial behavior of 'text-decoration-skip' with respect to leading and trailing spaces may change.
995995
<li>Fixed “Computed value” line for 'text-shadow'.
996+
<li>Various corrections to the default UA rules for 'text-emphasis-position' and 'text-underline-position'.
996997
</ul>

0 commit comments

Comments
 (0)