2 <script src=
"resources/text-based-repaint.js"></script>
4 function repaintTest() {
5 document
.getElementById('fixed').style
.height
= '200px';
8 // Scroll before repaint test to test correct scroll offset of invalidation rect
9 // for fixed-position element when it needs repaint.
10 window
.scrollTo(0, 400);
21 background-color: red;
28 background-color: red;
29 backface-visibility: hidden;
38 background-color: green;
41 Tests paint invalidation of fixed element under a composited absolute element on resize after scrolled.
42 Passes if there is a
100x200 green rectangle and no red.
43 <div id=
"indicator"></div>