tor-browser

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

linking-uri-02-b-isvalid.html (5569B)


      1 <!DOCTYPE html>
      2 <html lang='en'>
      3 <head>
      4 <title>linking-uri-02-b-manual.svg</title>
      5 <meta charset='utf-8'>
      6 </head>
      7 <body>
      8 <h1>Source SVG: linking-uri-02-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: linking-uri-02-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 x="50" y="16" font-size="12">Link test of the 'view' element and its attributes, 2 of 2, external.</text>
     32    <g font-size="14">
     33      <g transform="translate(-150,75)">
     34        <rect x="300" y="55" width="125" height="85" fill="#aaa"/>
     35        <a xlink:href="../images/linking-uri-01-b.svg#rect-view">
     36          <text x="310" y="70" fill="purple">Go to Rectangle</text>
     37        </a>
     38        <a xlink:href="../images/linking-uri-01-b.svg#ellipse-view">
     39          <text x="310" y="90" fill="blue">Go to Ellipse</text>
     40        </a>
     41        <a xlink:href="../images/linking-uri-01-b.svg#circle-view">
     42          <text x="310" y="110" fill="yellow">Go to Circle</text>
     43        </a>
     44        <a xlink:href="../images/linking-uri-01-b.svg#polygon-view">
     45          <text x="310" y="130" fill="green">Go to Polygon</text>
     46        </a>
     47        <text x="310" y="150" font-size="12">Click element's line</text>
     48        <text x="310" y="162" font-size="12">to link to its view in</text>
     49        <text x="310" y="174" font-size="12">linking-uri-01-b.</text>
     50      </g>
     51 
     52      <!-- In linking-uri-01-b, there is the following 'view' element. -->
     53      <!-- View with no attributes.  Picture should not change. -->
     54      <!-- <view id="rect-view" /> -->
     55      <rect id="rect-object" fill="purple" x="295" y="36" width="135" height="68"/>
     56      <text id="rect-label" x="362.5" y="116" text-anchor="middle">Rectangle</text>
     57      <rect x="292" y="29" width="141" height="91" fill="none" stroke="black"/>
     58      <text x="362.5" y="132" font-size="10" text-anchor="middle">No view attributes except id.</text>
     59      <!-- In linking-uri-01-b, there is the following 'view' element. -->
     60      <!-- Test viewBox.  Should blow-up the ellipse in the frame. -->
     61      <!-- <view id="ellipse-view" viewBox="295 216 150 82"/> -->
     62      <ellipse id="ellipse-object" fill="blue" cx="370" cy="251" rx="72" ry="32"/>
     63      <text id="ellipse-label" x="370" y="295" text-anchor="middle">Ellipse</text>
     64      <rect x="295" y="216" width="150" height="82" fill="none" stroke="black"/>
     65      <text x="370" y="212" font-size="10" text-anchor="middle">viewBox, should fill frame.</text>
     66      <!-- In linking-uri-01-b, there is the following 'view' element. -->
     67      <!-- Test preserveAspectRatio. -->
     68      <!-- <view id="circle-view" viewBox="20 29 128 91.5" preserveAspectRatio="none"/> -->
     69      <circle id="circle-object" fill="yellow" cx="85" cy="68" r="36"/>
     70      <text id="circle-label" x="85" y="116" text-anchor="middle">Circle</text>
     71      <rect x="36" y="29" width="98" height="91" fill="none" stroke="black"/>
     72      <text x="85" y="130" font-size="10" text-anchor="middle">viewBox &amp; non-uniform</text>
     73      <text x="85" y="139" font-size="10" text-anchor="middle">preserveAspectRatio</text>
     74      <!-- In linking-uri-01-b, there is the following 'view' element. -->
     75      <!-- Test viewTarget attribute, no change to the viewport. -->
     76      <!-- <view id="polygon-view" viewTarget="polygon-object" /> -->
     77      <polygon id="polygon-object" fill="green" points="87,211 134,238 116,283 57,283 39,238 87,211"/>
     78      <text id="polygon-label" x="85" y="295" text-anchor="middle">Polygon</text>
     79      <rect x="36" y="208" width="100" height="89" fill="none" stroke="black"/>
     80      <text x="85" y="195" font-size="10" text-anchor="middle">viewTarget, no</text>
     81      <text x="85" y="204" font-size="10" text-anchor="middle">changes to viewport</text>
     82    </g>
     83  </g>
     84  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
     85    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.10 $</text>
     86  </g>
     87  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
     88  <!-- comment out this watermark once the test is approved -->
     89  <!--<g id="draft-watermark">
     90    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
     91    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
     92      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
     93  </g>-->
     94 </svg>
     95 </body>
     96 </html>