1 <!-- Based on compositing/overflow/updating-scrolling-container.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
5 window
.expectedPaintInvalidationObjects
= [
6 "LayoutBlockFlow DIV id='container'",
8 function paintInvalidationTest() {
9 document
.getElementById('container').style
.borderColor
= "green";
11 onload
= runPaintInvalidationTest
;
18 border:
5px solid red;
25 <div style=
"height: 100px">
26 Tests invalidation of scrolling container and contents on change of style which affects the container only.
27 Passes if there is no red, and only the container is invalidated.
30 <div id=
"content">CONTENT
</div>