4 <script src=
"resources/text-based-repaint.js"></script>
7 testRunner
.dumpAsTextWithPixelResults();
9 function repaintTest() {
10 var floatContainer
= document
.getElementById("floatContainer");
11 floatContainer
.style
.display
= "none";
14 window
.addEventListener("load", runRepaintTest
);
24 background-color: red;
32 <div style=
"opacity: 0;">
33 <a href=
"https://bugs.webkit.org/show_bug.cgi?id=105861">Bug
105861</a>: REGRESSION (r132591): Underpainting @ uofmchildrenshospital.org
<br>
34 This test checks that overhanging floats are properly repainted when a renderer is detached.
<br>
35 This test has PASSED if there is no RED below.
37 <div class=
"floatWithHeight"></div>
38 <div id=
"floatContainer">
39 <div class=
"float"></div>