| 1 |
<svg id="svg-root" width="100%" height="100%" |
| 2 |
viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" |
| 3 |
xmlns:xlink="http://www.w3.org/1999/xlink"> |
| 4 |
<!--======================================================================--> |
| 5 |
<!--= Copyright 2008 World Wide Web Consortium, (Massachusetts =--> |
| 6 |
<!--= Institute of Technology, European Research Consortium for =--> |
| 7 |
<!--= Informatics and Mathematics (ERCIM), Keio University). =--> |
| 8 |
<!--= All Rights Reserved. =--> |
| 9 |
<!--= See http://www.w3.org/Consortium/Legal/. =--> |
| 10 |
<!--======================================================================--> |
| 11 |
<d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" |
| 12 |
template-version="1.3" reviewer="CL" author="CM" status="accepted" |
| 13 |
version="$Revision: 1.6 $" testname="$RCSfile: animate-elem-88-t.svg,v $"> |
| 14 |
<d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/animate.html#ValuesAttribute"> |
| 15 |
<p> |
| 16 |
This tests that any which space before semicolon separators in |
| 17 |
a <code>values=""</code> attribute on an animation element is ignored. |
| 18 |
</p> |
| 19 |
<p> |
| 20 |
The test consists of a single rectangle whose height is animated |
| 21 |
with a <code>values=" 0 ; 50 "</code> attribute. |
| 22 |
</p> |
| 23 |
</d:testDescription> |
| 24 |
<d:operatorScript xmlns="http://www.w3.org/1999/xhtml"> |
| 25 |
<p> |
| 26 |
Run the test. No interaction required. |
| 27 |
</p> |
| 28 |
</d:operatorScript> |
| 29 |
<d:passCriteria xmlns="http://www.w3.org/1999/xhtml"> |
| 30 |
<p> |
| 31 |
The test is passed if the rectangle is animated from a height of |
| 32 |
0 to a height of 50 over four seconds, starting from when the |
| 33 |
test is loaded. |
| 34 |
</p> |
| 35 |
</d:passCriteria> |
| 36 |
</d:SVGTestCase> |
| 37 |
<title id="test-title">$RCSfile: animate-elem-88-t.svg,v $</title> |
| 38 |
<defs> |
| 39 |
<font-face |
| 40 |
font-family="SVGFreeSansASCII" |
| 41 |
unicode-range="U+0-7F"> |
| 42 |
<font-face-src> |
| 43 |
<font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/> |
| 44 |
</font-face-src> |
| 45 |
</font-face> |
| 46 |
</defs> |
| 47 |
<g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> |
| 48 |
|
| 49 |
<text x='10' y='40'>Test values attribute list syntax</text> |
| 50 |
|
| 51 |
<rect x='10' y='50' width='50' height='0'> |
| 52 |
<animate attributeName='height' values=' 0 ; 50 ' dur='4s' fill='freeze'/> |
| 53 |
</rect> |
| 54 |
|
| 55 |
</g> |
| 56 |
<g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> |
| 57 |
<text id="revision" x="10" y="340" stroke="none" |
| 58 |
fill="black">$Revision: 1.6 $</text> |
| 59 |
</g> |
| 60 |
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/> |
| 61 |
<!-- comment out this watermark once the test is approved --><!-- |
| 62 |
<g id="draft-watermark"> |
| 63 |
<rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> |
| 64 |
<text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" |
| 65 |
text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> |
| 66 |
</g>--> |
| 67 |
</svg> |