| <!DOCTYPE html> |
| <script src="../resources/text-based-repaint.js"></script> |
| <script src="../../../resources/ahem.js"></script> |
| <body onload="runRepaintAndPixelTest()"> |
| <div style="font-family: Ahem;">This test passes if we correctly repaint the following relatively positioned inline.</div> |
| <span style="position: relative; top: 80px;"> |
| <span id="target" style="position: relative; top: 80px;"> |
| <div style="display: inline-block; width: 100px; height: 100px; overflow: hidden; font-family: Ahem; font-size: 100px; color: green;">x</div> |
| </span> |
| </span> |
| <script> |
| function repaintTest() |
| { |
| document.getElementById("target").style.top = "100px"; |
| } |
| </script> |