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

Unified Diff: LayoutTests/fast/canvas/canvas-currentPath-expected.txt

Issue 226953004: Remove get/set currentPath in canvas (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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-currentPath-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-currentPath-expected.txt b/LayoutTests/fast/canvas/canvas-currentPath-expected.txt
deleted file mode 100644
index a7f294f18a63a3113ba1658c480bc26ce784e6a3..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/canvas/canvas-currentPath-expected.txt
+++ /dev/null
@@ -1,84 +0,0 @@
-Test the behavior of currentPath in Canvas
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Create path object, replace current context path with the path of this object.
-PASS ctx.isPointInPath(49,49) is false
-PASS ctx.isPointInPath(99,99) is false
-PASS ctx.isPointInPath(149,149) is false
-PASS ctx.isPointInPath(199,199) is false
-PASS ctx.isPointInPath(249,249) is false
-PASS ctx.isPointInPath(49,49) is true
-PASS ctx.isPointInPath(99,99) is true
-PASS ctx.isPointInPath(149,149) is true
-PASS ctx.isPointInPath(199,199) is true
-PASS ctx.isPointInPath(249,249) is false
-
-Add new segment to context path and check that this is not added to the path object (not live).
-PASS ctx.isPointInPath(49,49) is true
-PASS ctx.isPointInPath(99,99) is true
-PASS ctx.isPointInPath(149,149) is true
-PASS ctx.isPointInPath(199,199) is true
-PASS ctx.isPointInPath(249,249) is true
-PASS ctx.isPointInPath(49,49) is true
-PASS ctx.isPointInPath(99,99) is true
-PASS ctx.isPointInPath(149,149) is true
-PASS ctx.isPointInPath(199,199) is true
-PASS ctx.isPointInPath(249,249) is false
-
-Test that path object can get applied to transformed context, respecting the CTM.
-PASS ctx.isPointInPath(49,49) is false
-PASS ctx.isPointInPath(99,99) is false
-PASS ctx.isPointInPath(149,149) is true
-PASS ctx.isPointInPath(199,199) is true
-PASS ctx.isPointInPath(249,249) is true
-
-Test that currentPath returns a path object.
-PASS p is null
-PASS p is an instance of Path2D
-
-Create context path and test that it exists.
-PASS ctx.isPointInPath(49,49) is true
-PASS ctx.isPointInPath(99,99) is true
-PASS ctx.isPointInPath(149,149) is true
-PASS ctx.isPointInPath(199,199) is true
-PASS ctx.isPointInPath(249,249) is false
-
-Clear context path.
-PASS ctx.isPointInPath(49,49) is false
-PASS ctx.isPointInPath(99,99) is false
-PASS ctx.isPointInPath(149,149) is false
-PASS ctx.isPointInPath(199,199) is false
-PASS ctx.isPointInPath(249,249) is false
-
-Apply stored (non-live) path object back to context.
-PASS ctx.isPointInPath(49,49) is true
-PASS ctx.isPointInPath(99,99) is true
-PASS ctx.isPointInPath(149,149) is true
-PASS ctx.isPointInPath(199,199) is true
-PASS ctx.isPointInPath(249,249) is false
-
-Transform CTM in the process of adding segments to context path. Check that currentPath's path object archive these transformations.
-PASS ctx.isPointInPath(49,49) is true
-PASS ctx.isPointInPath(99,99) is true
-PASS ctx.isPointInPath(149,149) is false
-PASS ctx.isPointInPath(199,199) is true
-PASS ctx.isPointInPath(249,249) is true
-Clear current path on object and check that it is cleaned up.
-PASS ctx.isPointInPath(49,49) is false
-PASS ctx.isPointInPath(99,99) is false
-PASS ctx.isPointInPath(149,149) is false
-PASS ctx.isPointInPath(199,199) is false
-PASS ctx.isPointInPath(249,249) is false
-
-Apply path back to context path.
-PASS ctx.isPointInPath(49,49) is true
-PASS ctx.isPointInPath(99,99) is true
-PASS ctx.isPointInPath(149,149) is false
-PASS ctx.isPointInPath(199,199) is true
-PASS ctx.isPointInPath(249,249) is true
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Powered by Google App Engine
This is Rietveld 408576698