3 <link rel=
"stylesheet" href=
"resources/default.css"></style>
4 <script src=
"resources/text-based-repaint.js" type=
"text/javascript"></script>
5 <script type=
"text/javascript">
7 testRunner
.dumpAsTextWithPixelResults();
11 var moveMeElement
= document
.getElementById('moveMe');
12 moveMeElement
.scrollTop
= 100;
13 moveMeElement
.scrollLeft
= 150;
17 <body style=
"height:2000px;" onload=
"runRepaintTest()">
18 <!-- You should see 1 green rectangle in the output and no red. -->
19 <div id=
"moveMe" style=
"top: 150px; left: 100px;" class=
"absolute clipped">
20 <div class=
"relative green" style=
"top: 100px; left: 150px; width: 500px; height: 500px;"></div>
21 <div class=
"absolute red" style=
"top:0px; left: 0px;"></div>