Note: There are a few cases of duplicates in user autocompletion which are being worked on.

Ignore embedded whitespace between first-letter and punctuation

Assigned to



Layout: Text
7 years ago
4 years ago


(Reporter: smontagu, Assigned: smontagu)



Firefox Tracking Flags

(Not tracked)



(1 attachment)



7 years ago
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, French typographical practice always puts a space between text and double angle quotation marks (guillemets).

Comment 1

7 years ago
Created attachment 481458 [details]

The testcase uses ASCII space, non-breaking space, and thin space (U+2009) between the text and the guillemets.
Keywords: testcase
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.)

Comment 3

7 years ago
I agree about line breaks, and the same goes for tab characters.
Duplicate of this bug: 904508
You need to log in before you can comment on or make changes to this bug.