Skip to content

Commit c7ca2e5

Browse files
committed
[css-text-decor] Use 'auto' rather than 'over' in UA default rules to avoid compat problems. <https://www.w3.org/mid/5C756B1C-F03B-4CA7-8796-7A6EEBC34C32@apple.com>
1 parent a002e12 commit c7ca2e5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

css-text-decor/Overview.bs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -944,9 +944,10 @@ Appendix B: Default UA Stylesheet</h2>
944944

945945
/* set language-appropriate default underline position */
946946
:root:lang(ja), [lang|=ja],
947-
:root:lang(ko), [lang|=ko] { text-underline-position: under right; }
947+
:root:lang(ko), [lang|=ko] { text-underline-position: auto right; }
948948
:root:lang(zh), [lang|=zh],
949-
:root:lang(mn), [lang|=mn] { text-underline-position: under left; }
949+
:root:lang(mn), [lang|=mn] { text-underline-position: auto left; }
950+
/* auto is used above instead of under due to content-compatibility concerns */
950951
[lang]:not([lang|=zh], [lang|=ja], [lang|=ko], [lang|=mn]) {
951952
text-underline-position: auto;
952953
}
@@ -956,7 +957,7 @@ Appendix B: Default UA Stylesheet</h2>
956957
<p class="issue">
957958
If you find any issues, recommendations to add, or corrections,
958959
please send the information to <a href="mailto:www-style@w3.org">www-style@w3.org</a>
959-
with <kbd>[SHORTNAME]</kbd> in the subject line.
960+
with <kbd>[css-text-decor]</kbd> in the subject line.
960961

961962
<div class='example'>
962963
<p>

0 commit comments

Comments
 (0)