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