summaryrefslogtreecommitdiffstats
path: root/layout/reftests/canvas/size-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/canvas/size-1.html')
-rw-r--r--layout/reftests/canvas/size-1.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/canvas/size-1.html b/layout/reftests/canvas/size-1.html
new file mode 100644
index 000000000..afca44ea6
--- /dev/null
+++ b/layout/reftests/canvas/size-1.html
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML>
+<html>
+<body>
+<canvas style="display:block" id="c" width="100" height="30000"></canvas>
+<script>
+var ctx = document.getElementById("c").getContext("2d");
+ctx.fillStyle = "lime";
+ctx.fillRect(0, 0, 100, 30000);
+window.scrollTo(0, 100000);
+</script>
+</body>
+</html>