Closed Bug 92176 Opened 23 years ago Closed 3 years ago

::first-letter pseudo-element should consider both characters within letter combinations like the Dutch "ij"


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




87 Branch
Tracking Status
firefox87 --- fixed


(Reporter: shanjian, Assigned: jfkthame)




(4 keywords)


(2 files)

This is a problem split from 54467. 
As CSS specs 5.12.2 metioned :
   "Some languages may have specific rules about how to treat certain letter 
combinations. In Dutch, for example, if the letter combination "ij" apprears at 
the beginning of a word, both letters should be considered within the 
:first-letter pseudo-element."
   Should we include those situations? I doubt if anyone will list a lot of such 
examples. Even to include above mentioned example is rather difficult, because 
we have to know what language it is. (Encoding normally is easier to get. )
It is not clear either we want to implement this or not. But anyway, I don't see 
any solution in near future. 
Target Milestone: --- → Future
Ever confirmed: true
This bug belongs to Internationalization, like bug 54467.

i18n folks need to identify the combinations of letters that should be considered 
as a single letter, and the language in which they occur, then extend the patch 
crafted by Shanjian in bug 54467 keeping in mind that the :first-letter pseudo 
can in fact cover up to 3 characters (1 punctuation sign + 2 letters).
reassining to the correct core and core owner.
Assignee: karnaze → yokoyama
Component: Layout → Internationalization
QA Contact: petersen → teruko
-> shianjian
Assignee: yokoyama → shanjian
Whiteboard: [CSS1-2.4]
Keywords: css1, helpwanted
QA Contact: teruko → ian
Blocks: 23605
Apparently, \u0132 en \u0133 are the Unicode characters for the Dutch "ij".
Could this be resolved as WONTFIX now there are characters for this? (I will
bring this up at www-style.)
Assignee: shanjian → nobody
Keywords: css2
Summary: Dutch "ij" in the :first-letter pseudo-element" should both in first letter style → Dutch "ij" in the ::first-letter pseudo-element should both in first letter style
Whiteboard: [CSS1-2.4]
In most cases ij or IJ isn't seen as one character in Dutch and in most
publications it isn't treated as such. I doubt whether the single character
unicode values for ij/IJ are ever used in Dutch publications at all.

Some Dutch references on the usage of ij can be found on:

Seeing popular use and the very limited support of the unicode signs it doesn't
make sense to not support it. Although it has been tried to get computers to see
it as one character before (Dutch DOS character set and keyboards had it as a
single sign), no one actually uses it. It is not even auto converted for in most
popular wordprocessors.
QA Contact: ian → i18n
Corrected the summary.
Also, that's already documented

Summary: Dutch "ij" in the ::first-letter pseudo-element should both in first letter style → ::first-letter pseudo-element should consider both characters within letter combinations like the Dutch "ij"
Sebastian: doesn't this mean that this is a duplicate of another bug? (meaning it should be RESOLVED DUPLICATE or RESOLVED WORKFORME)
I couldn't find any other bug related to this. And it is also not implemented yet.
What is done is the documentation of the feature according to the specification (though no browser seems to support this yet). FWIW I added a test case in the URL field.

Maybe I was too hasty, as the browser compatibility table still needs to be updated once this bug is fixed. Should the keyword be changed back to dev-doc-needed?

Yep, that we update Fx XY for devs and the compat table when this lands :-)

Is this bug still relevant?

Flags: needinfo?(annevk)

Yeah, the specification still calls this out at and we still ignore it. (As do other browsers, but I don't think that necessarily calls for changing the specification as in many ways this is a quality-of-implementation issue.)

Flags: needinfo?(annevk)

Hi Jonathan, can you triage that?

Flags: needinfo?(jfkthame)

This still seems like a valid issue, but given that afaik no other browser implements it either, it's relatively low priority. (Authors can't currently have any expectation of this working.) Though we do special-case the Dutch "ij" for casing (i.e. with text-transform: capitalize), so it would make sense to respect it for ::first-letter as well.

Severity: minor → S4
Flags: needinfo?(jfkthame)
Priority: -- → P5
Assignee: nobody → jfkthame

More of a Layout:Text issue than i18n, I think; moving to that component.

Component: Internationalization → Layout: Text and Fonts
Target Milestone: Future → ---
Pushed by
Make the ::first-letter pseudo respect the Dutch 'ij' digraph and treat it as a unit. r=dholbert
Add wpt reftest for ::first-letter and Dutch ij digraph. r=dholbert
Created web-platform-tests PR for changes under testing/web-platform/tests
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Upstream PR merged by moz-wptsync-bot

I have updated the ::first-letter page, BCD, and release notes.

You need to log in before you can comment on or make changes to this bug.