I'm curious what "should" happen in the example below. Most current browsers (Firefox 5, Chrome 14, Opera 11.50) will add the iframe
above the text but is it a standardised behaviour or just a common way of doing things that could change in the future?
<!doctype html>
<html>
<head>
<title>Will the iframe be above or below the text?</title>
</head>
<body>
<script>
var e = document.createElement("iframe");
document.body.appendChild(e);
</script>
<p>some text</p>
</body>
</html>
" or using [domready](http://stackoverflow.com/questions/1206937/javascript-domready)
– Molecular Man Jul 19 '11 at 10:10