layout/svg/crashtests/308917-1.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/svg/crashtests/308917-1.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +
     1.6 +<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();">
     1.7 +
     1.8 +<script><![CDATA[
     1.9 +
    1.10 +function first()
    1.11 +{
    1.12 +  document.getElementById("z").appendChild(document.getElementById("pat1"));
    1.13 +  setTimeout(second, 30);
    1.14 +}
    1.15 +
    1.16 +function second()
    1.17 +{
    1.18 +  document.getElementById("pat4").appendChild(document.getElementById("z"));
    1.19 +  document.documentElement.removeAttribute("class");
    1.20 +}
    1.21 +
    1.22 +]]></script>
    1.23 +
    1.24 +
    1.25 +		<pattern patternUnits="userSpaceOnUse" id="pat1" x="10" y="10" width="20" height="20">
    1.26 +			<rect x="5" y="5" width="10" height="10" fill="red" />
    1.27 +			<rect x="10" y="10" width="10" height="10" fill="green" />
    1.28 +		</pattern>
    1.29 +		<rect x="25" y="10" width="430" height="60" stroke="black" fill="url(#pat1)" />
    1.30 +
    1.31 +		<pattern patternUnits="userSpaceOnUse" id="pat4" x="0" y="0" width="20" height="10">
    1.32 +			<rect x="0" y="0" width="10" height="10" fill="red" />
    1.33 +			<rect x="10" y="0" width="10" height="10" fill="blue" />
    1.34 +		</pattern>
    1.35 +		<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>
    1.36 +
    1.37 +</svg>
    1.38 +

mercurial