CSSKeyframesRule::appendRule is deprecated, but is actually the spec
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Oct 2015 19:57:43 +0000 (19:57 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Oct 2015 19:57:43 +0000 (19:57 +0000)
commit487f60565a76dad4e4532327d88065de9b059f9e
tree1a8d2bbe377b30062bbe583e839a5a7b709fd8d7
parenta88246da40f50c34be2ee7c0432c42150258098f
CSSKeyframesRule::appendRule is deprecated, but is actually the spec
https://bugs.webkit.org/show_bug.cgi?id=150113

Reviewed by Simon Fraser.

Source/WebCore:

I stupidly deprecated the wrong function in
http://trac.webkit.org/changeset/174469

* css/CSSKeyframesRule.cpp:
(WebCore::CSSKeyframesRule::insertRule): Swap the code between these two.
(WebCore::CSSKeyframesRule::appendRule):

LayoutTests:

Update tests to deprecate the correct function.

* animations/change-keyframes-expected.txt:
* animations/keyframes-rule.html:
* animations/unprefixed-keyframes-rule.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/animations/change-keyframes-expected.txt
LayoutTests/animations/keyframes-rule.html
LayoutTests/animations/unprefixed-keyframes-rule.html
Source/WebCore/ChangeLog
Source/WebCore/css/CSSKeyframesRule.cpp