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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-hit-regions-clip-test-expected.txt

Issue 1630683002: Canvas2d: addHitRegion() should take clipping region into account. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 Simple rect clip tests.
2 PASS clickCanvas(10, 10) is null
3 PASS clickCanvas(60, 60) is 'clip'
4
5 Non rect clip tests.
6 PASS clickCanvas(0, 0) is null
7 PASS clickCanvas(100, 0) is null
8 PASS clickCanvas(100, 100) is null
9 PASS clickCanvas(0, 100) is null
10 PASS clickCanvas(50, 50) is 'clip'
11
12 Multiple clip tests.
13 PASS clickCanvas(0, 0) is null
14 PASS clickCanvas(100, 0) is 'clip'
15 PASS clickCanvas(100, 100) is null
16 PASS clickCanvas(0, 100) is null
17 PASS clickCanvas(50, 0) is null
18 PASS clickCanvas(150, 0) is null
19 PASS clickCanvas(150, 100) is null
20 PASS clickCanvas(50, 100) is null
21 PASS clickCanvas(50, 50) is 'clip'
22 PASS clickCanvas(100, 50) is 'clip'
23
24 No pixels tests.
25 PASS context.addHitRegion({ id : 'clip' }) threw exception NotSupportedError: Fa iled to execute 'addHitRegion' on 'CanvasRenderingContext2D': The specified path has no pixels..
26 PASS context.addHitRegion({ id : 'clip' }) threw exception NotSupportedError: Fa iled to execute 'addHitRegion' on 'CanvasRenderingContext2D': The specified path has no pixels..
27
28 PASS successfullyParsed is true
29
30 TEST COMPLETE
31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698