Bug 228992

Summary: Dutch IJ not selected as a single grapheme by ::first-letter
Product: WebKit Reporter: r12a <ishida>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: gsnedders, mmaxfield, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=233748

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