mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
16 lines
349 B
HTML
16 lines
349 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body><script>
|
|
window.onload = function() {
|
|
var a = document.createTextNode("a ");
|
|
var b = document.createElement("input");
|
|
var c = document.createTextNode(" c");
|
|
document.body.appendChild(a);
|
|
document.body.appendChild(c);
|
|
document.body.offsetWidth;
|
|
document.body.insertBefore(b, c);
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|