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

Unified Diff: LayoutTests/fast/canvas/canvas-path-addpath-expected.txt

Issue 170503002: Implement addPath() method for Path object (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/canvas/canvas-path-addpath-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-path-addpath-expected.txt b/LayoutTests/fast/canvas/canvas-path-addpath-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3025771474715fef338fb0cf407b063c15c41a4b
--- /dev/null
+++ b/LayoutTests/fast/canvas/canvas-path-addpath-expected.txt
@@ -0,0 +1,24 @@
+Test addPath() method.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Test addPath() with transform as identity matrix.
+PASS imgdata[4] is 255
+PASS imgdata[5] is 255
+PASS imgdata[6] is 0
+PASS imgdata[7] is 255
+
+Test addPath() with transform as translate(100, -100).
+PASS imgdata[4] is 255
+PASS imgdata[5] is 255
+PASS imgdata[6] is 0
+PASS imgdata[7] is 255
+
+Test addPath() with transform as null.
+PASS p1.addPath(p2, null) threw exception TypeError: Failed to execute 'addPath' on 'Path': parameter 2 is not of type 'SVGMatrix'..
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698