summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/300691-1f.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/300691-1f.html')
-rw-r--r--layout/reftests/bugs/300691-1f.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/bugs/300691-1f.html b/layout/reftests/bugs/300691-1f.html
new file mode 100644
index 0000000000..b1d3b11a7e
--- /dev/null
+++ b/layout/reftests/bugs/300691-1f.html
@@ -0,0 +1,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>