Index: LayoutTests/fast/canvas/canvas-state-stack-simple-expected.html |
diff --git a/LayoutTests/fast/canvas/canvas-state-stack-simple-expected.html b/LayoutTests/fast/canvas/canvas-state-stack-simple-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6a9aa05fb8616f4a0b3edc738b31bdde29cf106e |
--- /dev/null |
+++ b/LayoutTests/fast/canvas/canvas-state-stack-simple-expected.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<html> |
+<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
+ <script> |
+ window.onload = function() { |
+ var context = document.getElementById("A").getContext("2d"); |
+ context.scale(2,2); |
+ context.beginPath(); |
+ context.rect(0,0,75,75); |
+ context.clip(); |
+ context.fillStyle = 'green'; |
+ context.fillRect(0, 0, 30, 30); |
+ context.fillRect(50, 50, 30, 30); |
+ } |
+ </script> |
+</head> |
+<body> |
+ <p>Two green squares of different sizes should appear below</p> |
+ <canvas id="A" width=300 height=300></canvas> |
+</body> |
+</html> |