layout/reftests/svg/pseudo-classes-02.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.)

michael@0 1 <!--
michael@0 2 Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/publicdomain/zero/1.0/
michael@0 4 -->
michael@0 5 <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
michael@0 6 xmlns:xlink="http://www.w3.org/1999/xlink">
michael@0 7
michael@0 8 <title>Testcase for pseudo-classes and text/links</title>
michael@0 9
michael@0 10 <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=268135 -->
michael@0 11
michael@0 12 <style type="text/css">
michael@0 13 <![CDATA[
michael@0 14
michael@0 15 :root { font-size: 1em; }
michael@0 16 text > a:link { fill: lime; }
michael@0 17 a:visited > text { fill: lime; }
michael@0 18 tspan > a:link { fill: lime; }
michael@0 19 a:visited > tspan { fill: lime; }
michael@0 20
michael@0 21 ]]>
michael@0 22 </style>
michael@0 23
michael@0 24 <!-- link in text -->
michael@0 25 <text x="10" y="25">
michael@0 26 <a xlink:href="do-not-visit-me.xxx" fill="red">This should be green</a>
michael@0 27 </text>
michael@0 28
michael@0 29 <!-- text in link -->
michael@0 30 <a xlink:href="">
michael@0 31 <text x="10" y="50" fill="red">This should be green</text>
michael@0 32 </a>
michael@0 33
michael@0 34 <!-- link in tspan -->
michael@0 35 <text>
michael@0 36 <tspan x="10" y="75">
michael@0 37 <a xlink:href="do-not-visit-me.xxx" fill="red">This should be green</a>
michael@0 38 </tspan>
michael@0 39 </text>
michael@0 40
michael@0 41 <!-- tspan in link -->
michael@0 42 <text>
michael@0 43 <a xlink:href="">
michael@0 44 <tspan x="10" y="100" fill="red">This should be green</tspan>
michael@0 45 </a>
michael@0 46 </text>
michael@0 47
michael@0 48 </svg>

mercurial