-
Notifications
You must be signed in to change notification settings - Fork 752
Closed
Labels
Closed Rejected as OutOfScopeTestedMemory aid - issue has WPT testsMemory aid - issue has WPT testscss-text-3Current WorkCurrent Workcss-text-4i18n-eurlreqEuropean language enablementEuropean language enablementi18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Description
I've noticed an issue with the text-transform:capitalize property in CSS when used on words containing "l·l" in Catalan (see Interpunct - Catalan). When this rule is applied to such words, the CSS interpreter incorrectly treats the interpunct as a word boundary and capitalizes the letter after it.
To illustrate, consider the word "cancel·lar". When text-transform:capitalize is applied, it currently results in "Cancel·Lar". However, according to Catalan language rules, it should be "Cancel·lar" instead. The interpunct is not considered a word boundary, and the second 'l' should not be capitalized.
I propose updating the algorithm used for text-transform:capitalize to respect language-specific case mapping rules such as this one.
Metadata
Metadata
Assignees
Labels
Closed Rejected as OutOfScopeTestedMemory aid - issue has WPT testsMemory aid - issue has WPT testscss-text-3Current WorkCurrent Workcss-text-4i18n-eurlreqEuropean language enablementEuropean language enablementi18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.