layout/reftests/svg/dynamic-feFlood-01.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/dynamic-feFlood-01.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     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 feFlood changes</title>
    1.11 +	<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=448831 -->
    1.12 +	<script>
    1.13 +		function m() {
    1.14 +		document.getElementById("feFlood").setAttribute("flood-color", "lime");
    1.15 +		}
    1.16 +	</script>
    1.17 +
    1.18 +	<defs>
    1.19 +		<filter id="f1" filterUnits="objectBoundingBox" primitiveUnits="objectBoundingBox"
    1.20 +				x="0" y="0" width="1" height="1">
    1.21 +	    	<feFlood id="feFlood" x="0" y="0" width="100%" height="100%" flood-color="red"/>
    1.22 +	    </filter>
    1.23 +	</defs>
    1.24 +	<g filter="url(#f1)">
    1.25 +		<rect x="0" y="0" width="100%" height="100%" fill="red" opacity="0"/>
    1.26 +	</g>
    1.27 +</svg>

mercurial