According to the specification the following should be included in ::first-letter: "Punctuation (i.e, characters defined in Unicode in the "open" (Ps), "close" (Pe), "initial" (Pi). "final" (Pf) and "other" (Po) punctuation classes), that precedes or follows the first letter should be included." https://drafts.csswg.org/selectors-3/#first-letter It also states: "In some cases the ::first-letter pseudo-element should include more than just the first non-punctuation character on a line." In the Norwegian language quotes are started either with Left-pointing Double Angle Quotation Mark '«' or an En Dash '–'. The User agent should treat these equally and include them and the following letter in the ::first-letter pseudo element.
In the following sentence the en dash, space and letter should be included in ::first-letter: "– Jeg vil bare være et helt vanlig menneske."
Example on NRK P3's webpage (Norwegian Broadcasting Corporation): http://p3.no/dokumentar/uhelbredelig/
*** Bug 216963 has been marked as a duplicate of this bug. ***
there's nothing really specific about Norwegian (in either written form) here; it's just the general punctuation/space issue
This appears to be tracked by this radar: <rdar://69870767>
Adding a link to the failing WPT tests: https://wpt.fyi/results/css/css-pseudo/first-letter-punctuation-and-space.html?label=experimental&label=master&aligned&view=subtest
Forgot to update this issue, but the spec was updated a while ago to include all punctuation characters: https://www.w3.org/TR/css-pseudo-4/#first-letter-pattern ``` Preceding and following punctuation must also be included as part of the first-letter text in the ::first-letter pseudo-element as follows: All punctuation—i.e, characters that belong to the Punctuation (P*) Unicode general category [UAX44]—that precedes the first letter. Any punctuation other than opening punctuation and dashes—i.e. characters that belong to the Punctuation (P*) Unicode general category, excluding Open Punctuation (Ps) and Dash Punctuation (Pd)—that follows the first letter. Any intervening typographic space—i.e. characters that belong to the Zs Unicode general category [UAX44] other than U+3000 IDEOGRAPHIC SPACE or any word-separator characters ```
Bugs elsewhere. https://bugs.chromium.org/p/chromium/issues/detail?id=1163175 https://bugzilla.mozilla.org/show_bug.cgi?id=602459 See Also https://github.com/web-platform-tests/interop/issues/187#issuecomment-1387144773