| <!DOCTYPE html> |
| <html> |
| <head> |
| <script src="../resources/text-based-repaint.js"></script> |
| <script> |
| if (window.testRunner) |
| testRunner.waitUntilDone(); |
| |
| function repaintTest() |
| { |
| document.getElementById('ref').style.display = 'block'; |
| if (window.testRunner) |
| testRunner.notifyDone(); |
| } |
| onload = runRepaintAndPixelTest; |
| </script> |
| </head> |
| <style> |
| #ref { |
| display: none; |
| min-width: 20em; |
| height: 10em; |
| position: absolute; |
| bottom: 5px; |
| border: 1px solid; |
| background-color: #0f0; |
| } |
| .wrapper{ |
| position: relative; |
| } |
| .spaced{ |
| padding-top: 300px; |
| width: 10em; |
| } |
| </style> |
| <p> |
| This tests that the repaint of absolutely positioned elements inside |
| relatively positioned inline blocks works correclty. |
| <a href="http://crbug.com/370945">crbug.com/370945</a> |
| </p> |
| <p>You should see a green rectangle without any missing pieces if this test passed. </p> |
| |
| <p class='spaced'> |
| <span class='wrapper'> |
| <span id="ref"></span> |
| </span> |
| </p> |
| |