2 <script src=
"resources/paint-invalidation-test.js"></script>
4 window
.expectedPaintInvalidationObjects
= [
5 "LayoutBlockFlow DIV id='overflow1'",
6 "LayoutBlockFlow DIV id='overflow2'",
8 function paintInvalidationTest() {
9 document
.getElementById('overflow1').style
.overflow
= "visible";
10 document
.getElementById('overflow2').style
.overflow
= "hidden";
12 onload
= runPaintInvalidationTest
;
31 background-color: green;
32 backface-visibility: hidden;
40 <!-- We should not repaint composited descendants on overflow style changes (verified with the text expectation).
41 The compositor should handle any visual change caused by the change of overflow clipping (verified with the pixel expectation). -->
43 <div class=
"composited-child"></div>
44 <div class=
"composited-child overflow-child"></div>
47 <div class=
"composited-child"></div>
48 <div class=
"composited-child overflow-child"></div>