Debian Codegraph @

test_non_regression/svg/struct-image-13-f.svg

raw
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="ED" author="CL" status="accepted"
13 version="$Revision: 1.2 $" testname="$RCSfile: struct-image-13-f.svg,v $">
14 <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/[chapter]#[section]">
15 <p>
16 Tests that different PNG image types are correctly handled. These images are non-interlaced.
17 </p>
18 <p>
19 This test uses the
20 <a href="http://www.schaik.com/pngsuite/">PNG Group test suite</a>
21 created by Willem van Schaik.
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 all the small PNG icons are displayed as in the reference image.
32 </p>
33 </d:passCriteria>
34 </d:SVGTestCase>
35 <title id="test-title">$RCSfile: struct-image-13-f.svg,v $</title>
36 <defs>
37 <font-face
38 font-family="SVGFreeSansASCII"
39 unicode-range="U+0-7F">
40 <font-face-src>
41 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
42 </font-face-src>
43 </font-face>
44 </defs>
45 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
46
47 <!-- something to show transparency -->
48 <rect x="16" y="32" width="320" height="8" fill="#3C3"/>
49 <rect x="16" y="48" width="320" height="8" fill="#9F9"/>
50
51 <!-- 1 bit black and white -->
52 <image xlink:href="../images/PngSuite/basn0g01.png" x="16" y="32" width="32" height="32"/>
53
54 <!-- 2 bit greyscale -->
55 <image xlink:href="../images/PngSuite/basn0g02.png" x="64" y="32" width="32" height="32"/>
56
57 <!-- 4 bit greyscale -->
58 <image xlink:href="../images/PngSuite/basn0g04.png" x="112" y="32" width="32" height="32"/>
59
60 <!-- 8 bit greyscale -->
61 <image xlink:href="../images/PngSuite/basn0g08.png" x="160" y="32" width="32" height="32"/>
62
63 <!-- 16 bit greyscale -->
64 <image xlink:href="../images/PngSuite/basn0g16.png" x="208" y="32" width="32" height="32"/>
65
66 <!-- 8 bit greyscale plus alpha -->
67 <image xlink:href="../images/PngSuite/basn4a08.png" x="256" y="32" width="32" height="32"/>
68
69 <!-- 16 bit greyscale plus alpha -->
70 <image xlink:href="../images/PngSuite/basn4a16.png" x="304" y="32" width="32" height="32"/>
71
72 <text x="16" y="100" font-size="16" fill="#3C3">Greyscale, various bit depths, two with alpha</text>
73
74 <!-- something to show transparency -->
75 <rect x="16" y="132" width="368" height="8" fill="#9F9"/>
76 <rect x="16" y="148" width="368" height="8" fill="#3C3"/>
77
78 <!-- 8 bits RGB -->
79 <image xlink:href="../images/PngSuite/basn2c08.png" x="16" y="132" width="32" height="32"/>
80
81 <!-- 16 bits RGB -->
82 <image xlink:href="../images/PngSuite/basn2c16.png" x="64" y="132" width="32" height="32"/>
83
84 <!-- 1 bit indexed -->
85 <image xlink:href="../images/PngSuite/basn3p01.png" x="112" y="132" width="32" height="32"/>
86
87 <!-- 2 bit indexed -->
88 <image xlink:href="../images/PngSuite/basn3p02.png" x="160" y="132" width="32" height="32"/>
89
90 <!-- 4 bit indexed -->
91 <image xlink:href="../images/PngSuite/basn3p04.png" x="208" y="132" width="32" height="32"/>
92
93 <!-- 8 bit indexed -->
94 <image xlink:href="../images/PngSuite/basn3p08.png" x="256" y="132" width="32" height="32"/>
95
96 <!-- 8 bits RGB plus alpha -->
97 <image xlink:href="../images/PngSuite/basn6a08.png" x="304" y="132" width="32" height="32"/>
98
99 <!-- 16 bits RGB plus alpha -->
100 <image xlink:href="../images/PngSuite/basn6a16.png" x="352" y="132" width="32" height="32"/>
101
102 <text x="16" y="200" font-size="16" fill="#3C3">Truecolor and indexed, various bit depths, two with alpha</text>
103
104 <text x="16" y="260" font-size="24" fill="#3C3">Non-interlaced images</text>
105
106 <!--
107 <image xlink:href="../images/PngSuite/" x="" y="" width="32" height="32"/>
108 -->
109
110 </g>
111 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
112 <text id="revision" x="10" y="340" stroke="none"
113 fill="black">$Revision: 1.2 $</text>
114 </g>
115 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
116 <!-- comment out this watermark once the test is approved -->
117 <!--
118 <g id="draft-watermark">
119 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
120 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
121 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
122 </g>
123 -->
124 </svg>