Debian Codegraph @

test_non_regression/svg/coords-transformattr-01-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="CL" author="Microsoft" status="accepted"
13 version="$Revision: 1.6 $" testname="$RCSfile: coords-transformattr-01-f.svg,v $">
14 <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#TransformAttribute">
15 <p>
16 Tests that separating transform definitions by whitespace and/or a comma is supported. The test draws a red 'rect' element with a valid, non-delimited transform list. It overlays it with an identical black rectangle with
17 equivalent transform list delimted by commas and numerical Unicode references of space (U+0020), tab (U+0009), carriage
18 return (U+000D), line feed (U+000A), and combination of all five,
19 so that no red is visible.
20 </p>
21 </d:testDescription>
22 <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
23 <p>
24 Run the test. No interaction required.
25 </p>
26 </d:operatorScript>
27 <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
28 <p>
29 Test passes if there is no red visible on the page.
30 </p>
31 </d:passCriteria>
32 </d:SVGTestCase>
33 <title id="test-title">$RCSfile: coords-transformattr-01-f.svg,v $</title>
34 <defs>
35 <font-face
36 font-family="SVGFreeSansASCII"
37 unicode-range="U+0-7F">
38 <font-face-src>
39 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
40 </font-face-src>
41 </font-face>
42 </defs>
43 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
44
45 <g transform="translate(50 50)rotate(45)skewX(15)scale(0.8)">
46 <rect x="0" y="0" width="100" height="100" fill="red" />
47 </g>
48 <g transform="translate(50 50),rotate(45),skewX(15),scale(0.8)">
49 <rect x="0" y="0" width="100" height="100" stroke="black"/>
50 </g>
51 <g transform="translate(50 50)rotate(45)skewX(15)scale(0.8)">
52 <rect x="125" y="125" width="100" height="100" fill="red" />
53 </g>
54 <g transform="translate(50 50)&#x0020;rotate(45)&#x0020;&#x0020;skewX(15)&#x0020;&#x0020;&#x0020;&#x0020;&#x0020;scale(0.8)">
55 <rect x="125" y="125" width="100" height="100" stroke="black"/>
56 </g>
57 <g transform="translate(50 50)rotate(45)skewX(15)scale(0.8)">
58 <rect x="150" y="-75" width="100" height="100" fill="red" />
59 </g>
60 <g transform="translate(50 50)&#x0009;rotate(45)&#x0009;&#x0009;skewX(15)&#x0009;&#x0009;&#x0009;&#x0009;&#x0009;scale(0.8)">
61 <rect x="150" y="-75" width="100" height="100" stroke="black"/>
62 </g>
63 <g transform="translate(50 50)rotate(45)skewX(15)scale(0.8)">
64 <rect x="300" y="-150" width="100" height="100" fill="red" />
65 </g>
66 <g transform="translate(50 50)&#x000D;rotate(45)&#x000D;&#x000D;skewX(15)&#x000D;&#x000D;&#x000D;&#x000D;&#x000D;scale(0.8)">
67 <rect x="300" y="-150" width="100" height="100" stroke="black"/>
68 </g>
69 <g transform="translate(50 50)rotate(45)skewX(15)scale(0.8)">
70 <rect x="400" y="-325" width="100" height="100" fill="red" />
71 </g>
72 <g transform="translate(50 50)&#x000A;rotate(45)&#x000A;&#x000A;skewX(15)&#x000A;&#x000A;&#x000A;&#x000A;&#x000A;scale(0.8)">
73 <rect x="400" y="-325" width="100" height="100" stroke="black"/>
74 </g>
75 <g transform="translate(50 50)rotate(45)skewX(15)scale(0.8)">
76 <rect x="500" y="-200" width="100" height="100" fill="red" />
77 </g>
78 <g transform="translate(50 50),rotate(45)&#x0020;&#x0009;skewX(15)&#x000D;&#x000A;scale(0.8)">
79 <rect x="500" y="-200" width="100" height="100" stroke="black"/>
80 </g>
81
82 </g>
83 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
84 <text id="revision" x="10" y="340" stroke="none"
85 fill="black">$Revision: 1.6 $</text>
86 </g>
87 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
88 <!-- comment out this watermark once the test is approved
89 <g id="draft-watermark">
90 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
91 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
92 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
93 </g>-->
94 </svg>