blob: 77d7da83211ebc4ee841bd792e86823d606cdc2c [file] [log] [blame]
<!DOCTYPE html>
.container {
margin: 20px;
width: 300px;
height: 200px;
border: 1px solid black;
overflow: scroll;
.horizontal-bt {
-webkit-writing-mode: horizontal-bt;
.offset {
width: 100px;
height: 2000px;
.target {
width: 100px;
height: 100px;
background-color: orange;
<div class="horizontal-bt">
<div class="container">
<div class="offset"></div>
<div class="target"></div>
An orange rect should be painted.<br/>
In DumpRenderTree, there should be repaint logs of 100x100 rect. We don't care how many times is the log dumpped.
var container = document.getElementsByClassName("container")[0];
onload = function() {
container.scrollTop = 0;