summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/contain-crash.html
blob: 373e004c0507e764e1383b17a05e64537b6711ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<link rel="help" href="https://crbug.com/1129563">
<body style="contain: size layout;">
  <div id="target" style="contain: size layout;"></div>
  <div id="child"></div>
</body>
<script>
document.body.offsetTop;
const target = document.getElementById('target');
const child = document.getElementById('child');
target.appendChild(child);
</script>