1 <!-- Based on fast/repaint/vertical-overflow-child.html -->
9 border:
1px solid black;
13 -webkit-writing-mode: vertical-rl;
22 background-color: orange;
28 <div class=
"container">
29 <div class=
"vertical-rl">
30 <div class=
"target"></div>
31 <div class=
"offset"></div>
33 An orange rect should be painted.
<br/>
34 In DumpRenderTree, there should be repaint logs of
100x100 rect. We don't care how many times is the log dumpped.
35 <script src=
"../../../fast/repaint/../../resources/run-after-layout-and-paint.js"></script>
36 <script src=
"resources/paint-invalidation-test.js"></script>
38 window
.expectedPaintInvalidationObjects
= [
39 "LayoutBlockFlow DIV class='target'",
41 function paintInvalidationTest() {
42 var target
= document
.getElementsByClassName("target")[0];
43 target
.style
.visibility
= "visible";
45 var container
= document
.getElementsByClassName("container")[0];
46 runAfterLayoutAndPaint(function() {
47 container
.scrollLeft
= 3000;
48 runPaintInvalidationTest();