зеркало из https://github.com/mozilla/pjs.git
13 строки
327 B
HTML
13 строки
327 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<textarea id="t"></textarea>
|
|
<script>
|
|
document.getElementById("t").appendChild(document.createTextNode("abcd"));
|
|
// Flush reflow
|
|
document.body.offsetWidth;
|
|
document.getElementById("t").appendChild(document.createTextNode("efgh"));
|
|
</script>
|
|
</body>
|
|
</html>
|