blob: 8eb03e6d95ab575154dbe7d20548ad3ec0bcf340 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.1 U (http://www.xmlspy.com) by Chris Lilley (W3C Staff) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ==================================================================== -->
<!-- styling-pres-01-t.svg -->
<!-- Author : Chris Lilley 22-Mar-2002 -->
<!-- -->
<!--======================================================================-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" version="1.1" baseProfile="tiny">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript>
<Paragraph>Check that !important in presentation attribute is an error.
A fill attribute is set to red with !important. It thus has no specified
value, and inherits from its parent a green fill. A green rectangle is displayed. </Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">styling-pres-01-t</title>
<desc id="test-desc">Check !important in presentation attribute is an error
</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- something to draw before getting an error-->
<circle r="80" cx="240" cy="150" fill="blue"/>
<g fill="green">
<rect width="200" height="160" x="140" y="70" fill="red !important"/>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.2 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>
|