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

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

Issue 1553373002: Canvas2d: Fix incorrect alignment of hit region when applied css/zoom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 Hit detection and mouse event tests
2 PASS clickCanvas(100, 100) is 'face'
3 PASS clickCanvas(200, 200) is 'nose'
4 PASS clickCanvas(127, 242) is 'mouth'
5 PASS clickCanvas(150, 125) is 'eye'
6 PASS clickCanvas(250, 125) is 'eye'
7 PASS clickCanvas(200, 125) is 'face'
8 PASS clickCanvas(20, 10) is null
9
10 Hit detection and mouse/touch event tests with CSS sizing
11 PASS clickCanvas(100, 100) is 'face'
12 PASS clickCanvas(200, 200) is 'nose'
13 PASS clickCanvas(127, 242) is 'no event sent to canvas'
14 PASS clickCanvas(150, 125) is 'eye'
15 PASS clickCanvas(250, 125) is 'no event sent to canvas'
16 PASS clickCanvas(200, 125) is 'face'
17 PASS clickCanvas(20, 10) is null
18
19 Hit detection and mouse/touch event tests with adjusted pixel ratio
20 PASS clickCanvas(50, 50) is 'face'
21 PASS clickCanvas(100, 100) is 'nose'
22 PASS clickCanvas(64, 121) is 'mouth'
23 PASS clickCanvas(75, 63) is 'eye'
24 PASS clickCanvas(125, 63) is 'eye'
25 PASS clickCanvas(100, 63) is 'face'
26 PASS clickCanvas(10, 5) is null
27
28 Hit detection and mouse/touch event tests with adjusted page scale factor
29 PASS clickCanvas(50, 50, 0.5) is 'face'
30 PASS clickCanvas(100, 100, 0.5) is 'nose'
31 PASS clickCanvas(64, 121, 0.5) is 'mouth'
32 PASS clickCanvas(75, 63, 0.5) is 'eye'
33 PASS clickCanvas(125, 63, 0.5) is 'eye'
34 PASS clickCanvas(100, 63, 0.5) is 'face'
35 PASS clickCanvas(10, 5, 0.5) is null
36
37 NotSupportedError exception tests
38 PASS context.addHitRegion() threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null..
39 PASS context.addHitRegion({ id : '' }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control ar e null..
40 PASS context.addHitRegion({ id : undefined }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and con trol are null..
41 PASS context.addHitRegion({ control : {} }) threw exception TypeError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': member control is not of type Element..
42 PASS context.addHitRegion({ control : null }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and con trol are null..
43 PASS context.addHitRegion({ control : undefined }) threw exception NotSupportedE rror: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id an d control are null..
44 PASS context.addHitRegion({ id : '', control : {} }) threw exception TypeError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': member control i s not of type Element..
45 PASS context.addHitRegion({ id : undefined, control : {} }) threw exception Type Error: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': member co ntrol is not of type Element..
46 PASS context.addHitRegion({ id : '', control : null }) threw exception NotSuppor tedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both i d and control are null..
47 PASS context.addHitRegion({ id : undefined, control : null }) threw exception No tSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null..
48 PASS context.addHitRegion({ id : '', control : undefined }) threw exception NotS upportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': B oth id and control are null..
49 PASS context.addHitRegion({ id : undefined, control : undefined }) threw excepti on NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContex t2D': Both id and control are null..
50
51 PASS successfullyParsed is true
52
53 TEST COMPLETE
54
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698