1 <!-- Based on fast/repaint/invalidate-invisible-element.html -->
5 <script src=
"resources/paint-invalidation-test.js" type=
"text/javascript"></script>
6 <script type=
"text/javascript">
7 window
.onload = function() {
8 runPaintInvalidationTest();
11 window
.expectedPaintInvalidationObjects
= [
12 "LayoutBlockFlow (positioned) DIV id='target'",
14 function paintInvalidationTest() {
15 var target
= document
.getElementById('target');
16 target
.style
.visibility
= 'visible';
17 getComputedStyle(target
).color
;
18 target
.style
.top
= '300px';
24 style=
"visibility:hidden;
26 top: 200px; left: 200px;
27 width: 200px; height: 200px;
28 background-color: redl "></div>