Debian Codegraph @

samples/tests/spec/styling/cssMediaList.svg

raw
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
3 "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
5 <!--
6
7 Licensed to the Apache Software Foundation (ASF) under one or more
8 contributor license agreements. See the NOTICE file distributed with
9 this work for additional information regarding copyright ownership.
10 The ASF licenses this file to You under the Apache License, Version 2.0
11 (the "License"); you may not use this file except in compliance with
12 the License. You may obtain a copy of the License at
13
14 http://www.apache.org/licenses/LICENSE-2.0
15
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
21
22 -->
23 <!-- ========================================================================= -->
24 <!-- Alternate stylesheets -->
25 <!-- -->
26 <!-- @author [email protected] -->
27 <!-- @version $Id$ -->
28 <!-- ========================================================================= -->
29
30 <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>
31 <?xml-stylesheet type="text/css" href="../../resources/style/cssMediaList.css" ?>
32
33 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="450" height="500" viewBox="0 0 450 500">
34 <title>CSS Media</title>
35
36 <!-- ============================================================= -->
37 <!-- Test content -->
38 <!-- ============================================================= -->
39 <g id="testContent">
40 <text x="225" y="50" class="title">CSS Media 2</text>
41
42 <text x="20" y="80" style="font-size:12; text-anchor:start">
43 <tspan>Show which CSS media is taken into account</tspan>
44 <tspan x="20" dy="14">Choose your media using the 'Edit=>Preference' menu item.</tspan>
45 </text>
46
47 <defs>
48 <polyline id="check" points="-5 -5 0 0 5 -10" style="stroke:crimson; fill:none; stroke-width:2;" />
49 </defs>
50
51 <g transform="translate(150 140)" style="stroke:black; fill:none">
52 <rect x="0" y="0" width="150" height="20" />
53 <rect x="0" y="20" width="150" height="20" />
54 <rect x="0" y="40" width="150" height="20" />
55 <rect x="0" y="60" width="150" height="20" />
56 <rect x="0" y="80" width="150" height="20" />
57
58 <rect x="0" y="100" width="150" height="20" />
59 <rect x="0" y="120" width="150" height="20" />
60 <rect x="0" y="140" width="150" height="20" />
61 <rect x="0" y="160" width="150" height="20" />
62 <rect x="0" y="180" width="150" height="20" />
63
64 <line x1="100" y1="0" x2="100" y2="200" />
65
66
67 <g style="font-size:12; text-anchor:start; stroke:none; fill:black">
68 <text x="10" y="14" >all</text>
69 <text x="10" y="34" >aural</text>
70 <text x="10" y="54" >braille</text>
71 <text x="10" y="74" >embossed</text>
72 <text x="10" y="94" >handheld</text>
73 <text x="10" y="114" >print</text>
74 <text x="10" y="134" >projection</text>
75 <text x="10" y="154" >screen</text>
76 <text x="10" y="174" >tty</text>
77 <text x="10" y="194" >tv</text>
78 </g>
79
80 <g style="visibility: hidden">
81 <use xlink:href="#check" x="125" y="15" class="all" />
82 <use xlink:href="#check" x="125" y="35" class="aural" />
83 <use xlink:href="#check" x="125" y="55" class="braille" />
84 <use xlink:href="#check" x="125" y="75" class="embossed" />
85 <use xlink:href="#check" x="125" y="95" class="handheld" />
86 <use xlink:href="#check" x="125" y="115" class="print" />
87 <use xlink:href="#check" x="125" y="135" class="projection" />
88 <use xlink:href="#check" x="125" y="155" class="screen" />
89 <use xlink:href="#check" x="125" y="175" class="tty" />
90 <use xlink:href="#check" x="125" y="195" class="tv" />
91 </g>
92
93 </g>
94
95
96 </g>
97
98 <!-- ============================================================= -->
99 <!-- Batik sample mark -->
100 <!-- ============================================================= -->
101 <use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" />
102
103 </svg>