qt5base-lts/tests/arthur/data/1.1/styling-pres-01-t.svg

39 lines
2.4 KiB
XML
Raw Normal View History

<?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>