| OLD | NEW |
| (Empty) |
| 1 <!-- Based on fast/repaint/repaint-tile-clipped.html --> | |
| 2 <!DOCTYPE html> | |
| 3 <html> | |
| 4 <head> | |
| 5 <script src="resources/paint-invalidation-test.js"></script> | |
| 6 <script> | |
| 7 function paintInvalidationTest() | |
| 8 { | |
| 9 document.getElementById('ref').style.display = 'block'; | |
| 10 } | |
| 11 onload = runPaintInvalidationTest; | |
| 12 </script> | |
| 13 </head> | |
| 14 <style> | |
| 15 #ref { | |
| 16 display: none; | |
| 17 min-width: 20em; | |
| 18 height: 10em; | |
| 19 position: absolute; | |
| 20 bottom: 5px; | |
| 21 border: 1px solid; | |
| 22 background-color: #0f0; | |
| 23 } | |
| 24 .wrapper{ | |
| 25 position: relative; | |
| 26 } | |
| 27 .spaced{ | |
| 28 padding-top: 300px; | |
| 29 width: 10em; | |
| 30 } | |
| 31 </style> | |
| 32 <p> | |
| 33 This tests that the repaint of absolutely positioned elements inside | |
| 34 relatively positioned inline blocks works correclty. | |
| 35 <a href="http://crbug.com/370945">crbug.com/370945</a> | |
| 36 </p> | |
| 37 <p>You should see a green rectangle without any missing pieces if this test pass
ed. </p> | |
| 38 | |
| 39 <p class='spaced'> | |
| 40 <span class='wrapper'> | |
| 41 <span id="ref"></span> | |
| 42 </span> | |
| 43 </p> | |
| 44 | |
| OLD | NEW |