blob: 0e8f0c60d88cc5872f51a7284343ef14cfe4601b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<head>
<script src="resources/text-based-repaint.js"></script>
<script>
function repaintTest()
{
document.getElementById("target").style.display = "none";
}
</script>
</head>
<body onload="runRepaintTest()">
<div style="background-color: yellow;"><div style="display: inline-block; width: 100px; height: 100px; background-color: green; margin-top: 50px; margin-bottom: -100px;"></div><br><div style="float: left;"></div></div>
<div style="position: absolute; height: 100px; background-color: red; width: 100px;" id="target"></div>
</body>
|