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

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

Issue 354333002: Add path option(path2d) for hit regions on canvas2d. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: nit and rebase Created 6 years, 5 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-path2d-test-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-hit-regions-path2d-test-expected.txt b/LayoutTests/fast/canvas/canvas-hit-regions-path2d-test-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a4162cf0e4efd86a1df8e84b4f88ffd9f2f2216
--- /dev/null
+++ b/LayoutTests/fast/canvas/canvas-hit-regions-path2d-test-expected.txt
@@ -0,0 +1,13 @@
+Hit detection and mouse event tests
+PASS clickCanvas(100, 100) is 'face'
+PASS clickCanvas(200, 200) is 'nose'
+PASS clickCanvas(127, 242) is 'mouth'
+PASS clickCanvas(150, 125) is 'eye'
+PASS clickCanvas(250, 125) is 'eye'
+PASS clickCanvas(200, 125) is 'face'
+PASS clickCanvas(20, 10) is null
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698