pservers-grad-17-b-isvalid.html (3663B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>pservers-grad-17-b-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: pservers-grad-17-b-manual.svg</h1> 9 <svg version="1.1" baseProfile="basic" id="svg-root" 10 width="100%" height="100%" viewBox="0 0 480 360" 11 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> 12 <!--======================================================================--> 13 <!--= SVG 1.1 2nd Edition Test Case =--> 14 <!--======================================================================--> 15 <!--= Copyright 2009 World Wide Web Consortium, (Massachusetts =--> 16 <!--= Institute of Technology, European Research Consortium for =--> 17 <!--= Informatics and Mathematics (ERCIM), Keio University). =--> 18 <!--= All Rights Reserved. =--> 19 <!--= See http://www.w3.org/Consortium/Legal/. =--> 20 <!--======================================================================--> 21 22 <title id="test-title">$RCSfile: pservers-grad-17-b.svg,v $</title> 23 <defs> 24 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F"> 25 <font-face-src> 26 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/> 27 </font-face-src> 28 </font-face> 29 </defs> 30 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> 31 <defs> 32 <linearGradient id="grad"> 33 <stop offset="0" stop-color="black"/> 34 <stop offset="1" stop-color="white"/> 35 </linearGradient> 36 </defs> 37 38 <!-- sub-test 1: stroke with solid color fallback --> 39 <g transform="translate(50, 100) scale(0.3)"> 40 <line x1="0" y1="180" x2="480" y2="180" stroke="url(#grad) #0f0" stroke-width="20"/> 41 <line x1="0" y1="180" x2="480" y2="180" stroke="url(#grad) #0f0" stroke-width="20" transform="rotate(45 240 180)"/> 42 <line x1="0" y1="180" x2="480" y2="180" stroke="url(#grad) #0f0" stroke-width="20" transform="rotate(90 240 180)"/> 43 <line x1="410" y1="10" x2="70" y2="350" stroke="url(#grad) #0f0" stroke-width="20"/> 44 <rect x="0" y="-60" width="480" height="480" fill="none" stroke="black"/> 45 </g> 46 <text x="120" y="250" text-anchor="middle">With fallback</text> 47 48 <!-- sub-test 2: stroke without a fallback --> 49 <g transform="translate(280,100) scale(0.3)"> 50 <line x1="0" y1="180" x2="480" y2="180" stroke="url(#grad)" stroke-width="20"/> 51 <line x1="0" y1="180" x2="480" y2="180" stroke="url(#grad)" stroke-width="20" transform="rotate(45 240 180)"/> 52 <line x1="0" y1="180" x2="480" y2="180" stroke="url(#grad)" stroke-width="20" transform="rotate(90 240 180)"/> 53 <line x1="410" y1="10" x2="70" y2="350" stroke="url(#grad)" stroke-width="20"/> 54 <rect x="0" y="-60" width="480" height="480" fill="none" stroke="black"/> 55 </g> 56 <text x="350" y="250" text-anchor="middle">Without fallback</text> 57 </g> 58 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 59 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.4 $</text> 60 </g> 61 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> 62 <!-- comment out this watermark once the test is approved --> 63 <!--<g id="draft-watermark"> 64 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 65 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 66 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 67 </g>--> 68 </svg> 69 </body> 70 </html>