summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/300691-1f.html
blob: b1d3b11a7eabe53b9b7996f488387b9f68e1fb4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!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>