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