summaryrefslogtreecommitdiffstats
path: root/layout/reftests/margin-collapsing/dynamic-add-text-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/margin-collapsing/dynamic-add-text-1.html')
-rw-r--r--layout/reftests/margin-collapsing/dynamic-add-text-1.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/layout/reftests/margin-collapsing/dynamic-add-text-1.html b/layout/reftests/margin-collapsing/dynamic-add-text-1.html
new file mode 100644
index 000000000..cc8b2bf35
--- /dev/null
+++ b/layout/reftests/margin-collapsing/dynamic-add-text-1.html
@@ -0,0 +1,6 @@
+<html>
+ <head></head>
+ <body onload="document.getElementById('a').nextSibling.data = 'x';">
+ <div id="a" style="margin-bottom: 1em;">A</div> <div style="margin-top: 2em;">B</div>
+ </body>
+</html>