Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Side by Side Diff: LayoutTests/svg/W3C-SVG-1.1/pservers-grad-17-b.svg

Issue 1085583003: Remove a duplicate test in LayoutTests/svg/W3C-SVG-1.1 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove 1 duplicate tests in LayoutTests/svg/W3C-SVG-1.1 Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics /SVG/1.1/DTD/svg11-basic-flat.dtd">
3 <!--========================================================================-->
4 <!--= Copyright 2006 World Wide Web Consortium, (Massachusetts =-->
5 <!--= Institute of Technology, European Research Consortium for =-->
6 <!--= Informatics and Mathematics (ERCIM), Keio University). =-->
7 <!--= All Rights Reserved. =-->
8 <!--= See http://www.w3.org/Consortium/Legal/. =-->
9 <!--========================================================================-->
10 <!-- NOTE: CVS will automatically update the -->
11 <!-- "$RCSfile: pservers-grad-17-b.svg,v $" and "$Revision: 1.4 $" -->
12 <!-- fields in the file. -->
13 <!-- There is no need to update this information. -->
14 <!-- =====================================================================-->
15 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" version="1.1" baseProfile="basic" id="svg-root"
16 width="100%" height="100%" viewBox="0 0 480 360">
17 <SVGTestCase xmlns:testcase="http://www.w3.org/2000/02/svg/testsuite/descripti on/" xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" reviewer="AE" owner="ED"
18 desc="Test that checks that a gradient with objectBoundingBox is not app lied on an element without width or height." status="accepted" version="$Revisio n: 1.4 $" testname="$RCSfile: pservers-grad-17-b.svg,v $">
19 <OperatorScript>
20 <Paragraph>
21 This test has a gradient with gradientUnits='objectBound ingBox' which is a fade from black to white.
22 The gradient is used for the stroke of a line. Lines don 't have a boundingbox, since they are one-dimensional, even though the
23 stroke-width makes it look like they should have a bound ingbox with non-zero width and height.
24 See the coordinate chapter, last paragraph of 7.11.
25 </Paragraph>
26 <Paragraph>
27 The left rectangle has four 'line' elements rotated in d ifferent ways. The right rectangle has four 'rect' elements
28 rotated in the same way as the 'line' elements. Both of these rectangles and their contents should look the same
29 for the test to pass; all lines are solid black except f or the diagonal from bottom left to top right, which has a black to white gradie nt.
30 </Paragraph>
31 </OperatorScript>
32 </SVGTestCase>
33 <title id="test-title">$RCSfile: pservers-grad-17-b.svg,v $</title>
34 <g id="test-body-content">
35 <defs>
36 <linearGradient id="grad">
37 <stop offset="0" stop-color="black" />
38 <stop offset="1" stop-color="white" />
39 </linearGradient>
40 </defs>
41
42 <g transform="translate(50, 100) scale(0.3)" stroke="#f00">
43 <rect x="0" y="-60" width="480" height="480" fill="none" stroke= "black"/>
44 <line x1="0" y1="180" x2="480" y2="180" stroke="url(#grad)" stro ke-width="20"/>
45 <line x1="0" y1="180" x2="480" y2="180" stroke="url(#grad)" stro ke-width="20" transform="rotate(45 240 180)"/>
46 <line x1="0" y1="180" x2="480" y2="180" stroke="url(#grad)" stro ke-width="20" transform="rotate(90 240 180)"/>
47 <line x1="410" y1="10" x2="70" y2="350" stroke="url(#grad)" stro ke-width="20"/>
48 </g>
49 <text x="120" y="250" text-anchor="middle">Using lines</text>
50
51 <g transform="translate(280,100) scale(0.3)" fill="#f00">
52 <rect x="0" y="-60" width="480" height="480" fill="none" stroke= "black"/>
53 <rect x="0" y="170" width="480" height="20" fill="black"/>
54 <rect x="0" y="170" width="480" height="20" fill="black" transfo rm="rotate(45 240 180)"/>
55 <rect x="0" y="170" width="480" height="20" fill="black" transfo rm="rotate(90 240 180)"/>
56 <rect x="0" y="170" width="480" height="20" fill="url(#grad)" tr ansform="rotate(315 240 180)"/>
57 </g>
58 <text x="350" y="250" text-anchor="middle">Using rects</text>
59 </g>
60 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$ Revision: 1.4 $</text>
61 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke= "#000000"/>
62 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698