tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 12627c518f6f6cd23e271c5a9cb71779190223ac
parent d976bdc35cd967fcf0920800e3b0cc2468e1abbd
Author: Jonathan Kew <jkew@mozilla.com>
Date:   Wed, 15 Oct 2025 21:18:40 +0000

Bug 1980101 - Apply text-decoration-trim:auto to underline and strikethrough elements in CJK languages. r=layout-jp-market-reviewers,AlaskanEmily

Differential Revision: https://phabricator.services.mozilla.com/D268711

Diffstat:
Mlayout/style/res/html.css | 18++++++++++++++++++
1 file changed, 18 insertions(+), 0 deletions(-)

diff --git a/layout/style/res/html.css b/layout/style/res/html.css @@ -527,6 +527,24 @@ del { text-decoration: line-through; } +u:lang(ja), +u:lang(ko), +u:lang(zh), +s:lang(ja), +s:lang(ko), +s:lang(zh), +ins:lang(ja), +ins:lang(ko), +ins:lang(zh), +del:lang(ja), +del:lang(ko), +del:lang(zh), +strike:lang(ja), +strike:lang(ko), +strike:lang(zh) { + text-decoration-trim: auto; +} + big { font-size: larger; }