|
1 <svg xmlns="http://www.w3.org/2000/svg" version="1.1" |
|
2 xmlns:xlink="http://www.w3.org/1999/xlink"> |
|
3 |
|
4 <title>Test for bug 549797 - Removing href attribute doesn't remove link styling</title> |
|
5 |
|
6 <style type="text/css"> |
|
7 <![CDATA[ |
|
8 a { |
|
9 fill: blue; |
|
10 } |
|
11 a:link, a:visited { |
|
12 fill: red; |
|
13 } |
|
14 ]]> |
|
15 </style> |
|
16 |
|
17 <a> |
|
18 <text x="10" y="100">Test anchor 1</text> |
|
19 </a> |
|
20 |
|
21 <a xlink:href="http://example.com/1"> |
|
22 <text x="10" y="200">Test anchor 2</text> |
|
23 </a> |
|
24 |
|
25 <a xlink:href=""> |
|
26 <text x="10" y="300">Test anchor 3</text> |
|
27 </a> |
|
28 |
|
29 </svg> |