summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1302389-scrolled-rect-2d.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/writing-mode/1302389-scrolled-rect-2d.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1302389-scrolled-rect-2d.html b/layout/reftests/writing-mode/1302389-scrolled-rect-2d.html
new file mode 100644
index 0000000000..941729cdd3
--- /dev/null
+++ b/layout/reftests/writing-mode/1302389-scrolled-rect-2d.html
@@ -0,0 +1,17 @@
+<!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;
+ direction: rtl;">
+ <div style="height: 100%;
+ width: 100px;
+ border: 50px solid blue;">