Debian Codegraph @

test_non_regression/fail/filter/filters-gauss-02-f.svg

raw
1 <svg id="svg-root" width="100%" height="100%"
2 viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"
3 xmlns:xlink="http://www.w3.org/1999/xlink">
4 <!--======================================================================-->
5 <!--= Copyright 2008 World Wide Web Consortium, (Massachusetts =-->
6 <!--= Institute of Technology, European Research Consortium for =-->
7 <!--= Informatics and Mathematics (ERCIM), Keio University). =-->
8 <!--= All Rights Reserved. =-->
9 <!--= See http://www.w3.org/Consortium/Legal/. =-->
10 <!--======================================================================-->
11 <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"
12 template-version="1.4" reviewer="TB" author="ED" status="accepted"
13 version="$Revision: 1.3 $" testname="$RCSfile: filters-gauss-02-f.svg,v $">
14 <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/animate.html#feGaussianBlurElement">
15 <p>
16 Test that when 'stdDeviation' is zero in one of X or Y the filter input image is
17 blurred only in the non-zero direction.
18 </p>
19 </d:testDescription>
20 <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
21 <p>
22 Run the test. No interaction required.
23 </p>
24 </d:operatorScript>
25 <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
26 <p>
27 The test is passed if:
28 </p>
29 <ul>
30 <li>the left subtest shows a blue and yellow rectangle fused together, with blur applied only in the vertical direction</li>
31 <li>the right subtest shows a blue and yellow rectangle fused together, with blur applied only in the horizontal direction</li>
32 <li>the blurred shapes are within the blue guidelines</li>
33 </ul>
34 </d:passCriteria>
35 </d:SVGTestCase>
36 <title id="test-title">$RCSfile: filters-gauss-02-f.svg,v $</title>
37 <defs>
38 <font-face
39 font-family="SVGFreeSansASCII"
40 unicode-range="U+0-7F">
41 <font-face-src>
42 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
43 </font-face-src>
44 </font-face>
45 </defs>
46 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
47 <defs>
48 <g id="rects">
49 <rect x="0" y="0" width="90" height="90" fill="blue"/>
50 <rect x="45" y="45" width="90" height="90" fill="yellow"/>
51 </g>
52 <g id="rect_outlines">
53 <rect x="0" y="0" width="135" height="135" fill="none" stroke="blue" stroke-width=".5"/>
54 <rect x="-13.5" y="-13.5" width="162" height="162" fill="none" stroke="blue" stroke-width=".5"/>
55 </g>
56 <filter id="blury" filterUnits="objectBoundingBox" x="-10%" y="-10%" width="120%" height="120%">
57 <feGaussianBlur stdDeviation="0 10"/>
58 </filter>
59 <filter id="blurx" filterUnits="objectBoundingBox" x="-10%" y="-10%" width="120%" height="120%">
60 <feGaussianBlur stdDeviation="20 0"/>
61 </filter>
62 </defs>
63 <g transform="translate(80,100)">
64 <use xlink:href="#rects" filter="url(#blury)"/>
65 <use xlink:href="#rect_outlines"/>
66 </g>
67 <g transform="translate(270,100)">
68 <use xlink:href="#rects" filter="url(#blurx)"/>
69 <use xlink:href="#rect_outlines"/>
70 </g>
71 </g>
72 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
73 <text id="revision" x="10" y="340" stroke="none"
74 fill="black">$Revision: 1.3 $</text>
75 </g>
76 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
77 <!-- comment out this watermark once the test is approved -->
78 <!--
79 <g id="draft-watermark">
80 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
81 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
82 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
83 </g>
84 -->
85 </svg>