summaryrefslogtreecommitdiffstats
path: root/layout/reftests/canvas/1224976-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/canvas/1224976-1.html')
-rw-r--r--layout/reftests/canvas/1224976-1.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/canvas/1224976-1.html b/layout/reftests/canvas/1224976-1.html
new file mode 100644
index 000000000..63badf019
--- /dev/null
+++ b/layout/reftests/canvas/1224976-1.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML>
+<canvas id="c"></canvas>
+<script>
+var ctx = c.getContext('2d');
+ctx.scale(0,1);
+ctx.fillStyle = "black";
+ctx.fillRect(0, 0, 10, 10);
+ctx.setTransform(1, 0, 0, 1, 0, 0);
+ctx.fillRect(0, 0, 10, 10);
+</script>