зеркало из https://github.com/mozilla/pjs.git
16 строки
349 B
HTML
16 строки
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>
|