Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Side by Side Diff: LayoutTests/svg/animations/animation-begin-change-js.html

Issue 1127313007: SVG animate element's begin/end attribute set by js, should animate. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed testRunner from Layout test Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/svg/animation/SVGSMILElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>Tests that animation works, if changing begin to contain an event-base tr igger.</title>
3 <script src=../../resources/testharness.js></script>
4 <script src=../../resources/testharnessreport.js></script>
5 <svg>
6 <rect id="rect" width="100" height="100">
7 <set id="anim"
8 begin="indefinite"
9 dur="0.05s"
10 attributeName="width"
11 to="50"
12 fill="freeze"/>
13 </rect>
14 </svg>
15 <script>
16 var anim = document.getElementById("anim");
17 var t = async_test(document.title);
18 anim.onbegin = t.step_func(function() {
19 assert_equals(document.getElementById("rect").getAttribute("width"), "50" );
20 t.done();
21 });
22
23 anim.setAttribute("begin","rect.click");
24 if (window.eventSender) {
25 eventSender.mouseMoveTo(50, 50);
26 eventSender.mouseDown();
27 eventSender.mouseUp();
28 }
29 </script>
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/animation/SVGSMILElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698