[Webkit-unassigned] [Bug 52693] H1 element should have different default style if it is in HTML5 sectioning elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 30 20:15:19 PDT 2011


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





--- Comment #9 from Antti Koivisto <koivisto at iki.fi>  2011-03-30 20:15:19 PST ---
(In reply to comment #3)
> Yay! :-webkit-any has some performance problems (can't take advantage of a lot of fast selector checking paths). I think this is OK though. Antti, what do you think? Should this block on improving the performance or does it not matter when it's just a handful of selectors?

In principle this is not great in terms of performance though in practice impact should be limited (we only end up to slow path for h1 elements which are not that common).

One option would be to expand the rightmost :-webkit-any to subcomponents (which would allow ancestor filter to work). Probably not worth it unless some profile says otherwise.

-- 
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