summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/linking/reftests/href-use-element-ref.html
blob: 93577b7643fdcc79888626d1b6d78f7a25121e10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<meta charset="utf-8">
<title>href - use element reference</title>
<body>
  <svg style="display: none">
    <rect id='refRect' style="fill: red" width="100" height="100" />
  </svg>
  <svg width="300" height="300" viewBox="0 0 300 300"
       xmlns:xlink="http://www.w3.org/1999/xlink">
    <use xlink:href="#refRect"/>
  </svg>
</body>