1 <!-- Based on fast/repaint/invalidate-paint-in-iframe-in-composited-layer.html -->
5 <script src=
"resources/paint-invalidation-test.js"></script>
7 window
.onload = function() {
8 runPaintInvalidationTest();
11 window
.expectedPaintInvalidationObjects
= [
12 "LayoutBlockFlow DIV",
14 function paintInvalidationTest() {
15 document
.getElementsByTagName('iframe')[0]
17 .getElementsByTagName('div')[0]
19 .backgroundColor
= 'green';
23 <div style=
"height: 400px"></div>
24 <div style=
"height: 200px; width: 200px; transform: translateZ(0)">
25 <iframe srcdoc=
"<div style='height: 50px; width: 50px; background-color: red;'></div>"></iframe>