[Web Animations] Add animations to the timeline
[WebKit-https.git] / Source / WebCore / ChangeLog
index cbf1640..0f91122 100644 (file)
@@ -1,3 +1,34 @@
+2017-10-22  Antoine Quint  <graouts@apple.com>
+
+        [Web Animations] Add animations to the timeline
+        https://bugs.webkit.org/show_bug.cgi?id=178643
+
+        Reviewed by Dean Jackson.
+
+        If a timeline is provided as a parameter to the Animation constructor,
+        add it to the timeline, and remove it when the object is destroyed.
+
+        We also start the basic mechanism to dump the contents of a timeline
+        as text for testing purposes, currently only logging the number of
+        animations in a timeline and just logging the class name for animation
+        themselves.
+
+        Test: webanimations/animation-creation-addition.html
+
+        * animation/AnimationTimeline.cpp:
+        (WebCore::AnimationTimeline::description):
+        * animation/AnimationTimeline.h:
+        * animation/AnimationTimeline.idl:
+        * animation/WebAnimation.cpp:
+        (WebCore::WebAnimation::create):
+        (WebCore::WebAnimation::~WebAnimation):
+        (WebCore::WebAnimation::description):
+        * animation/WebAnimation.h:
+        * testing/Internals.cpp:
+        (WebCore::Internals::timelineDescription):
+        * testing/Internals.h:
+        * testing/Internals.idl:
+
 2017-10-21  Zalan Bujtas  <zalan@apple.com>
 
         [FrameView::layout cleanup] Drop allowSubtree parameter