3 <title>Relative Positioned Inline Repaint Test</title>
5 #target { background-color:orange; }
7 <script src="resources/repaint.js" type="text/javascript"></script>
8 <script type="text/javascript">
11 document.getElementById('target').style.backgroundColor='red';
15 <body onload="runRepaintTest();">
16 <p>If you see any red or orange below then the test has failed.</p>
17 <span style="position:relative"><div style="vertical-align:top;display:inline-block; width:100px;height:100px; background-color:green"></div></span>
19 <div id="target" style="display:inline-block; margin-top:-50px;width:100px;height:50px;"></div>