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

Side by Side Diff: LayoutTests/fast/svg/animation-events.html

Issue 201673003: [SVG2] Add onbegin, onend and onrepeat EventHandlers on SVGAnimationElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: test expectations Created 6 years, 9 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>GlobalEventHandlers test</title>
fs 2014/03/17 14:35:27 Nit: "Animation events test" (or something - not "
Erik Dahlström (inactive) 2014/03/17 15:52:37 Done.
3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script>
5 <script src="script-tests/animation-events.js"></script>
6 <script>
7 [
8 "onbegin",
9 "onend",
10 "onrepeat"
11 ].forEach(function(attribute) {
12 testSet("SVGAnimateElement", attribute);
fs 2014/03/17 14:35:27 Nested forEach? =) (I think that would help readab
Erik Dahlström (inactive) 2014/03/17 15:52:37 Somewhat changed now due to the added eventname te
13 testEnumerate("SVGAnimateElement", attribute);
14 testReflect("SVGAnimateElement", attribute);
15 testSet("SVGAnimateMotionElement", attribute);
16 testEnumerate("SVGAnimateMotionElement", attribute);
17 testReflect("SVGAnimateMotionElement", attribute);
18 testSet("SVGAnimateTransformElement", attribute);
19 testEnumerate("SVGAnimateTransformElement", attribute);
20 testReflect("SVGAnimateTransformElement", attribute);
21 testSet("SVGSetElement", attribute);
22 testEnumerate("SVGSetElement", attribute);
23 testReflect("SVGSetElement", attribute);
24 });
25 </script>
fs 2014/03/17 14:35:27 Any way to test that the mapping works?
Erik Dahlström (inactive) 2014/03/17 15:52:37 The event -> attribute name? Sure, I can add that.
26 <div id="log"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698