summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1302389-scrolled-rect-1d.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/writing-mode/1302389-scrolled-rect-1d.html')
-rw-r--r--layout/reftests/writing-mode/1302389-scrolled-rect-1d.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1302389-scrolled-rect-1d.html b/layout/reftests/writing-mode/1302389-scrolled-rect-1d.html
new file mode 100644
index 000000000..094cf9012
--- /dev/null
+++ b/layout/reftests/writing-mode/1302389-scrolled-rect-1d.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script>
+function scroll() {
+ document.getElementsByTagName("div")[0].scrollTop = -200;
+}
+</script>
+<body onload="scroll()">
+<div style="writing-mode: sideways-lr;
+ height: 300px;
+ font-size: 0;
+ line-height: 0;
+ border: 1px solid gray;
+ overflow: scroll;">
+ <div style="height: 100%;
+ width: 100px;
+ border: 50px solid blue;">