struct-image-06-t-isvalid.html (3990B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>struct-image-06-t-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: struct-image-06-t-manual.svg</h1> 9 <svg version="1.1" baseProfile="tiny" 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: struct-image-06-t.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 <g font-size="9"> 32 <desc>Example PreserveAspectRatio - demonstrate available options</desc> 33 <text x="10" y="30">SVG to fit</text> 34 <g transform="translate(20,40)"> 35 <image xlink:href="../images/smiley.png" width="50" height="50"/> 36 </g> 37 <text x="10" y="110">Viewport 1</text> 38 <g transform="translate(10,120)"> 39 <rect x=".5" y=".5" width="49" height="29" fill="none" stroke="blue"/> 40 </g> 41 <text x="10" y="180">Viewport 2</text> 42 <g transform="translate(20,190)"> 43 <rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/> 44 </g> 45 <g id="meet-group-1" transform="translate(100, 50)"> 46 <text x="0" y="-20">---------- meet ----------</text> 47 <g transform="translate(30,0)"> 48 <text y="-5">xMid*</text> 49 <rect x=".5" y=".5" width="49" height="29" fill="none" stroke="blue"/> 50 <image xlink:href="../images/smiley.png" preserveAspectRatio="xMidYMid meet" width="50" height="30"/> 51 </g> 52 </g> 53 <g id="meet-group-2" transform="translate(230, 50)"> 54 <text x="0" y="-20">---------- meet ----------</text> 55 <g transform="translate(30, 0)"> 56 <text y="-5">*YMid</text> 57 <rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/> 58 <image xlink:href="../images/smiley.png" preserveAspectRatio="xMidYMid meet" width="30" height="60"/> 59 </g> 60 </g> 61 <g id="meet-group-3" transform="translate(350, 50)"> 62 <text x="0" y="-20">---------- meet ----------</text> 63 <g transform="translate(30, 0)"> 64 <text y="-5">*none</text> 65 <rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/> 66 <image xlink:href="../images/smiley.png" preserveAspectRatio="none" width="30" height="60"/> 67 </g> 68 </g> 69 </g> 70 </g> 71 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 72 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text> 73 </g> 74 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> 75 <!-- comment out this watermark once the test is approved --> 76 <!--<g id="draft-watermark"> 77 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 78 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 79 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 80 </g>--> 81 </svg> 82 </body> 83 </html>