Closed
Bug 904508
Opened 11 years ago
Closed 11 years ago
:first-letter ignored depending some kinds of integration contexts
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 602459
People
(Reporter: etiennesamson, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36 Steps to reproduce: the ::first-letter pseudo selector do not knows the same behavior depending severals contexts. Actual results: An example right here : http://jsfiddle.net/etiennesamson/Duhax/2/
Comment 1•11 years ago
|
||
Blink, Presto: first-letter continues to apply across a space separating the punctuation mark and the letter Gecko: does not
Component: Untriaged → Layout: Text
Product: Firefox → Core
Comment 2•11 years ago
|
||
The specification of ::first-letter[1] does not explicitly discuss this particular case, AFAICS. But given that it says that <quote> 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. </quote> but does *not* mention whitespace (Zs) characters, I think Gecko's behavior is correct per spec. If you think the Blink/Presto behavior is preferable, this should be discussed as a potential spec change (or at least a clarification) on www-style; or if the spec is OK as it stands, then this is a Blink and Presto bug. (cc'ing fantasai and dbaron for any opinions from the CSS-specs point of view.) [1] http://dev.w3.org/csswg/selectors3/#first-letter
Comment 3•11 years ago
|
||
See bug 602459 and the www-style thread referenced there
Comment 4•11 years ago
|
||
Looks like this is a dupe of that bug; let's follow up there.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•