| OLD | NEW |
| (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-text-02-f.svg --> | |
| 13 <!-- renamed for Basic suite to text-text-03-b.svg --> | |
| 14 <!-- --> | |
| 15 <!-- Test viewer basic capability to handle 'text' elements and a few --> | |
| 16 <!-- text properties. --> | |
| 17 <!-- --> | |
| 18 <!-- Author : Shenxue Zhou (test body content), 25-Feb-2000 & --> | |
| 19 <!-- Lofton Henderson (put into template), 28-Feb-2000 --> | |
| 20 <!-- Revised for 1.1 : Tolga Capin 14-Feb-2002 --> | |
| 21 <!-- Revised for Basic: Takeshi Sagara 04-Jul-2002 --> | |
| 22 <!-- --> | |
| 23 <!-- History: --> | |
| 24 <!-- 28-Feb-2000, SZ & LH: Serial#1 created. --> | |
| 25 <!-- 12-Mar-2000, LH, fix test-framing rect; font Arial; ser#2 --> | |
| 26 <!-- 20-Mar-2000, LH, back to Verdana (Arial doesn't work); ser#3 --> | |
| 27 <!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . --> | |
| 28 <!-- 04-Jul-2002, TS add viewBox and change font size and positions. --> | |
| 29 <!-- --> | |
| 30 <!-- ===================================================================== --> | |
| 31 <!--======================================================================--> | |
| 32 <!--= Note. After October 2000, revision history is kept as CVS 'commit' =--> | |
| 33 <!--= log messages, and therefore is no longer in the preceding preamble.=--> | |
| 34 <!--======================================================================--> | |
| 35 <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%" v
iewBox="0 0 480 360"> | |
| 36 | |
| 37 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/
"> | |
| 38 <OperatorScript version="$Revision: 1.8 $" testname="text-text-0
3-b.svg"> | |
| 39 <Paragraph> | |
| 40 Test text element, tspan element and various tex
t decorations | |
| 41 </Paragraph> | |
| 42 </OperatorScript> | |
| 43 </SVGTestCase> | |
| 44 | |
| 45 <title id="test-title">text-text-03-b</title> | |
| 46 <desc id="test-desc">Test for basic capability to handle 'text' elements
and text properties.</desc> | |
| 47 <!--====================================================================
==--> | |
| 48 <!--Content of Test Case follows... ===================
==--> | |
| 49 <!--====================================================================
==--> | |
| 50 <g id="test-body-content"> | |
| 51 <text x="19" y="61" font-size="32" font-family="Verdana" fill="b
lue" >Plain</text> | |
| 52 <text x="142" y="61" font-size="32" font-family="Verdana" font-s
tyle="italic" fill="blue" >Italic</text> | |
| 53 <text x="257" y="60" font-size="32" font-family="Verdana" font-w
eight="bold" fill="blue" >Bold</text> | |
| 54 <text x="224" y="110" font-size="32" font-family="Verdana" fill=
"blue" text-decoration="underline" >Underline</text> | |
| 55 <text x="39" y="147" font-size="32" font-family="Verdana" fill="
red" text-decoration="line-through" >Line through</text> | |
| 56 <text x="1" y="200" font-size="32" font-family="Verdana" font-st
yle="italic" font-weight="bold" fill="black" text-decoration="underline" >Bold,
italic and underlined</text> | |
| 57 <g> | |
| 58 <rect x="50" y="225" width="380" height="64" fill="none"
stroke="black" stroke-width="2" /> | |
| 59 <g> | |
| 60 <text x="55" y="245" font-size="24" font-family=
"Arial" fill="black" >Each line of text which flows in a </text> | |
| 61 <text x="55" y="265" font-size="24" font-family=
"Arial" fill="black" >rectangular box has to be broken</text> | |
| 62 <text x="55" y="285" font-size="24" font-family=
"Arial" fill="black" >into separated lines.</text> | |
| 63 </g> | |
| 64 </g> | |
| 65 </g> | |
| 66 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="bl
ack">$Revision: 1.8 $</text> | |
| 67 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" s
troke="#000000"/> | |
| 68 <script> | |
| 69 if (window.testRunner) | |
| 70 window.testRunner.dumpSelectionRect(); | |
| 71 document.execCommand("SelectAll"); | |
| 72 </script> | |
| 73 </svg> | |
| 74 | |
| OLD | NEW |