blob: fe51fba93747b5fb64234d0e2d1f777fd6fd49ac [file] [log] [blame]
<!-- Based on fast/repaint/text-in-relative-positioned-inline.html -->
<head>
<script src="resources/paint-invalidation-test.js"></script>
<script>
function paintInvalidationTest()
{
document.getElementById("target").style.display = "none";
}
</script>
</head>
<body onload="runPaintInvalidationTest()">
<div style="margin-left: 100px; font: 100px; -webkit-font-smoothing: none; height: 100px;">
<span id="target" style="position: relative; left: -100px; color: red;">ab</span>
</div>
<div style="width: 100px; height: 100px; background-color: green; margin-top: -100px;"></div>
</body>