Ignore embedded whitespace between first-letter and punctuation
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: smontagu, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: testcase)
Attachments
(1 file)
648 bytes,
text/html
|
Details |
In bug 399941, I chose to take whitespace into account when determining whether there was punctuation preceding or following a first-letter. This was probably the wrong decision: as pointed out in http://lists.w3.org/Archives/Public/www-style/2010Oct/0030.html, French typographical practice always puts a space between text and double angle quotation marks (guillemets).
Reporter | ||
Comment 1•14 years ago
|
||
The testcase uses ASCII space, non-breaking space, and thin space (U+2009) between the text and the guillemets.
Would this mean allowing line breaks inside the ::first-letter? That seems dangerous. (I'd also like to move first-letter handling to frame construction.)
Reporter | ||
Comment 3•14 years ago
|
||
I agree about line breaks, and the same goes for tab characters.
Comment 5•4 years ago
|
||
In Norwegian there is also whitespace between the punctuation and the first letter:
Example:
– Pettersen, ropte hun, – kom inn og få kaffe.
The spec should be updated to support non English languages.
Comment 6•4 years ago
|
||
The CSS Working Group have discussed the issue and concluded:
https://github.com/w3c/csswg-drafts/issues/5154#issuecomment-667151573
Waiting for the editor's draft to be updated.
Comment 7•4 years ago
|
||
The editors draft has now been updated:
Punctuation (i.e, characters that belong to the Punctuation (P*) Unicode general category [UAX44]) that precedes or follows the first typographic letter unit and any intervening space separators (characters that belong to the Zs Unicode general category [UAX44]) must also be included in the ::first-letter pseudo-element.
Comment 8•2 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:jfkthame, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Description
•