summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/use-localRef-link.html
blob: 6f6d6feeb37bd3e41e122b25cf458ad80143524b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!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>