1 <!-- Based on fast/repaint/intermediate-layout-position-clip.html -->
5 <style type=
"text/css">
6 .float { float: right
; height: 40px; width: 40px; }
7 .test { height: 200px; background-color: aliceblue
}
9 <script src=
"resources/paint-invalidation-test.js" type=
"text/javascript"></script>
10 <script type=
"text/javascript">
11 window
.expectedPaintInvalidationObjects
= [
12 "LayoutBlockFlow DIV id='target'",
14 function paintInvalidationTest()
16 document
.getElementById('target').style
.height
='20px';
20 <body onload=
"runPaintInvalidationTest()">
21 <div id=
"scroller" style=
"overflow: hidden; height: 40px">
23 <div class=
"float"></div>
24 <div style=
"clear: right; padding-bottom: 10px;">
25 <div style=
"height: 40px; width: 40px; background-color: red;" id=
"target">
30 <script>scroller
.scrollTop
= 60;</script>