commit d976bdc35cd967fcf0920800e3b0cc2468e1abbd
parent 264a5e93188a679f0118ec124347f2ee00806586
Author: Jonathan Kew <jkew@mozilla.com>
Date: Wed, 15 Oct 2025 21:18:39 +0000
Bug 1980101 - Apply text-decoration-trim:auto by default to links in CJK content. r=layout-jp-market-reviewers,AlaskanEmily
Differential Revision: https://phabricator.services.mozilla.com/D268710
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/layout/style/res/ua.css b/layout/style/res/ua.css
@@ -158,6 +158,12 @@
text-decoration: underline;
}
+:any-link:lang(ja),
+:any-link:lang(ko),
+:any-link:lang(zh) {
+ text-decoration-trim: auto;
+}
+
:link {
color: LinkText;
}