blob: 7acf23c8b97cd34bcdfc1f44511ee9f703603186 [file] [log] [blame]
<?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. This is an error. Consequently,
the document should go in error and rendering stopped before rendering the rect element. Therefore,
only the blue circle should be displayed by the user agent. </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"/>
<rect width="200" height="160" x="140" y="70" fill="red !important"/>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.3 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>