chromium/third_party/blink/web_tests/svg/W3C-SVG-1.1/animate-elem-28-t.svg

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--=  Copyright 2000 World Wide Web Consortium, (Massachusetts          =-->
<!--=  Institute of Technology, Institut National de Recherche en        =-->
<!--=  Informatique et en Automatique, Keio University). All Rights      =-->
<!--=  Reserved. See http://www.w3.org/Consortium/Legal/.                =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!--                                                                       -->
<!-- animation-elem-28-t.svg                                               -->
<!--                                                                       -->
<!-- Test inheritance of animated properties.                              -->
<!--                                                                       -->
<!-- Author : Benoit Bezaire 7-Oct-2002                                    -->
<!--                                                                       -->
<!-- History:                                                              -->
<!--  7-Oct-2002, BB: Serial#1 created.                                    -->
<!--                                                                       -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
	<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
		<OperatorScript version="$Revision: 1.6 $" testname="animate-elem-28-t.svg">
			<Paragraph>
                Test inheritance of animated properties.
            </Paragraph>
			<Paragraph>
                A yellow happy face should be displayed.  The stroke for the smile and yellow circle are both animated, the stroke goes from "#F1E900" to "#FF0000".
            </Paragraph>
		</OperatorScript>
	</SVGTestCase>
	<title id="test-title">animate-elem-28-t</title>
	<desc id="test-desc">Test inheritance of animated properties.</desc>
	<!--======================================================================-->
	<!--Content of Test Case follows...                  =====================-->
	<!--======================================================================-->
	<g id="HappyFace" stroke="#F1E900" fill="#F1E900" stroke-width="5">
		<circle cx="240" cy="180" r="150" />
		<!--circle cx="240" cy="180" r="150" stroke-opacity=".5"/-->
		<g id="eyes" stroke="#000077">
			<path d="M260 131c0,-15 12,-28 28,-28 15,0 27,13 27,28 0,15 -12,28 -27,28 -16,0 -28,-13 -28,-28z"/>
			<path d="M165 131c0,-15 12,-28 28,-28 15,0 27,13 27,28 0,15 -12,28 -27,28 -16,0 -28,-13 -28,-28z"/>
		</g>
		<path d="M151 227c46,52 138,52 184,0"/>
		<animate attributeName="stroke" attributeType="CSS" begin="0s" dur="4s" fill="freeze" from="#F1E900" to="#FF0000"/>
    <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
    <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
	</g>
  <script>
    // Pause the animation at t=0.
    document.documentElement.pauseAnimations();
  </script>
</svg>