summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/632781-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/632781-ref.html')
-rw-r--r--layout/reftests/bugs/632781-ref.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/reftests/bugs/632781-ref.html b/layout/reftests/bugs/632781-ref.html
new file mode 100644
index 0000000000..30b26fa5b3
--- /dev/null
+++ b/layout/reftests/bugs/632781-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <body>
+ <div style="width: 120px; height: 120px; overflow: hidden">
+ <canvas width="120" height="120" id="c"></canvas>
+ </div>
+ <script>
+ var ctx = document.getElementById("c").getContext("2d");
+ ctx.fillStyle = "green";
+ ctx.fillRect(0, 0, 120, 120);
+ </script>
+ </body>
+</html>