mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
22 lines
360 B
HTML
22 lines
360 B
HTML
|
<!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 id="s"><div></div></span></span>
|
||
|
|
||
|
</body>
|
||
|
</html>
|