Fix bustage by adding missing tests that didn't 'hg import' correctly for changeset f227a6e64b3f (bug 615658). a=bustage

This commit is contained in:
Jonathan Watt 2010-12-05 13:58:12 +00:00
parent a3e742b408
commit 9cdb894116
5 changed files with 118 additions and 0 deletions

View File

@ -0,0 +1,32 @@
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/licenses/publicdomain/
-->
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
class="reftest-wait"
onload="setTimeAndSnapshot(1, true)">
<title>Test animation of the "intercept" attribute of the "feComponentTransfer" element</title>
<script xlink:href="smil-util.js" type="text/javascript"/>
<filter id="flood_filter" x="0%" y="0%" width="100%" height="100%">
<feComponentTransfer>
<feFuncR type="linear" slope="0" intercept="1">
<animate attributeName="intercept"
calcMode="linear"
begin="0s" dur="2s"
from="1" to="-1"
fill="freeze"/>
</feFuncR>
<feFuncG type="linear" slope="0" intercept="0">
<animate attributeName="intercept"
calcMode="linear"
begin="0s" dur="2s"
from="0" to="2"
fill="freeze"/>
</feFuncG>
<feFuncB type="identity"/>
</feComponentTransfer>
</filter>
<rect width="100%" height="100%" fill="red"/>
<rect width="100%" height="100%" fill="red" filter="url(#flood_filter)"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,17 @@
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/licenses/publicdomain/
-->
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Reference for animation of the "elevation" attribute of the "feDistantLight" element</title>
<defs>
<filter id="f" x="0" y="0" width="0.5" height="0.5">
<feDiffuseLighting kernelUnitLength="1" lighting-color="lime">
<feDistantLight elevation="100">
</feDistantLight>
</feDiffuseLighting>
</filter>
</defs>
<path d="M0,0 h100 v100 h-100 z" filter="url(#f)"/>
</svg>

After

Width:  |  Height:  |  Size: 623 B

View File

@ -0,0 +1,25 @@
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/licenses/publicdomain/
-->
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
class="reftest-wait"
onload="setTimeAndSnapshot(1, true)">
<title>Testcase for animation of the "elevation" attribute of the "feDistantLight" element</title>
<script xlink:href="smil-util.js" type="text/javascript"/>
<defs>
<filter id="f" x="0" y="0" width="0.5" height="0.5">
<feDiffuseLighting kernelUnitLength="1" lighting-color="lime">
<feDistantLight elevation="0">
<animate attributeName="elevation"
calcMode="linear"
begin="0s" dur="2s"
from="0" to="200"
fill="freeze"/>
</feDistantLight>
</feDiffuseLighting>
</filter>
</defs>
<path d="M0,0 h100 v100 h-100 z" filter="url(#f)"/>
</svg>

After

Width:  |  Height:  |  Size: 942 B

View File

@ -0,0 +1,18 @@
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/licenses/publicdomain/
-->
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Reference for animation of the "elevation" attribute of the "feSpotLight" element</title>
<defs>
<filter id="f" x="0" y="0" width="0.5" height="0.5">
<feSpecularLighting surfaceScale="5" specularConstant=".75"
specularExponent="20" lighting-color="lime">
<feSpotLight x="0.25" y="0.25" z="100">
</feSpotLight>
</feSpecularLighting>
</filter>
</defs>
<path d="M0,0 h100 v100 h-100 z" filter="url(#f)"/>
</svg>

After

Width:  |  Height:  |  Size: 693 B

View File

@ -0,0 +1,26 @@
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/licenses/publicdomain/
-->
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
class="reftest-wait"
onload="setTimeAndSnapshot(1, true)">
<title>Testcase for animation of the "elevation" attribute of the "feSpotLight" element</title>
<script xlink:href="smil-util.js" type="text/javascript"/>
<defs>
<filter id="f" x="0" y="0" width="0.5" height="0.5">
<feSpecularLighting surfaceScale="5" specularConstant=".75"
specularExponent="20" lighting-color="lime">
<feSpotLight x="0.25" y="0.25" z="0">
<animate attributeName="z"
calcMode="linear"
begin="0s" dur="2s"
from="0" to="200"
fill="freeze"/>
</feSpotLight>
</feSpecularLighting>
</filter>
</defs>
<path d="M0,0 h100 v100 h-100 z" filter="url(#f)"/>
</svg>

After

Width:  |  Height:  |  Size: 1004 B