summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/cross-fade-legacy-crash.html
blob: 25445765036f44bef3d714dae0fb0e80a738f1b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html class="test-wait">
  <head>
    <title>CSS Images Test: Serializing legacy cross-fade syntax crashes Chrome</title>
    <link rel="help" href="https://crbug.com/1509173">
    <link rel="author" title="Steinar H. Gunderson" href="mailto:sesse@chromium.org">
    <style>
      .missing { border-image: -webkit-cross-fade(none, none, 13%); }
    </style>
    <script src="/common/gc.js"></script>
  </head>
  <body>
    <p>Test passes if the browser does not crash.</p>
    <script>
      requestAnimationFrame(async () => {
        await garbageCollect();
        document.styleSheets[0].cssRules[0].cssText;
        document.documentElement.classList.remove('test-wait');
      });
    </script>
  </body>
</html>