| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <body style="font-family: ahem; -webkit-font-smoothing: none;"> | 3 <body style="font-family: ahem; -webkit-font-smoothing: none;"> |
| 4 <style> | 4 <style> |
| 5 div.table { display: table; } | 5 div.table { display: table; } |
| 6 div.cell { display: table-cell; width: 50px; height: 50px; background-color:
blue; } | 6 div.cell { display: table-cell; width: 50px; height: 50px; background-color:
blue; } |
| 7 div.row { display: table-row; } | 7 div.row { display: table-row; } |
| 8 </style> | 8 </style> |
| 9 | 9 |
| 10 <div class="table" id="table-1"> | 10 <div class="table" id="table-1"> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 var before = document.getElementById(beforeID); | 30 var before = document.getElementById(beforeID); |
| 31 table.insertBefore(createSpan(), before); | 31 table.insertBefore(createSpan(), before); |
| 32 } | 32 } |
| 33 | 33 |
| 34 document.body.offsetTop; | 34 document.body.offsetTop; |
| 35 | 35 |
| 36 insertSpan("table-1", "row-2"); | 36 insertSpan("table-1", "row-2"); |
| 37 </script> | 37 </script> |
| 38 </body> | 38 </body> |
| 39 </html> | 39 </html> |
| OLD | NEW |