summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/compat/webkit-box-removing-triggering-anonymous-merge.html
blob: 30c243b301fbafc55a03aae0286ba4c2b1983da1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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>