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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

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

mercurial