OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html lang="en"> | 3 <html lang="en"> |
4 <head> | 4 <head> |
5 <style type="text/css" media="screen"> | 5 <style type="text/css" media="screen"> |
6 | 6 |
7 .container { | 7 .container { |
8 width: 400px; | 8 width: 400px; |
9 height: 100px; | 9 height: 100px; |
10 border: 1px solid black; | 10 border: 1px solid black; |
11 font-size: 50px; | 11 font-size: 50px; |
12 -webkit-column-count: 2; | 12 -webkit-column-count: 2; |
13 column-count: 2; | 13 column-count: 2; |
14 column-fill: auto; | 14 column-fill: auto; |
15 } | 15 } |
16 | |
17 span { | |
18 font-family: Ahem; | |
19 } | |
20 </style> | 16 </style> |
21 <script src="resources/text-based-repaint.js" type="text/javascript"></script> | |
22 <script type="text/javascript"> | |
23 function repaintTest() | |
24 { | |
25 document.getElementById('a').innerHTML = 'XXXXXX'; | |
26 } | |
27 </script> | |
28 </head> | 17 </head> |
29 <body onload="runRepaintTest();"> | 18 <body"> |
30 | 19 |
31 <div class="container"> | 20 <div class="container"> |
32 <br> | 21 <br> |
33 <span id="a">x</span> | 22 <span id="a">XXXXXX</span> |
34 </div> | 23 </div> |
35 </body> | 24 </body> |
36 </html> | 25 </html> |
OLD | NEW |