[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:02:29 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=119479
--- Comment #5 from Antti Koivisto <koivisto at iki.fi> 2013-10-02 14:01:24 PST ---
(From update of attachment 213194)
View in context: https://bugs.webkit.org/attachment.cgi?id=213194&action=review
> Source/WebCore/css/CSSStyleSheet.cpp:318
> + if (rule->type() == CSSRule::WEBKIT_KEYFRAMES_RULE) {
> + Document* owner = ownerDocument();
> + if (owner)
> + owner->ensureStyleResolver().addKeyframeStyle(static_cast<StyleRuleKeyframes*>(rule.get()));
> + }
I think this can go to CSSStyleSheet::didMutateRules.
--
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