summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/compat/webkit-box-removing-triggering-anonymous-merge.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/compat/webkit-box-removing-triggering-anonymous-merge.html')
-rw-r--r--testing/web-platform/tests/compat/webkit-box-removing-triggering-anonymous-merge.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/compat/webkit-box-removing-triggering-anonymous-merge.html b/testing/web-platform/tests/compat/webkit-box-removing-triggering-anonymous-merge.html
new file mode 100644
index 0000000000..30c243b301
--- /dev/null
+++ b/testing/web-platform/tests/compat/webkit-box-removing-triggering-anonymous-merge.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<div style="display: -webkit-box">
+ <span><div></div></span>
+ <div id="target"></div>
+ text
+</div>
+<script>
+test(function() {
+ // Force a layout before removing.
+ document.body.offsetTop;
+ document.getElementById('target').remove();
+}, '-webkit-box: removal of child');
+</script>