gecko/layout/reftests/bugs/387227-2.html

17 lines
416 B
HTML
Raw Normal View History

2009-08-12 13:34:32 -07:00
<!DOCTYPE html>
<html>
<head>
<script>
function runTest() {
var div = document.createElement("div");
div.appendChild(document.createTextNode("New Div"));
document.body.insertBefore(div, document.getElementById("insertion"));
}
</script>
</head>
<body onload="runTest()">
<div style="display: table-cell">Table cell</div>
<div id="insertion">Block</div>
</body>
</html>