4 <script src="../../resources/run-after-display.js"></script>
5 <script src="resources/text-based-repaint.js"></script>
7 window.onload = function() {
11 function repaintTest() {
12 document.getElementsByTagName('iframe')[0]
14 .getElementsByTagName('div')[0]
16 .backgroundColor = 'green';
20 <div style="height: 400px"></div>
21 <div style="height: 200px; width: 200px; transform: translateZ(0)">
22 <iframe srcdoc="<div style='height: 50px; width: 50px; background-color: red;'></div>"></iframe>