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

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

Issue 2112373002: Fold fast/svg/script-tests/animation-events.js into the test using it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually move the test... Created 4 years, 5 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 | third_party/WebKit/LayoutTests/fast/svg/script-tests/animation-events.js » ('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>EventHandlers on SVGAnimationElement test</title>
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 var attributeToEventMap = {
8 "onbegin" : "beginEvent",
9 "onend" : "endEvent",
10 "onrepeat" : "repeatEvent"
11 };
12
13 for (var attribute in attributeToEventMap) {
14 [
15 "SVGAnimateElement",
16 "SVGAnimateMotionElement",
17 "SVGAnimateTransformElement",
18 "SVGSetElement"
19 ].forEach(function(interface) {
20 testSet(interface, attribute);
21 testEnumerate(interface, attribute);
22 testReflect(interface, attribute);
23 });
24
25 testEventHandlerMapping(attribute, attributeToEventMap[attribute]);
26 };
27 </script>
28 <div id="log"></div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/svg/script-tests/animation-events.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698