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

Unified Diff: LayoutTests/fast/canvas/canvas-partial-invalidation-zoomed-expected.html

Issue 402613006: Fixing 2D canvas invalidation region tracking. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixups and baselines 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-partial-invalidation-zoomed-expected.html
diff --git a/LayoutTests/fast/canvas/canvas-partial-invalidation-zoomed-expected.html b/LayoutTests/fast/canvas/canvas-partial-invalidation-zoomed-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..0a8a8af4da31b5c092014cf7be8a2fef92f4dbda
--- /dev/null
+++ b/LayoutTests/fast/canvas/canvas-partial-invalidation-zoomed-expected.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<body style="zoom: 1.2">
+ <p>An all green square should appear below</p>
+ <canvas id="A" width=300 height=300></canvas>
+ <script type="text/javascript" charset="utf-8">
+ var context = document.getElementById("A").getContext("2d");
+ context.fillStyle = 'green';
+ context.fillRect(1, 1, 298, 298);
+ </script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698