1 <!-- Based on compositing/overflow/fixed-scroll-in-empty-root-layer.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
5 window
.expectedPaintInvalidationObjects
= [
6 "LayoutBlockFlow (positioned) DIV",
7 "LayoutBlockFlow (positioned) DIV",
9 function paintInvalidationTest() {
10 window
.scrollBy(0, 200);
12 onload
= runPaintInvalidationTest
;
14 <body style=
"height: 2000px">
15 Tests invalidation of fixed element when scrolled in a page with empty root layer. Passes if there is no red.
24 <!-- This div makes all of the contents of the page be in sublayers of the root layer, so root layer is empty. -->
28 backface-visibility: hidden;
31 background-color: red;