1 <!-- Based on fast/repaint/intermediate-layout-position.html -->
4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=
10522</title>
5 <style type=
"text/css">
6 .float { float: right
; height: 40px; width: 40px; }
7 .test { height: 100px; 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",
13 "LayoutBlockFlow DIV id='target'",
15 "LayoutTableCell TD id='cell'",
17 function paintInvalidationTest()
19 document
.getElementById('target').style
.height
='20px';
20 document
.getElementById('cell').style
.height
='20px';
24 <body onload=
"runPaintInvalidationTest()">
26 <div class=
"float"></div>
27 <div style=
"clear: right; background-color: purple; width: 40px; padding: 3px;">
28 <div style=
"height: 40px; width: 0;" id=
"target">
34 <div class=
"float"></div>
35 <table style=
"clear: both; background-color: purple;">
37 <td id=
"cell" style=
"height: 40px; width: 40px;">