pservers-pattern-01-b-isvalid.html (5108B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>pservers-pattern-01-b-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: pservers-pattern-01-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-pattern-01-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 <!-- ====================================================================== --> 32 <!-- Rectangle with a pattern fill ======== --> 33 <!-- ====================================================================== --> 34 <pattern patternUnits="userSpaceOnUse" id="pat1" x="10" y="10" width="20" height="20"> 35 <rect x="5" y="5" width="10" height="10" fill="yellow"/> 36 <rect x="10" y="10" width="10" height="10" fill="green"/> 37 </pattern> 38 <rect x="25" y="10" width="430" height="60" stroke="black" fill="url(#pat1)"/> 39 <text font-family="Arial" font-size="12" x="25" y="85">Pattern created using yellow and green rectangles applied to fill of rectangle</text> 40 <!-- ====================================================================== --> 41 <!-- Rectangle with a pattern on the stroke ======== --> 42 <!-- ====================================================================== --> 43 <pattern patternUnits="userSpaceOnUse" id="pat2" x="0" y="0" width="20" height="20"> 44 <rect x="0" y="0" width="10" height="10" fill="maroon"/> 45 <rect x="10" y="0" width="10" height="10" fill="green"/> 46 <rect x="0" y="10" width="10" height="10" fill="blue"/> 47 <rect x="10" y="10" width="10" height="10" fill="yellow"/> 48 </pattern> 49 <rect x="35" y="110" width="410" height="40" fill="none" stroke="url(#pat2)" stroke-width="20"/> 50 <text font-family="Arial" font-size="12" x="25" y="175">Pattern of 4 rectangles applied to a stroke of a rectangle.</text> 51 <!-- ====================================================================== --> 52 <!-- Pattern filled text ======== --> 53 <!-- ====================================================================== --> 54 <pattern patternUnits="userSpaceOnUse" id="pat3" x="0" y="0" width="10" height="20"> 55 <rect x="0" y="0" width="10" height="10" fill="orange"/> 56 <rect x="0" y="10" width="10" height="10" fill="green"/> 57 </pattern> 58 <text font-family="Arial" font-size="50" fill="url(#pat3)" x="25" y="220">Pattern on fill</text> 59 <text font-family="Arial" font-size="12" x="25" y="235">Pattern consists of orange and green rows</text> 60 <!-- ====================================================================== --> 61 <!-- Pattern on stroke of text ======== --> 62 <!-- ====================================================================== --> 63 <pattern patternUnits="userSpaceOnUse" id="pat4" x="0" y="0" width="20" height="10"> 64 <rect x="0" y="0" width="10" height="10" fill="maroon"/> 65 <rect x="10" y="0" width="10" height="10" fill="blue"/> 66 </pattern> 67 <text font-family="Arial" font-size="40" fill="none" stroke="url(#pat4)" stroke-width="2" x="25" y="275">Pattern on stroke</text> 68 <text font-family="Arial" font-size="12" x="25" y="290">Pattern consists of maroon and blue columns</text> 69 </g> 70 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 71 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text> 72 </g> 73 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> 74 <!-- comment out this watermark once the test is approved --> 75 <!--<g id="draft-watermark"> 76 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 77 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 78 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 79 </g>--> 80 </svg> 81 </body> 82 </html>