<head>
<script src="../../../resources/ahem.js"></script>
<script src="../resources/text-based-repaint.js"></script>
<script>
function repaintTest()
{
document.getElementById("target").style.display = "none";
}
</script>
</head>
<body onload="runRepaintAndPixelTest()">
<div style="margin-left: 100px; font: 100px Ahem; -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>