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

Side by Side Diff: LayoutTests/fast/canvas/script-tests/canvas-path-object.js

Issue 191923002: CanvasPathMethods should be shared with CRC2D and Path2D (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: layout test 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
« no previous file with comments | « no previous file | Source/core/core.gypi » ('j') | Source/core/html/canvas/CanvasPathMethods.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 description("Ensure that the constructor for Path object and dependent functions exist."); 1 description("Ensure that the constructor for Path object and dependent functions exist.");
2 2
3 shouldBe("typeof document.getElementById", '"function"'); 3 shouldBe("typeof document.getElementById", '"function"');
4 4
5 var path = new Path(); 5 var path = new Path();
6 shouldBeType("path", "Path"); 6 shouldBeType("path", "Path");
7 shouldBe("typeof path.closePath", '"function"'); 7 shouldBe("typeof path.closePath", '"function"');
8 shouldBe("typeof path.moveTo", '"function"'); 8 shouldBe("typeof path.moveTo", '"function"');
9 shouldBe("typeof path.lineTo", '"function"'); 9 shouldBe("typeof path.lineTo", '"function"');
10 shouldBe("typeof path.quadraticCurveTo", '"function"'); 10 shouldBe("typeof path.quadraticCurveTo", '"function"');
11 shouldBe("typeof path.bezierCurveTo", '"function"'); 11 shouldBe("typeof path.bezierCurveTo", '"function"');
12 shouldBe("typeof path.arcTo", '"function"'); 12 shouldBe("typeof path.arcTo", '"function"');
13 shouldBe("typeof path.arc", '"function"'); 13 shouldBe("typeof path.arc", '"function"');
14 shouldBe("typeof path.rect", '"function"'); 14 shouldBe("typeof path.rect", '"function"');
15 shouldBe("typeof path.ellipse", '"function"');
Inactive 2014/03/09 04:26:37 You likely need to rebaseline as the test as well.
OLDNEW
« no previous file with comments | « no previous file | Source/core/core.gypi » ('j') | Source/core/html/canvas/CanvasPathMethods.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698