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