Last Comment Bug 602459 - Ignore embedded whitespace between first-letter and punctuation
: Ignore embedded whitespace between first-letter and punctuation
Status: NEW
: testcase
Product: Core
Classification: Components
Component: Layout: Text (show other bugs)
: unspecified
: All All
-- normal with 1 vote (vote)
: ---
Assigned To: Simon Montagu :smontagu
: 904508 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2010-10-07 02:50 PDT by Simon Montagu :smontagu
Modified: 2013-08-13 07:50 PDT (History)
5 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Testcase (648 bytes, text/html)
2010-10-07 02:57 PDT, Simon Montagu :smontagu
no flags Details

Description User image Simon Montagu :smontagu 2010-10-07 02:50:13 PDT
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 User image Simon Montagu :smontagu 2010-10-07 02:57:15 PDT
Created attachment 481458 [details]

The testcase uses ASCII space, non-breaking space, and thin space (U+2009) between the text and the guillemets.
Comment 2 User image David Baron :dbaron: ⌚️UTC-8 2010-10-07 13:36:13 PDT
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 User image Simon Montagu :smontagu 2010-10-10 01:45:08 PDT
I agree about line breaks, and the same goes for tab characters.
Comment 4 User image Jonathan Kew (:jfkthame) 2013-08-13 06:15:22 PDT
*** Bug 904508 has been marked as a duplicate of this bug. ***

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