Index: LayoutTests/fast/canvas/fill-stroke-clip-reset-path-expected.html |
diff --git a/LayoutTests/fast/canvas/fill-stroke-clip-reset-path-expected.html b/LayoutTests/fast/canvas/fill-stroke-clip-reset-path-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b3000b11e14f11f3ce5b8bc9422fbc7cad95ae49 |
--- /dev/null |
+++ b/LayoutTests/fast/canvas/fill-stroke-clip-reset-path-expected.html |
@@ -0,0 +1,25 @@ |
+<html> |
+<head> |
+<script> |
+function testOne(operation) |
+{ |
+ var context = document.getElementById(operation).getContext('2d'); |
+ |
+ context.fillStyle = "green"; |
+ context.fillRect(0, 0, 1000, 1000); |
+} |
+function test() |
+{ |
+ testOne("fill"); |
+ testOne("stroke"); |
+ testOne("clip"); |
+} |
+</script> |
+</head> |
+<body onload="test()"> |
+<p>All three of these small canvases should be green, not red.</p> |
+<canvas id="fill" width="20" height="20"></canvas> |
+<canvas id="stroke" width="20" height="20"></canvas> |
+<canvas id="clip" width="20" height="20"></canvas> |
+</body> |
+</html> |