layout/reftests/svg/dynamic-link-style-01.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.

     1 <svg xmlns="http://www.w3.org/2000/svg"
     2      xmlns:xlink="http://www.w3.org/1999/xlink"
     3      onload="setTimeout(function() { document.getElementById('r').removeAttribute('xlink:href'); }, 0);">
     5     <title>Testcase for dynamic changes to link styles</title>
     7     <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=398105 -->
     9     <style type="text/css">
    10       a:link rect { fill: red; }
    11     </style>
    13     <a xlink:href="do-not-visit-me.xxx" id="r">
    14         <rect width="100%" height="100%" fill="lime" />
    15     </a>
    16 </svg>

mercurial