NEW285012
Accents should be removed from uppercase Greek texts
https://bugs.webkit.org/show_bug.cgi?id=285012
Summary Accents should be removed from uppercase Greek texts
Heracles
Reported 2024-12-20 03:30:44 PST
In Safarii, when the lang attribute is set to Greek (`lang="el"`), the `text-transform: uppercase;` CSS rule converts the text to uppercase the accents are visible, which is incorrect. In the current implementation of both Firefox and Chrome, accents are correctly removed in the visual display. Copying the respective text, the clipboard is in the original case, with the accents as expected. See respective the respective threads for additional context: - Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=307039 - Chromium: https://issues.chromium.org/issues/40314846
Attachments
Alexey Proskuryakov
Comment 1 2024-12-23 13:08:40 PST
Thank you for the report. Could you please attach a specific test case that this bug should be tracking? There was a lot discussed in the 19 year old Mozilla bug, and any attempt at guessing about what to fix could go wrong.
Radar WebKit Bug Importer
Comment 2 2024-12-27 03:31:12 PST
Heracles
Comment 3 2025-01-03 02:24:37 PST
Updating with “prototype code” and examples from the Unicode Consortium’s ICU: https://icu.unicode.org/design/case/greek-upper#h.hl3j1yh4uakq Not all accents should be removed when the text is in full-caps, as there are certain notable exceptions such as the single word ` ή ` (used to link alternatives, translates to ` or `) which retains the accent when capitalized: `Ή` and characters with dialytika (diaeresis). Those cases are included in the previous link.
Note You need to log in before you can comment on or make changes to this bug.