layout/reftests/svg/href-attr-change-restyles-ref.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/href-attr-change-restyles-ref.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
     1.5 +     xmlns:xlink="http://www.w3.org/1999/xlink">
     1.6 +
     1.7 +  <title>Test for bug 549797 - Removing href attribute doesn't remove link styling</title>
     1.8 +
     1.9 +  <style type="text/css">
    1.10 +  <![CDATA[
    1.11 +a {
    1.12 +  fill: blue;
    1.13 +}
    1.14 +a:link, a:visited {
    1.15 +  fill: red;
    1.16 +}
    1.17 +  ]]>
    1.18 +  </style>
    1.19 +
    1.20 +  <a>
    1.21 +    <text x="10" y="100">Test anchor 1</text>
    1.22 +  </a>
    1.23 +
    1.24 +  <a xlink:href="http://example.com/1">
    1.25 +    <text x="10" y="200">Test anchor 2</text>
    1.26 +  </a>
    1.27 +
    1.28 +  <a xlink:href="">
    1.29 +    <text x="10" y="300">Test anchor 3</text>
    1.30 +  </a>
    1.31 +
    1.32 +</svg>

mercurial