OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="resources/text-based-repaint.js"></script> | 2 <script src="resources/text-based-repaint.js"></script> |
3 <script> | 3 <script> |
4 if (window.internals) | 4 if (window.internals) |
5 onload = runRepaintAndPixelTest; | 5 onload = runRepaintAndPixelTest; |
6 else | 6 else |
7 onclick = repaintTest; | 7 onclick = repaintTest; |
8 function repaintTest() { | 8 function repaintTest() { |
9 var mc = document.getElementById('mc'); | 9 var mc = document.getElementById('mc'); |
10 mc.appendChild(document.createTextNode('PASS')); | 10 mc.appendChild(document.createTextNode('PASS')); |
11 } | 11 } |
12 </script> | 12 </script> |
13 <div id="mc" style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto
; width:630px; height:20px; font:20px/1 ahem; color:green;"> | 13 <div id="mc" style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto
; width:630px; height:20px; font:20px/1 ahem; color:green;"> |
14 <br> | 14 <br> |
15 <br> | 15 <br> |
16 <br> | 16 <br> |
17 </div> | 17 </div> |
18 <p>A green rectangle should be seen above (if tested manually, you need to click
first).</p> | 18 <p>A green rectangle should be seen above (if tested manually, you need to click
first).</p> |
OLD | NEW |