mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
21 lines
393 B
HTML
21 lines
393 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
function boom()
|
|
{
|
|
var table = document.getElementById("table");
|
|
|
|
var newCaption = document.createElement('caption');
|
|
newCaption.appendChild(document.createTextNode("THIS SHOULD BE VISIBLE"));
|
|
table.insertBefore(newCaption, table.firstChild);
|
|
}
|
|
</script>
|
|
|
|
</head>
|
|
<body onload="boom();">
|
|
|
|
<table id="table"><tbody></tbody></table>
|
|
</body>
|
|
</html>
|