chromium/third_party/blink/web_tests/external/wpt/css/css-conditional/container-queries/crashtests/svg-layout-root-crash.html

<!doctype html>
<title>@container changing display of SVG element should not crash</title>
<link rel="help" href="https://crbug.com/1245689">
<iframe id="frame" style="width: 200px"></iframe>
<script>
  frame.srcdoc = `
    <style>
      #container {
        container-type: inline-size;
      }
      @container (min-width: 300px) {
        .hide { display: none; }
      }
    </style>
    <div id="container">
      <div class="hide"><svg></svg></div>
    </div>`;

  requestAnimationFrame(() =>
      requestAnimationFrame(() =>
          requestAnimationFrame(() => frame.style.width = "400px")));
</script>