layout/reftests/svg/dynamic-rect-02.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/dynamic-rect-02.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<!--
     1.6 +     Any copyright is dedicated to the Public Domain.
     1.7 +     http://creativecommons.org/publicdomain/zero/1.0/
     1.8 +-->
     1.9 +<svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="m();">
    1.10 +	<title>Testcase for dynamic rect changes with filters</title>
    1.11 +	<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=423998 -->
    1.12 +	<script>
    1.13 +		function m() {
    1.14 +		document.getElementById("rect1").setAttribute("x", "50");
    1.15 +		document.getElementById("rect2").setAttribute("transform", "translate(200,0)");
    1.16 +		document.getElementById("rect3").setAttribute("filter", "url(#shadow)");
    1.17 +		}
    1.18 +	</script>
    1.19 +	<filter id="shadow" filterUnits="objectBoundingBox">
    1.20 +		<feGaussianBlur in="SourceAlpha" stdDeviation="5"/>
    1.21 +	</filter>
    1.22 +	<rect id="rect1" x="0" y="100" width="50" height="50" filter="url(#shadow)" />
    1.23 +	<rect id="rect2" x="0" y="100" width="50" height="50" filter="url(#shadow)" />
    1.24 +	<rect id="rect3" x="50" y="200" width="50" height="50"/>
    1.25 +</svg>

mercurial