coords-viewattr-03-b-isvalid.html (5307B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>coords-viewattr-03-b-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: coords-viewattr-03-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: coords-viewattr-03-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 <text font-size="20" x="240" y="28" text-anchor="middle"><svg> 'viewBox' attribute</text> 32 33 <g fill="lightblue" stroke="black"> 34 35 <svg x="35" y="50" width="100" height="100" viewBox="0 0 200 200" overflow="visible"> 36 <path fill-rule="evenodd" d="M20,20 Q180,20 180,180 Q20,180 20,20 Z M20,180 Q20,20 180,20 Q180,180 20,180 Z M100,40 L160,100 100,160 40,100 Z"/> 37 </svg> 38 <text font-size="13.5" x="85" y="155" text-anchor="middle" fill="black" stroke="none">viewBox="0 0 200 200"</text> 39 <text font-size="13.5" x="85" y="170" text-anchor="middle" fill="black" stroke="none">overflow="visible" </text> 40 41 <svg x="35" y="180" width="100" height="100" viewBox="0 0 200 200" overflow="hidden"> 42 <path fill-rule="evenodd" d="M20,20 Q180,20 180,180 Q20,180 20,20 Z M20,180 Q20,20 180,20 Q180,180 20,180 Z M100,40 L160,100 100,160 40,100 Z"/> 43 </svg> 44 <text font-size="13.5" x="85" y="285" text-anchor="middle" fill="black" stroke="none">viewBox="0 0 200 200"</text> 45 <text font-size="13.5" x="85" y="300" text-anchor="middle" fill="black" stroke="none">overflow="hidden" </text> 46 47 <svg x="190" y="50" width="100" height="100" viewBox="0,0,200,200" overflow="visible"> 48 <path fill-rule="evenodd" d="M20,20 Q180,20 180,180 Q20,180 20,20 Z M20,180 Q20,20 180,20 Q180,180 20,180 Z M100,40 L160,100 100,160 40,100 Z"/> 49 </svg> 50 <text font-size="13.5" x="240" y="155" text-anchor="middle" fill="black" stroke="none">viewBox="0,0,200,200"</text> 51 <text font-size="13.5" x="240" y="170" text-anchor="middle" fill="black" stroke="none">overflow="visible" </text> 52 53 <svg x="190" y="180" width="100" height="100" viewBox="0,0,200,200" overflow="hidden"> 54 <path fill-rule="evenodd" d="M20,20 Q180,20 180,180 Q20,180 20,20 Z M20,180 Q20,20 180,20 Q180,180 20,180 Z M100,40 L160,100 100,160 40,100 Z"/> 55 </svg> 56 <text font-size="13.5" x="240" y="285" text-anchor="middle" fill="black" stroke="none">viewBox="0,0,200,200"</text> 57 <text font-size="13.5" x="240" y="300" text-anchor="middle" fill="black" stroke="none">overflow="hidden" </text> 58 59 <svg x="345" y="50" width="100" height="100" viewBox="0,0, 200, 200" overflow="visible"> 60 <path fill-rule="evenodd" d="M20,20 Q180,20 180,180 Q20,180 20,20 Z M20,180 Q20,20 180,20 Q180,180 20,180 Z M100,40 L160,100 100,160 40,100 Z"/> 61 </svg> 62 <text font-size="13.5" x="395" y="155" text-anchor="middle" fill="black" stroke="none">viewBox="0,0, 200, 200"</text> 63 <text font-size="13.5" x="395" y="170" text-anchor="middle" fill="black" stroke="none">overflow="visible" </text> 64 65 <svg x="345" y="180" width="100" height="100" viewBox="0,0, 200, 200" overflow="hidden"> 66 <path fill-rule="evenodd" d="M20,20 Q180,20 180,180 Q20,180 20,20 Z M20,180 Q20,20 180,20 Q180,180 20,180 Z M100,40 L160,100 100,160 40,100 Z"/> 67 </svg> 68 <text font-size="13.5" x="395" y="285" text-anchor="middle" fill="black" stroke="none">viewBox="0,0, 200, 200"</text> 69 <text font-size="13.5" x="395" y="300" text-anchor="middle" fill="black" stroke="none">overflow="hidden" </text> 70 71 </g> 72 </g> 73 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 74 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text> 75 </g> 76 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> 77 <!-- comment out this watermark once the test is approved --> 78 <!--<g id="draft-watermark"> 79 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 80 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 81 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 82 </g>--> 83 </svg> 84 </body> 85 </html>