summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/content-visibility/detach-locked-slot-children-crash.html
blob: 409a9697b2f862c9fee90158194e3eb41c1c80bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!doctype html>
<html class="reftest-wait">
<link rel="help" href="https://crbug.com/1284278">
<body dir="auto">
  <p>Pass if no crash.</p>
  <details id="details">
    <img id="img" alt="alt"></img>
    <marquee id="marquee"></marquee>
  </details>
</body>
<script>
  requestAnimationFrame(() => requestAnimationFrame(() => {
    marquee.appendChild(details.firstChild);
    img.srcset = "dummy";
    img.alt = "dummy";
    document.documentElement.classList.remove("reftest-wait");
  }));
</script>