| 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.section { display: table-row-group; } | 6 div.section { display: table-row-group; } |
| 7 div.cell { display: table-cell; width: 50px; height: 50px; background-color:
blue; } | 7 div.cell { display: table-cell; width: 50px; height: 50px; background-color:
blue; } |
| 8 div.row { display: table-row; } | 8 div.row { display: table-row; } |
| 9 div.test { background-color: green; width: 50px; height: 50px; } | 9 div.test { background-color: green; width: 50px; height: 50px; } |
| 10 </style> | 10 </style> |
| 11 | 11 |
| 12 <div class="table" id="table-1"> | 12 <div class="table" id="table-1"> |
| 13 <div class="section" id="tbody-1"> | 13 <div class="section" id="tbody-1"> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 32 var before = document.getElementById(beforeID); | 32 var before = document.getElementById(beforeID); |
| 33 tableRow.insertBefore(createDiv(), before); | 33 tableRow.insertBefore(createDiv(), before); |
| 34 } | 34 } |
| 35 | 35 |
| 36 document.body.offsetTop; | 36 document.body.offsetTop; |
| 37 | 37 |
| 38 insertDiv("row-1", "cell-2"); | 38 insertDiv("row-1", "cell-2"); |
| 39 </script> | 39 </script> |
| 40 </body> | 40 </body> |
| 41 </html> | 41 </html> |
| OLD | NEW |