[Webkit-unassigned] [Bug 21937] h1:first-letter is incorrectly inherited by run-in box

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 3 03:44:45 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=21937





--- Comment #9 from Shinichiro Hamaji <hamaji at chromium.org>  2010-06-03 03:44:45 PST ---
(From update of attachment 57749)
Looks good. Thanks for your description and updating the patch!

> That's a different bug.  Right now, WebKit doesn't apply first-letter to inline elements.  In this case, the h1 with run-in is converted to an inline element and inserted as the first element of the div so it won't get :first-letter.  The following link shows that div gets :first-letter while span does not.

Ah, I didn't notice run-in box becomes an inline element. It seems the current spec says we don't need to apply ::first-letter for inline elements, so this would be a non-issue.

http://dev.w3.org/csswg/selectors3/#application-in-css

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list