Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
var floater = document.createElement("span");
floater.style.cssFloat = "right";
floater.appendChild(document.createTextNode("float"));
document.getElementById("s").appendChild(floater);
}
</script>
</head>
<body onload="boom();">
<span><span><span id="s"><div></div></span></span></span>
</body>
</html>