| 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.4" reviewer="CL" author="ED" status="issue" |
| 13 |
version="$Revision: 1.6 $" testname="$RCSfile: conform-viewers-02-f.svg,v $"> |
| 14 |
<!-- |
| 15 |
XXX The issue with this test is that data: URIs shouldn't contain |
| 16 |
gzipped content, since there's no way to identify the |
| 17 |
content encoding in data: URIs. See: |
| 18 |
* http://www.w3.org/mid/[email protected] |
| 19 |
* http://www.w3.org/mid/[email protected] |
| 20 |
--> |
| 21 |
<d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/conform.html#ConformingSVGViewers"> |
| 22 |
<p> |
| 23 |
Test that the viewer can read gzipped content in data uri. |
| 24 |
</p> |
| 25 |
</d:testDescription> |
| 26 |
<d:operatorScript xmlns="http://www.w3.org/1999/xhtml"> |
| 27 |
<p> |
| 28 |
Open the test in any SVG player. |
| 29 |
</p> |
| 30 |
</d:operatorScript> |
| 31 |
<d:passCriteria xmlns="http://www.w3.org/1999/xhtml"> |
| 32 |
<p> |
| 33 |
The test has passed if you see a star in the middle of the test frame. |
| 34 |
</p> |
| 35 |
</d:passCriteria> |
| 36 |
</d:SVGTestCase> |
| 37 |
<title id="test-title">$RCSfile: conform-viewers-02-f.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 |
<text x="240" y="40" text-anchor="middle">Test data uri with svgz content</text> |
| 49 |
|
| 50 |
<text fill="black" x="50%" y="200" text-anchor="middle">FAILED</text> |
| 51 |
<image xlink:href="data:image/svg+xml;base64,H4sICA/BlksCA3N0YXIuc3ZnAMVUwW7bMAw9d8D+QVAvLeDIkiha0mDn0A7oZcMO |
| 52 |
Wz/Aa+zUgGsHttq0+/pRTtwkwLBuwIAhcPRIihT5RCofn9bsqam2V/1zwSWTTGfT |
| 53 |
x9nzQ9uNBb8PYfMhTbfbrdiC6Id1qqWUKfnx5ft3jOWrqh4nRLhu2lANrFkV/Hv7 |
| 54 |
OPC9Plqqm/JxHJuyuyIDG8PqY/XUlKHpu4IrkfF0jpHugsxi23RVOdwM5aqpujCF |
| 55 |
bteKs/Ve820ou7Huh4eCP5RhaJ4vQKDJtLOQSPodpIWzVmgrHUGPWhhvrLmkQlXB |
| 56 |
wdM+q4zh7CWKTgqtPABZdRRRAJmRrCQaBULazLhDFrddE4isx7Eavm7Ku+pLdztW |
| 57 |
fDlXP4Z+w+Lf4q5v+6Hg53Vd852mp/1NeCH2BQXs63qsAgmvhPyx+8FZTc5nZ3l6 |
| 58 |
yt7MaRTL9oTTIXJKkUELjd4hvFXbby5gIYWVkkh3iRaZMtZpopw4M2i0NQnZncqk |
| 59 |
8okymROgVZYstEbhNRpPN3JHvQgS6AqM9iRSdaA0OTnLWX1qrI+NO8LPfkmY/Aty |
| 60 |
5Rvk7jv1lMfdOKSv85CvWThwM8G2DNXFAoynZqNuJFKoJS1ljpfzrOSbMtwfO77V |
| 61 |
1YhOKGk8Rct8JjJEE7ua7vQzAyIeaKA/Me19AggRUf+D1RPSCRgXEZIV3KyDycOZ |
| 62 |
BCTOvjoi0KRTPiJFScCE9mf8oLuYJpdaZWgvzuMDcHkY639UFh3R7g+glv0/dZ7W |
| 63 |
dJRRe8jIoErAWfIzBhN6aCJSNjEO2TXpdGK8ZsYqWpGh3K3XDGkqJg1ktBqGGHcq |
| 64 |
8kZPeyBmh5IiYhYj7k+Zc8rTNa15fJ2XPwFubI+E2wUAAA==" width="200" height="200" x="130" y="70"/> |
| 65 |
</g> |
| 66 |
<g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> |
| 67 |
<text id="revision" x="10" y="340" stroke="none" |
| 68 |
fill="black">$Revision: 1.6 $</text> |
| 69 |
</g> |
| 70 |
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/> |
| 71 |
<!-- comment out this watermark once the test is approved --> |
| 72 |
<!-- |
| 73 |
<g id="draft-watermark"> |
| 74 |
<rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> |
| 75 |
<text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" |
| 76 |
text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> |
| 77 |
</g> |
| 78 |
--> |
| 79 |
</svg> |