Bug 228992 - Dutch IJ not selected as a single grapheme by ::first-letter
Summary: Dutch IJ not selected as a single grapheme by ::first-letter
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 14
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2021-08-11 04:02 PDT by r12a
Modified: 2021-12-03 17:39 PST (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description r12a 2021-08-11 04:02:47 PDT
When 'IJ' appear together at the beginning of a paragraph (eg. in "IJzertoren is een toren en vredes­monument in de West-Vlaamse stad Diksmuide."), both the first two letters should be highlighted.

The CSS specification specifically mentions that the IJ combination should be treated as a single letter.

Tests & results:
Interactive test Dutch IJ are selected as a single grapheme by ::first-letter

Even with the language of the text set to Dutch, neither Blink nor Webkit select IJ together.

This has been fixed, however, for Gecko. (Note that it only works if the language of the content is set to Dutch.)
Comment 1 Radar WebKit Bug Importer 2021-08-11 04:44:15 PDT