Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / shapes-intro-01-t.svg
blobde873b4cf843cb07a5f5927564b5aaa0938a74fd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--======================================================================-->
3 <!--= Copyright 2003 World Wide Web Consortium, (Massachusetts =-->
4 <!--= Institute of Technology, Institut National de Recherche en =-->
5 <!--= Informatique et en Automatique, Keio University). All Rights =-->
6 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
7 <!--======================================================================-->
8 <!-- =====================================================================-->
9 <!-- -->
10 <!-- shapes-intro-01-t.svg -->
11 <!-- -->
12 <!-- Test that viewer supports the degenerate cases of the basic shapes. -->
13 <!-- -->
14 <!-- Author : Scott Hayman (2003/09/22) -->
15 <!-- -->
16 <!-- =====================================================================--><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
18 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
19 <SVGTestCase xmlns:testcase="http://www.w3.org/2000/02/svg/testsuite/description/" xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" reviewer="CN" reviewed="yes" owner="SH" desc="Test that viewer supports the degenerate cases of the basic shapes" status="accepted" version="$Revision: 1.9 $" testname="$RCSfile: shapes-intro-01-t.svg,v $">
20 <!--nav data here-->
21 <OperatorScript>
22 <Paragraph>
23 Tests the degenerate cases of the basic shapes. The shapes are positioned
24 within the black rectangles.
25 </Paragraph>
26 <Paragraph>
27 None of the shapes should be visible (each of the ten black rectangles should be empty).
28 The rendered picture should match the reference image, except
29 for possible variations in the labelling text (per CSS2 rules).
30 </Paragraph>
31 </OperatorScript>
32 </SVGTestCase>
34 <title id="test-title">shapes-intro-01-t</title>
35 <desc id="test-desc">Test that viewer supports the degenerate cases of the basic shapes.</desc>
36 <!--======================================================================-->
37 <!--Content of Test Case follows... =====================-->
38 <!--======================================================================-->
39 <g id="test-body-content">
40 <!-- ====================================================================== -->
41 <!-- Draw the boxes to contain the shapes and the text labels for the boxes -->
42 <!-- ====================================================================== -->
43 <g fill="none" stroke="#000000">
44 <!-- rects -->
45 <rect x="50" y="50" width="35" height="60"/>
46 <rect x="50" y="155" width="35" height="60"/>
47 <rect x="130" y="50" width="35" height="60"/>
48 <rect x="130" y="155" width="35" height="60"/>
50 <!-- circles -->
51 <rect x="210" y="50" width="60" height="60"/>
52 <rect x="210" y="155" width="60" height="60"/>
54 <!-- ellipses -->
55 <rect x="315" y="50" width="35" height="60"/>
56 <rect x="315" y="155" width="35" height="60"/>
57 <rect x="394" y="50" width="35" height="60"/>
58 <rect x="394" y="155" width="35" height="60"/>
60 <!-- line -->
61 <rect x="235" y="260" width="10" height="10"/>
62 </g>
64 <g font-family="Arial" font-size="8">
65 <text x="5" y="90">Stroked</text>
66 <text x="5" y="195">Unstroked</text>
67 <text x="50" y="135">Zero width rect</text>
68 <text x="130" y="135">Zero height rect</text>
69 <text x="210" y="135">Zero radius circle</text>
70 <text x="315" y="135">Zero x radius ellipse</text>
71 <text x="394" y="135">Zero y radius ellipse</text>
72 <text x="235" y="290">Zero length line</text>
73 </g>
74 <!-- ====================================================================== -->
75 <!-- Draw 4 rectangles, two with zero width, two with zero height -->
76 <!-- (stroked and unstroked) -->
77 <!-- ====================================================================== -->
78 <rect id="Zero-width-stroked-rect" fill="none" stroke="#000000" x="55" y="55" width="0" height="50"/>
79 <rect id="Zero-width-unstroked-rect" fill="#FF0000" stroke="none" x="55" y="160" width="0" height="50"/>
80 <rect id="Zero-height-stroked-rect" fill="#00FF00" stroke="#0000FF" x="135" y="55" width="25" height="0"/>
81 <rect id="Zero-height-rect" fill="#00FF00" stroke="none" x="135" y="160" width="25" height="0"/>
82 <!-- ====================================================================== -->
83 <!-- Draw two zero radius circles (stroked and unstroked) -->
84 <!-- ====================================================================== -->
85 <circle id="Zero-radius-stroked-circle" fill="none" stroke="#000000" cx="240" cy="80" r="0"/>
86 <circle id="Zero-radius-unstroked-circle" fill="#FF0000" stroke="none" cx="240" cy="185" r="0"/>
87 <!-- ====================================================================== -->
88 <!-- Draw 4 ellipses, two with a zero x radius, two with a zero y radius -->
89 <!-- (stroked and unstroked) -->
90 <!-- ====================================================================== -->
91 <ellipse id="Zero-x-radius-stroked-ellipse" fill="#00FF00" stroke="#0000FF" cx="332" cy="80" rx="0" ry="25"/>
92 <ellipse id="Zero-x-radius-unstroked-ellipse" fill="#00FF00" stroke="none" cx="332" cy="185" rx="0" ry="25"/>
93 <ellipse id="Zero-y-radius-stroked-ellipse" fill="none" stroke="#000000" cx="411" cy="80" rx="12" ry="0"/>
94 <ellipse id="Zero-y-radius-unstroked-ellipse" fill="#FF0000" stroke="none" cx="411" cy="185" rx="12" ry="0"/>
95 <!-- ====================================================================== -->
96 <!-- Draw a zero-length line -->
97 <!-- ====================================================================== -->
98 <line id="Zero-length-line" stroke="#0000FF" x1="240" y1="265" x2="240" y2="265"/>
99 </g>
100 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.9 $</text>
101 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
102 </svg>