[Webkit-unassigned] [Bug 119479] Inserting a JS generated keyframe animation shouldn't trigger a whole document style recalc
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 2 14:01:39 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=119479
--- Comment #4 from Andreas Kling <akling at apple.com> 2013-10-02 14:00:34 PST ---
(From update of attachment 213194)
View in context: https://bugs.webkit.org/attachment.cgi?id=213194&action=review
> Source/WebCore/css/CSSStyleSheet.cpp:317
> + if (owner)
> + owner->ensureStyleResolver().addKeyframeStyle(static_cast<StyleRuleKeyframes*>(rule.get()));
If there is no StyleResolver here, I don't think we need to create one.
Use Document::styleResolverIfExists() instead, the keyframes rule will get picked up during the inevitable StyleResolver construction.
--
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