blob: 2c7a9cd8f6ca37100ee08ba4831b40e76acb75a6 [file] [log] [blame]
<!DOCTYPE html>
.container {
margin: 20px;
width: 300px;
height: 200px;
border: 1px solid black;
overflow: scroll;
.vertical-rl {
-webkit-writing-mode: vertical-rl;
.offset {
width: 2000px;
height: 100px;
.target {
width: 100px;
height: 100px;
background-color: orange;
<div class="container">
<div class="vertical-rl">
<div class="target"></div>
<div class="offset"></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.scrollLeft = 3000;