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

Side by Side 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 unified diff | Download patch
OLDNEW
1 Series of tests to ensure correct results of the winding rule in isPointInPath. 1 Series of tests to ensure correct results of the winding rule in isPointInPath.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Testing default isPointInPath 6 Testing default isPointInPath
7 PASS ctx.isPointInPath(50, 50) is true 7 PASS ctx.isPointInPath(50, 50) is true
8 8
9 Testing nonzero isPointInPath 9 Testing nonzero isPointInPath
10 PASS ctx.isPointInPath(50, 50, 'nonzero') is true 10 PASS ctx.isPointInPath(50, 50, 'nonzero') is true
11 11
12 Testing evenodd isPointInPath 12 Testing evenodd isPointInPath
13 PASS ctx.isPointInPath(50, 50, 'evenodd') is false 13 PASS ctx.isPointInPath(50, 50, 'evenodd') is false
14 14
15 Testing default isPointInPath with Path object
16 PASS ctx.isPointInPath(path, 50, 50) is true
17
18 Testing nonzero isPointInPath with Path object
19 PASS ctx.isPointInPath(path, 50, 50, 'nonzero') is true
20
21 Testing evenodd isPointInPath with Path object
22 PASS ctx.isPointInPath(path, 50, 50, 'evenodd') is false
23
15 PASS successfullyParsed is true 24 PASS successfullyParsed is true
16 25
17 TEST COMPLETE 26 TEST COMPLETE
18 27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698