@@ -938,18 +938,18 @@ Appendix B: Default UA Stylesheet</h2>
938
938
rt { text-emphasis: none; }
939
939
940
940
/* 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; }
947
943
948
944
/* 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;
951
951
}
952
- </code></pre>
952
+ </code></pre>
953
953
</div>
954
954
955
955
<p class="issue">
@@ -993,4 +993,5 @@ Changes</h2>
993
993
(<a href="https://www.w3.org/mid/56E86D82.10606@inkedblade.net">Issue</a> )
994
994
<li> Added note to indicate that initial behavior of 'text-decoration-skip' with respect to leading and trailing spaces may change.
995
995
<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' .
996
997
</ul>
0 commit comments