Closed Bug 1835850 Opened 1 year ago Closed 1 year ago

Dutch Ij should not be selected as a single grapheme by ::first-letter

Categories

(Core :: Layout: Text and Fonts, defect)

Firefox 112
defect

Tracking

()

VERIFIED FIXED
115 Branch
Tracking Status
firefox115 --- verified
firefox116 --- verified
firefox117 --- verified

People

(Reporter: ishida, Assigned: jfkthame)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0

Steps to reproduce:

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.

That was fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=92176 (Thank you.)

On the other hand, 'Ij' should not be converted to 'IJ', if it occurs, since it may relate to (rare) nouns such as Ijad, Ijara, Ijaw, Ijaz, Ijebu, Ijenda, Ijeoma, Ijewere, Ijima, Ijja, Ijlal, Ijo, Ijobalit, Ijumaa and probably others.

Actual results:

However, Gecko also selects 'Ij', which is not correct.

Interactive test Dutch IJ are selected as a single grapheme by ::first-letter
https://github.com/w3c/line_paragraph_tests/issues/56

Interactive test Ij is non ambiguously not Dutch IJ nor Dutch ij and should not be selected as a single grapheme for ::first-letter.
https://github.com/w3c/line_paragraph_tests/issues/85

Expected results:

Gecko should continue to select 'ij' and 'IJ', but not select 'Ij'.

[This is being tracked by the W3C at https://github.com/w3c/eurlreq/issues/6]

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Text and Fonts' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core
Assignee: nobody → jfkthame
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7789262f482a CSS ::first-letter should select Dutch 'ij' or 'IJ' as a unit, but not mixed-case 'Ij'. r=emilio,jwatt
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/40333 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
Upstream PR merged by moz-wptsync-bot

This issue is Verified as fixed in our latest Release 115, Beta as well as Nightly builds.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: