Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / styling-pres-01-t.svg
blob7acf23c8b97cd34bcdfc1f44511ee9f703603186
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. This is an error. Consequently,
20 the document should go in error and rendering stopped before rendering the rect element. Therefore,
21 only the blue circle should be displayed by the user agent. </Paragraph>
22 </OperatorScript>
23 </SVGTestCase>
24 <title id="test-title">styling-pres-01-t</title>
25 <desc id="test-desc">Check !important in presentation attribute is an error
26 </desc>
27 <!--======================================================================-->
28 <!--Content of Test Case follows... =====================-->
29 <!--======================================================================-->
30 <g id="test-body-content">
31 <!-- something to draw before getting an error-->
32 <circle r="80" cx="240" cy="150" fill="blue"/>
33 <rect width="200" height="160" x="140" y="70" fill="red !important"/>
34 </g>
35 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.3 $</text>
36 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
37 </svg>