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

Unified Diff: LayoutTests/fast/canvas/canvas-hit-regions-clear-test-expected.txt

Issue 300223009: Implement basic parts of hit regions on canvas2d. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: exclude clipping region part Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/canvas/canvas-hit-regions-clear-test-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-hit-regions-clear-test-expected.txt b/LayoutTests/fast/canvas/canvas-hit-regions-clear-test-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e304b9591b51d805c0b8b0e47065892ea67db2e4
--- /dev/null
+++ b/LayoutTests/fast/canvas/canvas-hit-regions-clear-test-expected.txt
@@ -0,0 +1,31 @@
+PASS internals.countHitRegions(context) is 0
+PASS internals.countHitRegions(context) is 1
+PASS internals.countHitRegions(context) is 2
+PASS clickCanvas(60, 60) is 'red'
+PASS clickCanvas(120, 120) is 'yellow'
+PASS internals.countHitRegions(context) is 2
+PASS clickCanvas(60, 60) is null
+PASS clickCanvas(120, 120) is 'yellow'
+PASS internals.countHitRegions(context) is 1
+PASS clickCanvas(120, 120) is null
+PASS clickCanvas(40, 40) is 'red'
+PASS internals.countHitRegions(context) is 1
+PASS clickCanvas(62, 62) is 'red'
+PASS clickCanvas(40, 40) is null
+PASS internals.countHitRegions(context) is 2
+PASS clickCanvas(40, 40) is 'yellow'
+PASS internals.countHitRegions(context) is 2
+PASS clickCanvas(40, 40) is null
+PASS clickCanvas(101, 1) is null
+PASS internals.countHitRegions(context) is 3
+PASS clickCanvas(101, 51) is 'blue'
+PASS internals.countHitRegions(context) is 2
+PASS clickCanvas(101, 51) is null
+PASS internals.countHitRegions(context) is 0
+PASS clickCanvas(62, 62) is null
+PASS internals.countHitRegions(context) is 0
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698