1 <!-- Based on fast/repaint/scroll-fixed-reflected-layer.html -->
4 <link rel=
"stylesheet" href=
"../../../fast/repaint/resources/default.css"></style>
5 <script src=
"resources/paint-invalidation-test.js" type=
"text/javascript"></script>
6 <script type=
"text/javascript">
7 window
.onload = function() {
8 window
.scrollTo(100, 180);
9 runPaintInvalidationTest();
12 window
.expectedPaintInvalidationObjects
= [
13 "LayoutBlockFlow (positioned) DIV id='hideMe' class='absolute red'",
15 function paintInvalidationTest()
17 document
.getElementById("hideMe").style
.zIndex
= "-5";
21 <body style=
"height:2000px;">
22 <!-- You should see 1 green rectangle rotated in the output and no red. -->
23 <div style=
"height: 50px; top: 100px; left: 250px;" class=
"reflected fixed">
24 <div class=
"absolute green reflected" style=
"height: 50px;"></div>
25 <div id=
"hideMe" class=
"absolute red" style=
"top: 0px; left: 0px;"></div>
27 <!-- Make sure we are scrolled -->
28 <div style=
"top: 0px; left: 0px;" class=
"absolute red"></div>