summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/container-queries/crashtests/chrome-remove-insert-evaluator-crash.html
blob: 986f6b0bf69f69b49f35b356483b683b256e08bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!doctype html>
<title>Removing and re-inserting a container should crash</title>
<link rel="help" href="https://crbug.com/1342750">
<style>
  #container { container-type: inline-size }
</style>
<div id="outer">
  <div id="container"></div>
</div>
<script>
  container.offsetTop;
  let removed = container;
  container.remove();
  outer.appendChild(removed);
</script>