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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/pointInPath-expected.txt

Issue 2701053003: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Addressing comments Created 3 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
(Empty)
1 Series of tests for Canvas.isPointInPath
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Rectangle at (0,0) 20x20
7 PASS ctx.isPointInPath(5, 5) is true
8 PASS ctx.isPointInPath(10, 10) is true
9 PASS ctx.isPointInPath(19, 19) is true
10 PASS ctx.isPointInPath(30, 30) is false
11 PASS ctx.isPointInPath(-1, 10) is false
12 PASS ctx.isPointInPath(10, -1) is false
13 Translate context (10,10)
14 PASS ctx.isPointInPath(5, 5) is true
15 PASS ctx.isPointInPath(10, 10) is true
16 PASS ctx.isPointInPath(19, 19) is true
17 PASS ctx.isPointInPath(30, 30) is false
18 PASS ctx.isPointInPath(-1, 10) is false
19 PASS ctx.isPointInPath(10, -1) is false
20 Collapse ctm to non-invertible matrix
21 PASS ctx.isPointInPath(5, 5) is false
22 PASS ctx.isPointInPath(10, 10) is false
23 PASS ctx.isPointInPath(20, 20) is false
24 PASS ctx.isPointInPath(30, 30) is false
25 PASS ctx.isPointInPath(-1, 10) is false
26 PASS ctx.isPointInPath(10, -1) is false
27 Resetting context to a clean state
28 Translate context (10,10)
29 Rectangle at (0,0) 20x20
30 PASS ctx.isPointInPath(5, 5) is false
31 PASS ctx.isPointInPath(10, 10) is true
32 PASS ctx.isPointInPath(20, 20) is true
33 PASS ctx.isPointInPath(29, 29) is true
34 PASS ctx.isPointInPath(-1, 10) is false
35 PASS ctx.isPointInPath(10, -1) is false
36 Translate context (10,20)
37 Transform context (1, 0, 0, -1, 0, 0)
38 Rectangle at (0,0) 20x20
39 PASS ctx.isPointInPath(5, 5) is false
40 PASS ctx.isPointInPath(10, 0) is true
41 PASS ctx.isPointInPath(29, 0) is true
42 PASS ctx.isPointInPath(10, 19) is true
43 PASS ctx.isPointInPath(21, 10) is true
44 PASS ctx.isPointInPath(29, 19) is true
45 PASS successfullyParsed is true
46
47 TEST COMPLETE
48
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698