tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

render-groups-01-b-isvalid.html (5288B)


      1 <!DOCTYPE html>
      2 <html lang='en'>
      3 <head>
      4 <title>render-groups-01-b-manual.svg</title>
      5 <meta charset='utf-8'>
      6 </head>
      7 <body>
      8 <h1>Source SVG: render-groups-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: render-groups-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    <defs>
     32      <font horiz-adv-x="313">
     33        <!-- Converted from Larabie Anglepoise by Batik ttf2svg -->
     34        <font-face font-family="s-larabie-anglepoise" units-per-em="1000" panose-1="0 0 4 0 0 0 0 0 0 0" ascent="703" descent="-300" alphabetic="0"/>
     35        <missing-glyph horiz-adv-x="500" d="M63 0V700H438V0H63ZM125 63H375V638H125V63Z"/>
     36        <glyph unicode="S" glyph-name="S" horiz-adv-x="385" d="M371 1H29V144H264Q264 151 264 166Q265 180 265 188Q265 212 249 212H132Q83 212 55 247Q29 279 29 329V566H335V422H136V375Q136 360 144 356Q148 355 168 355H279Q327 355 352 309Q371 273 371 221V1Z"/>
     37        <glyph unicode="V" glyph-name="V" horiz-adv-x="351" d="M365 563L183 -33L0 563H101L183 296L270 563H365Z"/>
     38        <glyph unicode="G" glyph-name="G" horiz-adv-x="367" d="M355 1H18V564H355V420H125V144H248V211H156V355H355V1Z"/>
     39        <hkern g1="V" g2="G" k="-40"/>
     40      </font>
     41      <style>
     42        @font-face {
     43          font-family: anglepoise;
     44          src: url(woffs/anglepoi.woff) format("woff");
     45        }
     46      </style>
     47    </defs>
     48    <!-- ====================================================================== -->
     49    <!--  3 overlapping elements in a group with opacity    -->
     50    <!-- ====================================================================== -->
     51    <g transform="scale(1.8, 1.8)">
     52      <!-- Background pattern -->
     53      <rect x="20" y="10" width="230" height="155" fill="rgb(192, 192, 192)"/>
     54      <line x1="40" y1="10" x2="40" y2="175" stroke="white" stroke-width="15"/>
     55      <line x1="70" y1="10" x2="70" y2="175" stroke="white" stroke-width="15"/>
     56      <line x1="100" y1="10" x2="100" y2="175" stroke="white" stroke-width="15"/>
     57      <line x1="130" y1="10" x2="130" y2="175" stroke="white" stroke-width="15"/>
     58      <line x1="160" y1="10" x2="160" y2="175" stroke="white" stroke-width="15"/>
     59      <line x1="190" y1="10" x2="190" y2="175" stroke="white" stroke-width="15"/>
     60      <line x1="220" y1="10" x2="220" y2="175" stroke="white" stroke-width="15"/>
     61      <line x1="250" y1="10" x2="250" y2="175" stroke="white" stroke-width="15"/>
     62      <rect x="20" y="10" width="230" height="155" fill="none" stroke="black"/>
     63      <!-- The following group, as a whole, should be rendered with a .5 opacity -->
     64      <!-- Conceptually, this means that the object is contains are first        -->
     65      <!-- rendered offscreen. Then, the offscreen is painted on the canvas with -->
     66      <!-- half opacity.                                                         -->
     67      <g opacity="0.5">
     68        <!-- The following text, rectangle and image are drawn, fully opaque, in -->
     69        <!-- the order they are defined. Therefore, none of the 'A' under the    -->
     70        <!-- rectangle should show. Neither should any of the rectangle under    -->
     71        <!-- the image.                                                          -->
     72        <text font-family="s-larabie-anglepoise, anglepoise" font-size="120" x="30" y="90">SVG</text>
     73        <rect x="70" y="55" width="130" height="70" fill="rgb(130, 0, 50)"/>
     74        <image x="162" y="75" width="80" height="80" xlink:href="../images/sign.png"/>
     75      </g>
     76    </g>
     77  </g>
     78  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
     79    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>
     80  </g>
     81  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
     82  <!-- comment out this watermark once the test is approved -->
     83  <!--<g id="draft-watermark">
     84    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
     85    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
     86      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
     87  </g>-->
     88 </svg>
     89 </body>
     90 </html>