2 <script src="resources/text-based-repaint.js"></script>
3 <body onload="runRepaintTest()">
4 <div style="font-family: Ahem;">This test passes if we correctly repaint the following relatively positioned inline.</div>
5 <span style="position: relative; top: 80px;">
6 <span id="target" style="position: relative; top: 80px;">
7 <div style="display: inline-block; width: 100px; height: 100px; overflow: hidden; font-family: Ahem; font-size: 100px; color: green;">x</div>
11 function repaintTest()
13 document.getElementById("target").style.top = "100px";