summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/table-create-tbody-existing-tbody.html
blob: 1bc75a66658b902bffe10f7156ec981f8bd8ab8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!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>