styling-css-08-f-isvalid.html (3979B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>styling-css-08-f-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: styling-css-08-f-manual.svg</h1> 9 <svg id="svg-root" width="100%" height="100%" 10 viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" 11 xmlns:xlink="http://www.w3.org/1999/xlink"> 12 <!--======================================================================--> 13 <!--= Copyright 2008 World Wide Web Consortium, (Massachusetts =--> 14 <!--= Institute of Technology, European Research Consortium for =--> 15 <!--= Informatics and Mathematics (ERCIM), Keio University). =--> 16 <!--= All Rights Reserved. =--> 17 <!--= See http://www.w3.org/Consortium/Legal/. =--> 18 <!--======================================================================--> 19 20 <title id="test-title">$RCSfile: styling-css-08-f.svg,v $</title> 21 <defs> 22 <font-face 23 font-family="SVGFreeSansASCII" 24 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 <style><![CDATA[ 33 path 34 { 35 visibility: hidden; 36 } 37 g svg circle 38 { 39 visibility: hidden; 40 } 41 g > ellipse 42 { 43 visibility: hidden; 44 } 45 ellipse + circle 46 { 47 visibility: hidden; 48 } 49 [id=testAttributeSelector] 50 { 51 visibility: hidden; 52 } 53 #testIdSelector 54 { 55 visibility: hidden; 56 } 57 #testPseudoClassSelector:first-child 58 { 59 visibility: hidden; 60 } 61 .reference { visibility: visible !important } 62 ]]> 63 </style> 64 65 <path class="reference" d="M 50 125 L 150 125 L 100 75 z" fill="lime" visibility="hidden"/> 66 <path id="testTypeSelector" d="M 50 125 L 150 125 L 100 75 z" fill="red" /> 67 <g> 68 <svg width="200" height="200"> 69 <circle class="reference" cx="50" cy="175" r="25" fill="lime" visibility="hidden"/> 70 <circle id="testDescendantSelector" cx="50" cy="175" r="25" fill="red" /> 71 </svg> 72 </g> 73 <g id="testParentContainer"> 74 <ellipse class="reference" cx="160" cy="200" rx="25" ry="45" fill="lime" visibility="hidden"/> 75 <circle class="reference" cx="100" cy="300" r="40" fill="lime" visibility="hidden"/> 76 <ellipse id="testChildSelector" cx="160" cy="200" rx="25" ry="45" fill="red" /> 77 <circle id="testAdjacentSiblingSelector" cx="100" cy="300" r="40" fill="red" /> 78 </g> 79 <circle class="reference" cx="300" cy="80" r="35" fill="lime" visibility="hidden"/> 80 <circle id="testAttributeSelector" cx="300" cy="80" r="35" fill="red" /> 81 82 <circle class="reference" cx="400" cy="140" r="50" fill="lime" visibility="hidden"/> 83 <circle id="testIdSelector" cx="400" cy="140" r="50" fill="red" /> 84 85 <rect class="reference" x="270" y="240" width="150" height="80" fill="lime" visibility="hidden"/> 86 <g> 87 <rect id="testPseudoClassSelector" x="270" y="240" width="150" height="80" fill="red" /> 88 </g> 89 90 </g> 91 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 92 <text id="revision" x="10" y="340" stroke="none" 93 fill="black">$Revision: 1.3 $</text> 94 </g> 95 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/> 96 <!-- comment out this watermark once the test is approved 97 <g id="draft-watermark"> 98 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 99 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 100 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 101 </g> --> 102 </svg> 103 </body> 104 </html>