[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
Mon Oct 7 13:44:34 PDT 2013


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





--- Comment #23 from Ralph T <ralpht+bugs at gmail.com>  2013-10-07 13:43:25 PST ---
(In reply to comment #22)
> I'm confused about the behavior with this patch. If an element has: -webkit-animation-name: foo and you insert @-webkit-keyframes foo {...}, does the animation start?

It does not, and it didn't before this patch either. I think the relevant part of the CSS 3 Animations Spec is "If the name does not match any keyframe at-rule, there are no properties to be animated and the animation will not execute."

I read that to mean that at the time the webkitAnimationName property is set if there's no keyframes at-rule with that name then it's ignored, but it's not explicitly spelled out. I don't believe the patch changed any WebKit behavior, however.

I can definitely add some more test cases around this, or raise the issue on www-style.

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