Index: LayoutTests/fast/canvas/canvas-unbalanced-save-expected.html |
diff --git a/LayoutTests/fast/canvas/canvas-unbalanced-save-expected.html b/LayoutTests/fast/canvas/canvas-unbalanced-save-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6b5325775458a01523593b1d9b4f64b6f6d522ae |
--- /dev/null |
+++ b/LayoutTests/fast/canvas/canvas-unbalanced-save-expected.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<script> |
+window.onload = function () { |
+ var ctx = document.getElementById('c').getContext('2d'); |
+ ctx.fillStyle = 'green'; |
+ ctx.fillRect(0, 0, 100, 100); |
+ ctx.fillStyle = 'blue'; |
+ ctx.fillRect(10, 10, 80, 80); |
+ ctx.fillStyle = 'red'; |
+ ctx.fillRect(20, 20, 60, 60); |
+} |
+</script> |
+<p>The canvas below should contain green, blue and red nested squares, all centered with respect to each other.</p> |
+<canvas id="c" width="100" height="100"></canvas> |