OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="resources/text-based-repaint.js"></script> |
| 3 <script> |
| 4 if (window.internals) { |
| 5 internals.settings.setRegionBasedColumnsEnabled(true); |
| 6 onload = runRepaintTest; |
| 7 } else { |
| 8 onclick = repaintTest; |
| 9 } |
| 10 function repaintTest() { |
| 11 var target = document.getElementById('target'); |
| 12 target.style.visibility = 'visible'; |
| 13 } |
| 14 </script> |
| 15 <div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width:
630px; height:40px; font:20px/1 ahem; color:green;"> |
| 16 <br> |
| 17 <br> |
| 18 <br> |
| 19 <br> |
| 20 <br> |
| 21 <br> |
| 22 <div id="target" style="position:relative; left:20px; top:20px; height:20px;
visibility:hidden; background:green;"></div> |
| 23 </div> |
| 24 <p>A green rectangle should be seen above (if tested manually, you need to click
first).</p> |
OLD | NEW |