Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / masking-path-05-f.svg
blob51e3c8792405f499edd628dc9814fc1aa6ca7940
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3 <!--======================================================================-->
4 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
5 <!--= Institute of Technology, Institut National de Recherche en =-->
6 <!--= Informatique et en Automatique, Keio University). All Rights =-->
7 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
8 <!--======================================================================-->
9 <!-- ===================================================================== -->
10 <!-- -->
11 <!-- masking-clipRule-BE-03.svg -->
12 <!-- renamed for 1.1 suite to masking-path-05-f.svg -->
13 <!-- Author : Haroon Sheikh 10-Mar-2000 -->
14 <!-- 1.1 revision by Charles Ying -->
15 <!-- further revision by CL -->
16 <!--======================================================================-->
17 <svg version="1.1" baseProfile="basic" 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">
18 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
19 <OperatorScript version="$Revision: 1.2 $" testname="masking-path-05-f.svg">
20 <Paragraph>
21 Test to see if clip-rule property has been implemented properly.
22 </Paragraph>
23 <Paragraph>
24 The test at the top shows a red rectangle that has been clipped by a
25 clipping path that overlaps itself. The clip-rule is defined to be evenodd
26 so the overlap should have a hole in it.
27 </Paragraph>
28 <Paragraph>
29 The test at the bottom shows a blue rectangle that has been clipped by a
30 clipping path that overlaps itself. The clip-rule is defined to be nonzero
31 so the overlap should be filled.
32 </Paragraph>
33 <Paragraph>
34 The rendered picture should match the reference image exactly, except for possible
35 variations in the labelling text (per CSS2 rules).
36 </Paragraph>
37 </OperatorScript>
38 </SVGTestCase>
39 <title id="test-title">masking-path-05-f</title>
40 <desc id="test-desc">Test to see if clip-rule property has been implemented properly.</desc>
41 <!--======================================================================-->
42 <!--Content of Test Case follows... =====================-->
43 <!--======================================================================-->
44 <g id="test-body-content">
45 <text font-family="Arial" font-size="14" x="150" y="20">Test for clip-rule property.</text>
46 <clipPath id="clip1">
47 <path clip-rule="evenodd" d="M200,40l20,0 0,60 20,0 0,-20 -60,0 0,-20 80,0 0,60 -60,0 0,-80z"/>
48 </clipPath>
49 <rect x="50" y="30" width="350" height="100" fill="red" clip-path="url(#clip1)"/>
50 <text font-family="Arial" font-size="12" x="100" y="140">clip-rule=evenodd</text>
51 <clipPath id="clip2">
52 <path clip-rule="nonzero" d="M200,170l20,0 0,60 20,0 0,-20 -60,0 0,-20 80,0 0,60 -60,0 0,-80z"/>
53 </clipPath>
54 <rect x="50" y="160" width="350" height="100" fill="blue" clip-path="url(#clip2)"/>
55 <text font-family="Arial" font-size="12" x="100" y="270">cliprule=nonzero</text>
56 </g>
57 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.2 $</text>
58 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
59 </svg>