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

Side by Side Diff: LayoutTests/svg/text/text-align-01-b.svg

Issue 1091903004: Remove 1 duplicated SVG test and rename 4 SVG text tests for selection (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove 1 duplicated SVG test and rename 4 SVG text tests for reflecting Created 5 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
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.dtd">
3
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 <!-- -->
12 <!-- text-alignment-BE-10.svg -->
13 <!-- renamed for 1.1 suite to text-align-01-b.svg -->
14 <!-- renamed and split for svgt/b to text-align-01-b-a.svg -->
15 <!-- -->
16 <!-- Test 'text-anchor' property (horizontal). -->
17 <!-- -->
18 <!-- Author : Jon Ferraiolo 06-Aug-2000 -->
19 <!-- 1.1 revision by Vincent Hardy -->
20 <!-- Revised for svgt/b: Ola Andersson Jun/26/2002 -->
21 <!-- -->
22 <!-- History: -->
23 <!-- 06-Aug-2000, JF: Serial#1 created. -->
24 <!-- -->
25 <!-- ===================================================================== -->
26 <!--======================================================================-->
27 <!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
28 <!--= log messages, and therefore is no longer in the preceding preamble.=-->
29 <!--======================================================================-->
30 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" version="1.1" baseProfile="basic">
31 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
32 <!--nav data here-->
33 <OperatorScript version="$Revision: 1.5 $" testname="text-align-01-b.svg">
34 <Paragraph>
35 Test 'text-anchor' property (horizontal).
36 </Paragraph>
37 <Paragraph>
38 The three lines test the three values for property 'text-anchor' : start, middle and end.
39 </Paragraph>
40 </OperatorScript>
41 </SVGTestCase>
42
43 <title id="test-title">text-align-01-b</title>
44 <desc id="test-desc">Test 'text-anchor' property (horizontal).</desc>
45 <!--======================================================================-->
46 <!--Content of Test Case follows... =====================-->
47 <!--======================================================================-->
48 <g id="test-body-content">
49 <text font-family="Arial" font-size="34" x="5" y="40">Test 'text-anchor' (horizontal)</text>
50 <g id="text-anchor" font-family="Arial" font-size="14" >
51 <g transform="translate(230,130)">
52 <line stroke="black" x2="50"/>
53 <circle r="3"/>
54 <text font-size="30" fill="red" >text-anchor:none</text>
55 </g>
56 <g transform="translate(230,180)">
57 <line stroke="black" x2="50"/>
58 <circle r="3"/>
59 <text font-size="30" text-anchor="start" fill="red" >text-anchor:sta rt</text>
60 </g>
61 <g transform="translate(230,230)">
62 <line stroke="black" x1="-25" x2="25"/>
63 <circle r="3"/>
64 <text font-size="30" text-anchor="middle" fill="green" >text-anchor: middle</text>
65 </g>
66 <g transform="translate(230,280)">
67 <line stroke="black" x1="-50" x2="0"/>
68 <circle r="3"/>
69 <text font-size="30" text-anchor="end" fill="blue" >text-anchor:end< /text>
70 </g>
71 </g>
72 </g>
73 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black"> $Revision: 1.5 $</text>
74 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke ="#000000"/>
75 <script>
76 if (window.testRunner)
77 window.testRunner.dumpSelectionRect();
78 document.execCommand("SelectAll");
79 </script>
80 </svg>
81
OLDNEW
« no previous file with comments | « LayoutTests/svg/W3C-SVG-1.1/styling-css-04-f.svg ('k') | LayoutTests/svg/text/text-align-02-b.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698