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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-end-attribute-numeric-precision.js

Issue 2269043002: Reland of Remove EventSender from HTMLStyleElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove t.step() Created 4 years, 1 month 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 end conditions are respected properly near the limits of floa t numeric precision"); 1 description("Tests end conditions are respected properly near the limits of floa t numeric precision");
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 22 matching lines...) Expand all
33 function executeTest() { 33 function executeTest() {
34 const expectedValues = [ 34 const expectedValues = [
35 // [animationId, time, sampleCallback] 35 // [animationId, time, sampleCallback]
36 ["animation", 0.0, sample1], 36 ["animation", 0.0, sample1],
37 ["animation", 1.0, sample2] 37 ["animation", 1.0, sample2]
38 ]; 38 ];
39 39
40 runAnimationTest(expectedValues); 40 runAnimationTest(expectedValues);
41 } 41 }
42 42
43 var animationStartsImmediately = true;
43 var successfullyParsed = true; 44 var successfullyParsed = true;
44 executeTest();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698