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

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

Issue 352793006: context.addHitRegion() is not working when using transform operation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: state stack 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-transform-test-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-hit-regions-transform-test-expected.txt b/LayoutTests/fast/canvas/canvas-hit-regions-transform-test-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7dc62531cf1ca8282f1add1ac70092fdddd805f
--- /dev/null
+++ b/LayoutTests/fast/canvas/canvas-hit-regions-transform-test-expected.txt
@@ -0,0 +1,59 @@
+Rectangle with context.translate():
+PASS region is null
+PASS region is 'hit'
+PASS region is 'hit'
+PASS region is null
+PASS region is 'hit'
+
+Rectangle with context.rotate():
+PASS region is null
+PASS region is 'hit'
+PASS region is null
+PASS region is 'hit'
+
+Rectangle with context.scale():
+PASS region is 'hit'
+PASS region is 'hit'
+PASS region is 'hit'
+PASS region is 'hit'
+
+Non rectangle (star) with context.translate():
+PASS region is null
+PASS region is null
+PASS region is 'hit'
+PASS region is 'hit'
+PASS region is null
+PASS region is null
+PASS region is 'hit'
+PASS region is null
+PASS region is 'hit'
+PASS region is 'hit'
+
+Non rectangle (star) with context.rotate():
+PASS region is 'hit'
+PASS region is null
+PASS region is null
+PASS region is null
+PASS region is null
+PASS region is null
+PASS region is null
+PASS region is 'hit'
+PASS region is 'hit'
+PASS region is null
+
+Non rectangle (star) with context.scale():
+PASS region is 'hit'
+PASS region is 'hit'
+PASS region is 'hit'
+PASS region is null
+PASS region is null
+PASS region is null
+PASS region is null
+PASS region is 'hit'
+PASS region is 'hit'
+PASS region is null
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/canvas/canvas-hit-regions-transform-test.html ('k') | Source/core/html/canvas/CanvasRenderingContext2D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698