[Webkit-unassigned] [Bug 100395] Avoid unnecessary style recalcs on id attribute mutation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 25 10:54:13 PDT 2012


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


Andreas Kling <kling at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #170690|review?                     |review+
               Flag|                            |




--- Comment #2 from Andreas Kling <kling at webkit.org>  2012-10-25 10:55:21 PST ---
(From update of attachment 170690)
View in context: https://bugs.webkit.org/attachment.cgi?id=170690&action=review

Why didn't we do this already? r=me

> Source/WebCore/css/StyleResolver.cpp:4241
> +bool StyleResolver::hasSelectorForId(const AtomicString &idValue) const

OH GOD & PLACEMENT

> Source/WebCore/dom/Element.cpp:716
> +           StyleResolver* styleResolver = document()->styleResolverIfExists();

Indentation derp.

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