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

Side by Side Diff: LayoutTests/svg/zoom/text/zoom-coords-viewattr-01-b.svg

Issue 205263004: Convert svg repaint tests to pixel test only repaint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove fixedpos Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 <?xml version="1.0" encoding="UTF-8"?> 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.dtd" [ 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics /SVG/1.1/DTD/svg11-basic.dtd" [
3 <!ENTITY Smile " 3 <!ENTITY Smile "
4 <rect x='.5' y='.5' width='29' height='39' fill='black' stroke='red'/> 4 <rect x='.5' y='.5' width='29' height='39' fill='black' stroke='red'/>
5 <g transform='translate(0, 5)'> 5 <g transform='translate(0, 5)'>
6 <circle cx='15' cy='15' r='10' fill='yellow'/> 6 <circle cx='15' cy='15' r='10' fill='yellow'/>
7 <circle cx='12' cy='12' r='1.5' fill='black'/> 7 <circle cx='12' cy='12' r='1.5' fill='black'/>
8 <circle cx='17' cy='12' r='1.5' fill='black'/> 8 <circle cx='17' cy='12' r='1.5' fill='black'/>
9 <path d='M 10 19 L 15 23 20 19' stroke='black' stroke-width='2'/> 9 <path d='M 10 19 L 15 23 20 19' stroke='black' stroke-width='2'/>
10 </g> 10 </g>
(...skipping 10 matching lines...) Expand all
21 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =--> 21 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
22 <!--======================================================================--> 22 <!--======================================================================-->
23 <!-- ===================================================================== --> 23 <!-- ===================================================================== -->
24 <!-- The content of this test is taken from the SVG specification. The --> 24 <!-- The content of this test is taken from the SVG specification. The -->
25 <!-- original author is Jon Ferraiolo. --> 25 <!-- original author is Jon Ferraiolo. -->
26 <!-- coords-viewBox-BE-03.svg --> 26 <!-- coords-viewBox-BE-03.svg -->
27 <!-- renamed for 1.1 suite to coords-viewattr-01-b.svg --> 27 <!-- renamed for 1.1 suite to coords-viewattr-01-b.svg -->
28 <!-- Author : Vincent Hardy --> 28 <!-- Author : Vincent Hardy -->
29 <!-- Modified for svg 1.1 by Ola Andersson, 07-Mar-2002 --> 29 <!-- Modified for svg 1.1 by Ola Andersson, 07-Mar-2002 -->
30 <!--======================================================================--> 30 <!--======================================================================-->
31 <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%" vi ewBox="0 0 480 360" onload="runRepaintTest()"> 31 <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%" vi ewBox="0 0 480 360" onload="runRepaintAndPixelTest()">
32 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/"> 32 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
33 <OperatorScript version="$Revision: 1.6 $" testname="coords-viewattr-01- b.svg"> 33 <OperatorScript version="$Revision: 1.6 $" testname="coords-viewattr-01- b.svg">
34 <Paragraph> 34 <Paragraph>
35 This test verifies the implementation of the viewBox and the preserv eAspectRatio attribute. 35 This test verifies the implementation of the viewBox and the preserv eAspectRatio attribute.
36 This is a modified version of the sample file included in the SVG speci fication. 36 This is a modified version of the sample file included in the SVG speci fication.
37 It exercises the various preserveAspectRatio values and uses a general entity definition 37 It exercises the various preserveAspectRatio values and uses a general entity definition
38 in order to make reading of the SVG source easier. 38 in order to make reading of the SVG source easier.
39 </Paragraph> 39 </Paragraph>
40 <Paragraph> 40 <Paragraph>
41 The rendered picture should match the reference image exactly except fo r variations in the labeling text. 41 The rendered picture should match the reference image exactly except fo r variations in the labeling text.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="htt p://www.w3.org/1999/xlink" preserveAspectRatio="xMaxYMax slice" viewBox="0 0 30 40" width="50" height="30">&Smile;</svg> 116 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="htt p://www.w3.org/1999/xlink" preserveAspectRatio="xMaxYMax slice" viewBox="0 0 30 40" width="50" height="30">&Smile;</svg>
117 </g> 117 </g>
118 </g> 118 </g>
119 </g> 119 </g>
120 </g> 120 </g>
121 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black" >$Revision: 1.6 $</text> 121 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black" >$Revision: 1.6 $</text>
122 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" strok e="#000000"/> 122 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" strok e="#000000"/>
123 123
124 <defs> 124 <defs>
125 <script>var zoomCount = 2;</script> 125 <script>var zoomCount = 2;</script>
126 <script xlink:href="../../../fast/repaint/resources/repaint.js"/> 126 <script xlink:href="../../../fast/repaint/resources/text-based-repaint.j s"/>
127 <script xlink:href="../resources/testTextZoom.js"/> 127 <script xlink:href="../resources/testTextZoom.js"/>
128 </defs> 128 </defs>
129 </svg> 129 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/zoom/text/relative-sized-document-scrollbars.svg ('k') | LayoutTests/svg/zoom/text/zoom-foreignObject.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698