зеркало из https://github.com/mozilla/gecko-dev.git
22 строки
413 B
HTML
22 строки
413 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.appendChild(newCaption);
|
||
|
table.appendChild(document.createElement("tbody"));
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
</head>
|
||
|
<body onload="boom();">
|
||
|
|
||
|
<table id="table"></table>
|
||
|
</body>
|
||
|
</html>
|