mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
16 lines
437 B
HTML
16 lines
437 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<textarea id="t"></textarea>
|
|
<script>
|
|
document.getElementById("t").
|
|
appendChild(document.createTextNode("abcdefgh"));
|
|
document.getElementById("t").appendChild(document.createTextNode("ijkl"));
|
|
// Flush reflow
|
|
document.body.offsetWidth;
|
|
document.getElementById("t").
|
|
removeChild(document.getElementById("t").lastChild);
|
|
</script>
|
|
</body>
|
|
</html>
|