add thead

This commit is contained in:
Ilya Kantor 2015-03-13 20:32:48 +03:00
parent 891e5d1971
commit 54e4f0c859
15 changed files with 70 additions and 2 deletions

View file

@ -381,8 +381,10 @@ SayWidget.prototype['setSayHandler'] = SayWidget.prototype.setSayHandler
<table>
<thead>
<tr>
<th>Экстерн</th>
<th>Экспорт</th>
</tr>
</thead>
<tbody>
<tr>

View file

@ -86,11 +86,14 @@ document.body.innerHTML = "";
Как ни странно, браузеры ведут себя по-разному:
<table>
<thead>
<tr><th></th>
<th>`parentNode`</th>
<th>`nextSibling`</th>
<th>`children.length`</th>
</tr>
</thead>
<tbody>
<tr>
<td>Chrome/Safari/Opera</td>
<td>`null`</td>
@ -109,6 +112,7 @@ document.body.innerHTML = "";
<td>`null`</td>
<td>`0`</td>
</tr>
</tbody>
</table>
Иными словами, браузеры ведут себя с различной степенью агрессивности по отношению к элементам.