-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=119479 Patch by Ralph Thomas <ralpht@gmail.com> on 2013-10-04 Reviewed by Antti Koivisto. Change CSSStyleSheet::didMutateRules to not invalidate all node's styles when inserting a @-webkit-keyframes rule, and to instead insert the rule directly into the StyleResolver. Test: animation/keyframes-dynamic.html: adds and removes keyframe rules using JavaScript and validates that the correct elements are animated. * css/CSSStyleSheet.cpp: (WebCore::CSSStyleSheet::didMutateRules): (WebCore::CSSStyleSheet::insertRule): * css/CSSStyleSheet.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156912 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2b89862d