[Web Animations] CSS Animations should take precedence over CSS Transitions
authorgraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Jun 2018 12:30:27 +0000 (12:30 +0000)
committergraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Jun 2018 12:30:27 +0000 (12:30 +0000)
commit0e867b9008e5e472f79c16abf4de5775588c9a82
tree5956487196db2cc4aeaa66c64a40d84f65ca27fe
parent822f149de4ca51ba2df56556a8073c5e66fc5551
[Web Animations] CSS Animations should take precedence over CSS Transitions
https://bugs.webkit.org/show_bug.cgi?id=186651

Reviewed by Dean Jackson.

LayoutTests/imported/mozilla:

Mark some progressions in the Mozilla CSS Animations and CSS Transitions tests.

* css-animations/test_element-get-animations-expected.txt:
* css-transitions/test_document-get-animations-expected.txt:

Source/WebCore:

Ensure CSS Animations override CSS Transitions by modifying the order in which animations are returned by animationsForElement().

* animation/AnimationTimeline.cpp:
(WebCore::AnimationTimeline::animationsForElement const):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232868 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/imported/mozilla/ChangeLog
LayoutTests/imported/mozilla/css-animations/test_element-get-animations-expected.txt
LayoutTests/imported/mozilla/css-transitions/test_document-get-animations-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/animation/AnimationTimeline.cpp