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

Side by Side Diff: LayoutTests/svg/animations/script-tests/animate-css-xml-attributeType.js

Issue 11184044: Merge 130777 - Prevent animation when CSS attributeType is invalid. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 years, 2 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
1 description("Tests that XML and CSS attributeTypes can be switched between."); 1 description("Tests that XML and CSS attributeTypes can be switched between.");
2 createSVGTestCase(); 2 createSVGTestCase();
3 3
4 // Setup test document 4 // Setup test document
5 var rect = createSVGElement("rect"); 5 var rect = createSVGElement("rect");
6 rect.setAttribute("id", "rect"); 6 rect.setAttribute("id", "rect");
7 rect.setAttribute("x", "100"); 7 rect.setAttribute("x", "100");
8 rect.setAttribute("width", "100"); 8 rect.setAttribute("width", "100");
9 rect.setAttribute("height", "100"); 9 rect.setAttribute("height", "100");
10 rect.setAttribute("fill", "green"); 10 rect.setAttribute("fill", "green");
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 ["set", 1.5, sample4], 68 ["set", 1.5, sample4],
69 ["set", 2.0, sample5], 69 ["set", 2.0, sample5],
70 ["set", 2.5, sample6] 70 ["set", 2.5, sample6]
71 ]; 71 ];
72 72
73 runAnimationTest(expectedValues); 73 runAnimationTest(expectedValues);
74 } 74 }
75 75
76 window.clickX = 150; 76 window.clickX = 150;
77 var successfullyParsed = true; 77 var successfullyParsed = true;
OLDNEW
« no previous file with comments | « LayoutTests/svg/animations/invalid-css-attribute-crash-expected.svg ('k') | Source/WebCore/svg/SVGAnimateElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698