OLD | NEW |
(Empty) | |
| 1 <!-- Based on fast/repaint/multicol-with-abspos-in-relpos.html --> |
| 2 <!DOCTYPE html> |
| 3 <script src="resources/paint-invalidation-test.js"></script> |
| 4 <script> |
| 5 onload = runPaintInvalidationTest; |
| 6 window.expectedPaintInvalidationObjects = [ |
| 7 "LayoutBlockFlow (positioned) DIV id='target'", |
| 8 "LayoutText #text", |
| 9 "InlineTextBox 'PASS'", |
| 10 ]; |
| 11 function paintInvalidationTest() { |
| 12 var target = document.getElementById('target'); |
| 13 target.style.visibility = 'visible'; |
| 14 } |
| 15 </script> |
| 16 <div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width:
630px; height:40px; color:green;"> |
| 17 <br> |
| 18 <br> |
| 19 <br> |
| 20 <br> |
| 21 <br> |
| 22 <br> |
| 23 <div style="position:relative;"> |
| 24 <br> |
| 25 <br> |
| 26 <div id="target" style="position:absolute; left:20px; top:20px; visibili
ty:hidden;">PASS</div> |
| 27 </div> |
| 28 </div> |
| 29 <p>A green PASS should be seen above.</p> |
OLD | NEW |