summaryrefslogtreecommitdiff
path: root/layout/reftests/svg/use-localRef-link.html
blob: 672e9ffaafc6c8a1c515a06d4c4c9254e7cab5d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<head>
<base href="/test">
</head>
<body style="background-color: lime;">
  <svg width="100" height="100">
    <defs>
      <rect id="a" x="0" y="0" width="50" height="50" fill="lime"/>
    </defs>
    <rect x="0" y="0" width="50" height="50" fill="red"/>
    <use xlink:href="#a"/>
  </svg>
</body>
</html>