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

Unified Diff: LayoutTests/fast/canvas/canvas-isPointInPath-winding-expected.txt

Issue 179383002: Add versions of isPointIn*() that take a Path parameter. (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-isPointInPath-winding-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-isPointInPath-winding-expected.txt b/LayoutTests/fast/canvas/canvas-isPointInPath-winding-expected.txt
index 611e068893bc52c737e2f4cfa7d9747eec359c03..56737804543ee7d19d922b532dcfd940047260f0 100644
--- a/LayoutTests/fast/canvas/canvas-isPointInPath-winding-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-isPointInPath-winding-expected.txt
@@ -12,6 +12,15 @@ PASS ctx.isPointInPath(50, 50, 'nonzero') is true
Testing evenodd isPointInPath
PASS ctx.isPointInPath(50, 50, 'evenodd') is false
+Testing default isPointInPath with Path object
+PASS ctx.isPointInPath(path, 50, 50) is true
+
+Testing nonzero isPointInPath with Path object
+PASS ctx.isPointInPath(path, 50, 50, 'nonzero') is true
+
+Testing evenodd isPointInPath with Path object
+PASS ctx.isPointInPath(path, 50, 50, 'evenodd') is false
+
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698