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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
     2      xmlns:xlink="http://www.w3.org/1999/xlink">
     4   <title>Test for bug 549797 - Removing href attribute doesn't remove link styling</title>
     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>
    17   <a>
    18     <text x="10" y="100">Test anchor 1</text>
    19   </a>
    21   <a xlink:href="http://example.com/1">
    22     <text x="10" y="200">Test anchor 2</text>
    23   </a>
    25   <a xlink:href="">
    26     <text x="10" y="300">Test anchor 3</text>
    27   </a>
    29 </svg>

mercurial