- From: Makoto Kato via GitHub <sysbot+gh@w3.org>
- Date: Tue, 03 Oct 2023 00:17:26 +0000
- To: public-css-archive@w3.org
makotokato has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-text] line-break: strict should use UAX#14 rule? == Mozilla is working to replace old line breaking code with [UAX#14 ](https://www.unicode.org/reports/tr14/) compatible line breaking rules. Although Blink and WebKit use ICU4C to implement line breaking, both uses different rules with Unicode Standard Annex (See https://bugzilla.mozilla.org/show_bug.cgi?id=1848049 for details) for ASCII characters when checking behavior. According to [code comment](https://searchfox.org/wubkat/rev/cd25edd92284ea5ea247483e66b404c0774949b2/Source/WebCore/rendering/BreakLines.cpp#53), it seems to be for a compatibility of old browsers. So when using ASCII character, it doesn't match with UAX#14. Example, https://wpt.fyi/results/css/css-text/i18n/css3-text-line-break-baspglwj-026.html?label=experimental&label=master&aligned is failed on WebKit and Blink now. So I think that we should use UAX#14 rules if `line-break: strict`. It is clear for line breaking compatibility for future. How do you think? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9432 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 3 October 2023 00:17:28 UTC