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

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

Issue 226733004: Simplify CRC2D winding rule handling (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update virtual/gpu/ expectations. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-path-context-clip-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 PASS ctx.isPointInPath(NaN, 50) is false 8 PASS ctx.isPointInPath(NaN, 50) is false
9 PASS ctx.isPointInPath(50, NaN) is false 9 PASS ctx.isPointInPath(50, NaN) is false
10 10
11 Testing nonzero isPointInPath 11 Testing nonzero isPointInPath
12 PASS ctx.isPointInPath(50, 50, 'nonzero') is true 12 PASS ctx.isPointInPath(50, 50, 'nonzero') is true
13 13
14 Testing evenodd isPointInPath 14 Testing evenodd isPointInPath
15 PASS ctx.isPointInPath(50, 50, 'evenodd') is false 15 PASS ctx.isPointInPath(50, 50, 'evenodd') is false
16 16
17 Testing default isPointInPath with Path object 17 Testing default isPointInPath with Path object
18 PASS ctx.isPointInPath(path, 50, 50) is true 18 PASS ctx.isPointInPath(path, 50, 50) is true
19 PASS ctx.isPointInPath(path, NaN, 50) is false 19 PASS ctx.isPointInPath(path, NaN, 50) is false
20 PASS ctx.isPointInPath(path, 50, NaN) is false 20 PASS ctx.isPointInPath(path, 50, NaN) is false
21 21
22 Testing nonzero isPointInPath with Path object 22 Testing nonzero isPointInPath with Path object
23 PASS ctx.isPointInPath(path, 50, 50, 'nonzero') is true 23 PASS ctx.isPointInPath(path, 50, 50, 'nonzero') is true
24 24
25 Testing evenodd isPointInPath with Path object 25 Testing evenodd isPointInPath with Path object
26 PASS ctx.isPointInPath(path, 50, 50, 'evenodd') is false 26 PASS ctx.isPointInPath(path, 50, 50, 'evenodd') is false
27 27
28 Testing invalid enumeration isPointInPath (w/ and w/o Path object
29 PASS ctx.isPointInPath(path, 50, 50, 'gazonk') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': parameter 4 ('gazonk' ) is not a valid enum value..
30 PASS ctx.isPointInPath(50, 50, 'gazonk') threw exception TypeError: Failed to ex ecute 'isPointInPath' on 'CanvasRenderingContext2D': parameter 3 ('gazonk') is n ot a valid enum value..
31
28 Testing null isPointInPath with Path object 32 Testing null isPointInPath with Path object
29 PASS ctx.isPointInPath(null, 50, 50) threw exception TypeError: Failed to execut e 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument provided is ei ther null, or an invalid Path object.. 33 PASS ctx.isPointInPath(null, 50, 50) threw exception TypeError: Failed to execut e 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument provided is ei ther null, or an invalid Path object..
30 PASS ctx.isPointInPath(null, 50, 50, 'nonzero') threw exception TypeError: Faile d to execute 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument pro vided is either null, or an invalid Path object.. 34 PASS ctx.isPointInPath(null, 50, 50, 'nonzero') threw exception TypeError: Faile d to execute 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument pro vided is either null, or an invalid Path object..
31 PASS ctx.isPointInPath(null, 50, 50, 'evenodd') threw exception TypeError: Faile d to execute 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument pro vided is either null, or an invalid Path object.. 35 PASS ctx.isPointInPath(null, 50, 50, 'evenodd') threw exception TypeError: Faile d to execute 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument pro vided is either null, or an invalid Path object..
32 PASS ctx.isPointInPath(path, 50, 50) threw exception TypeError: Failed to execut e 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument provided is ei ther null, or an invalid Path object.. 36 PASS ctx.isPointInPath(path, 50, 50) threw exception TypeError: Failed to execut e 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument provided is ei ther null, or an invalid Path object..
33 PASS ctx.isPointInPath(path, 50, 50, 'nonzero') threw exception TypeError: Faile d to execute 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument pro vided is either null, or an invalid Path object.. 37 PASS ctx.isPointInPath(path, 50, 50, 'nonzero') threw exception TypeError: Faile d to execute 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument pro vided is either null, or an invalid Path object..
34 PASS ctx.isPointInPath(path, 50, 50, 'evenodd') threw exception TypeError: Faile d to execute 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument pro vided is either null, or an invalid Path object.. 38 PASS ctx.isPointInPath(path, 50, 50, 'evenodd') threw exception TypeError: Faile d to execute 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument pro vided is either null, or an invalid Path object..
35 39
36 Testing invalid type isPointInPath with Path object 40 Testing invalid type isPointInPath with Path object
37 PASS ctx.isPointInPath([], 50, 50) threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': parameter 3 ('50') is not a valid enum value.. 41 PASS ctx.isPointInPath([], 50, 50) threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': parameter 3 ('50') is not a valid enum value..
38 PASS ctx.isPointInPath([], 50, 50, 'nonzero') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. 42 PASS ctx.isPointInPath([], 50, 50, 'nonzero') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
39 PASS ctx.isPointInPath([], 50, 50, 'evenodd') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. 43 PASS ctx.isPointInPath([], 50, 50, 'evenodd') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
40 PASS ctx.isPointInPath({}, 50, 50) threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': parameter 3 ('50') is not a valid enum value.. 44 PASS ctx.isPointInPath({}, 50, 50) threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': parameter 3 ('50') is not a valid enum value..
41 PASS ctx.isPointInPath({}, 50, 50, 'nonzero') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. 45 PASS ctx.isPointInPath({}, 50, 50, 'nonzero') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
42 PASS ctx.isPointInPath({}, 50, 50, 'evenodd') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. 46 PASS ctx.isPointInPath({}, 50, 50, 'evenodd') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
43 47
44 PASS successfullyParsed is true 48 PASS successfullyParsed is true
45 49
46 TEST COMPLETE 50 TEST COMPLETE
47 51
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-path-context-clip-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698