haikuwebkit/LayoutTests/fast/table/table-create-tbody-existing...

18 lines
479 B
HTML

<!DOCTYPE html>
<script src="../../resources/dump-as-markup.js"></script>
<p>https://bugs.webkit.org/show_bug.cgi?id=84465 : Implement createTBody for table element.</p>
<p>This test verify that createTBody() appends a new tbody tag after the existing one.</p>
<table>
<thead>
</thead>
<tfoot>
</tfoot>
<tbody title="existing tbody">
</tbody>
</table>
<script>
var table = document.getElementsByTagName("table")[0];
table.createTBody();
Markup.dump(table);
</script>