summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/395130-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/395130-2.html')
-rw-r--r--layout/reftests/bugs/395130-2.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/bugs/395130-2.html b/layout/reftests/bugs/395130-2.html
new file mode 100644
index 0000000000..56cae0cff6
--- /dev/null
+++ b/layout/reftests/bugs/395130-2.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<body><script>
+window.onload = function() {
+ var a = document.createTextNode("a ");
+ var b = document.createElement("input");
+ var c = document.createTextNode(" c");
+ document.body.appendChild(a);
+ document.body.appendChild(c);
+ document.body.offsetWidth;
+ document.body.insertBefore(b, c);
+}
+</script>
+</body>
+</html>