layout/svg/crashtests/308917-1.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 <?xml version="1.0" encoding="UTF-8"?>
     3 <svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 480 360" class="reftest-wait" onload="first();">
     5 <script><![CDATA[
     7 function first()
     8 {
     9   document.getElementById("z").appendChild(document.getElementById("pat1"));
    10   setTimeout(second, 30);
    11 }
    13 function second()
    14 {
    15   document.getElementById("pat4").appendChild(document.getElementById("z"));
    16   document.documentElement.removeAttribute("class");
    17 }
    19 ]]></script>
    22 		<pattern patternUnits="userSpaceOnUse" id="pat1" x="10" y="10" width="20" height="20">
    23 			<rect x="5" y="5" width="10" height="10" fill="red" />
    24 			<rect x="10" y="10" width="10" height="10" fill="green" />
    25 		</pattern>
    26 		<rect x="25" y="10" width="430" height="60" stroke="black" fill="url(#pat1)" />
    28 		<pattern patternUnits="userSpaceOnUse" id="pat4" x="0" y="0" width="20" height="10">
    29 			<rect x="0" y="0" width="10" height="10" fill="red" />
    30 			<rect x="10" y="0" width="10" height="10" fill="blue" />
    31 		</pattern>
    32 		<text font-family="Arial" font-size="40" fill="none" stroke="url(#pat4)" stroke-width="2"  x="25" y="275" id="z">Pattern on stroke</text>
    34 </svg>

mercurial