| 1 |
<svg version="1.1" baseProfile="basic" id="svg-root" |
| 2 |
width="100%" height="100%" viewBox="0 0 480 360" |
| 3 |
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
| 4 |
<!--======================================================================--> |
| 5 |
<!--= SVG 1.1 2nd Edition Test Case =--> |
| 6 |
<!--======================================================================--> |
| 7 |
<!--= Copyright 2009 World Wide Web Consortium, (Massachusetts =--> |
| 8 |
<!--= Institute of Technology, European Research Consortium for =--> |
| 9 |
<!--= Informatics and Mathematics (ERCIM), Keio University). =--> |
| 10 |
<!--= All Rights Reserved. =--> |
| 11 |
<!--= See http://www.w3.org/Consortium/Legal/. =--> |
| 12 |
<!--======================================================================--> |
| 13 |
<d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" |
| 14 |
template-version="1.4" reviewer="" author="CL" status="created" |
| 15 |
version="$Revision: 1.2 $" testname="$RCSfile: linking-frag-01-f.svg,v $"> |
| 16 |
<d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/linking.html#Links"> |
| 17 |
|
| 18 |
<p> |
| 19 |
Tests svgView(viewBox();transform()) syntax, with and without escaped semicolons. |
| 20 |
</p> |
| 21 |
</d:testDescription> |
| 22 |
<d:operatorScript xmlns="http://www.w3.org/1999/xhtml"> |
| 23 |
<p> |
| 24 |
Run the test. Click on the green arrow. If that results in circle-2 being displayed, go back to this test and click on the blue arrow. If that shows a quarter of circle-2, go back to this test and click on the purple arrow. |
| 25 |
</p> |
| 26 |
</d:operatorScript> |
| 27 |
<d:passCriteria xmlns="http://www.w3.org/1999/xhtml"> |
| 28 |
<p> |
| 29 |
The test is passed if you clicked on three arrows, and clicking the purple arrow results in a quarter of circle-2 being displayed. |
| 30 |
</p> |
| 31 |
</d:passCriteria> |
| 32 |
</d:SVGTestCase> |
| 33 |
<title id="test-title">$RCSfile: linking-frag-01-f.svg,v $</title> |
| 34 |
<defs> |
| 35 |
<font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F"> |
| 36 |
<font-face-src> |
| 37 |
<font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/> |
| 38 |
</font-face-src> |
| 39 |
</font-face> |
| 40 |
</defs> |
| 41 |
<g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> |
| 42 |
<a xlink:href="../images/linkingCircle-f.svg#svgView(viewBox(64,227,72,72))"> |
| 43 |
<path fill="lime" stroke="blue" d="M 185,40 h -100 v -12 l -45 36 l 45 36 v -12 h 100 z"/> |
| 44 |
</a> |
| 45 |
<g transform="translate(0,100)"> |
| 46 |
<a xlink:href="../images/linkingCircle-f.svg#svgView(viewBox(64,227,72,72);transform(translate(36,36)))"> |
| 47 |
<path fill="blue" stroke="blue" d="M 185,40 h -100 v -12 l -45 36 l 45 36 v -12 h 100 z"/> |
| 48 |
</a> |
| 49 |
</g> |
| 50 |
<g transform="translate(0,200)"> |
| 51 |
<a xlink:href="../images/linkingCircle-f.svg#svgView(viewBox(64,227,72,72)%3Btransform(translate(36,36)))"> |
| 52 |
<path fill="purple" stroke="lime" d="M 185,40 h -100 v -12 l -45 36 l 45 36 v -12 h 100 z"/> |
| 53 |
</a> |
| 54 |
</g> |
| 55 |
</g> |
| 56 |
<g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> |
| 57 |
<text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.2 $</text> |
| 58 |
</g> |
| 59 |
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> |
| 60 |
<!-- comment out this watermark once the test is approved --> |
| 61 |
<g id="draft-watermark"> |
| 62 |
<rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> |
| 63 |
<text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" |
| 64 |
text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> |
| 65 |
</g> |
| 66 |
</svg> |