summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/animations/use-animate-display-none-symbol.html
blob: 6ae10ca8739dbedcc148bf7b398437131519d62b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!doctype html>
<html class="reftest-wait">
<title>Animate a symbol in a display: none subtree</title>
<link rel="match" href="../struct/reftests/reference/green-100x100.html">
<script src="/common/reftest-wait.js"></script>
<svg>
  <use href="#hidden"/>
</svg>
<svg style="display: none">
  <symbol id="hidden">
    <rect width="100" height="100" fill="red">
      <animate attributeName="fill" values="red; green" calcMode="discrete"
               dur="1ms" fill="freeze" onend="takeScreenshot()"/>
    </rect>
  </symbol>
</svg>