blob: 87848c289e329ca8737ecaf1164bd710f33ed5f7 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<script src="resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
var floatContainer = document.getElementById("floatContainer");
floatContainer.style.display = "none";
}
window.addEventListener("load", runRepaintAndPixelTest);
</script>
<style>
.floatWithHeight {
float: left;
height: 400px;
}
.float {
float: left;
background-color: red;
height: 100px;
width: 100px;
}
</style>
</head>
<body>
<div>
<div style="opacity: 0;">
<a href="https://bugs.webkit.org/show_bug.cgi?id=105861">Bug 105861</a>: REGRESSION (r132591): Underpainting @ uofmchildrenshospital.org<br>
This test checks that overhanging floats are properly repainted when a renderer is detached.<br>
This test has PASSED if there is no RED below.
</div>
<div class="floatWithHeight"></div>
<div id="floatContainer">
<div class="float"></div>
</div>
</div>
</body>
</html>