summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1302389-scrolled-rect-2d.html
blob: 941729cdd3c26176136e12ad2cefa6ec71377cca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;">