tor-browser

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

coords-dom-02-f-novalid.html (2819B)


      1 <!DOCTYPE html>
      2 <html lang='en'>
      3 <head>
      4 <title>coords-dom-02-f-manual.svg</title>
      5 <meta charset='utf-8'>
      6 </head>
      7 <body>
      8 <h1>Source SVG: coords-dom-02-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: coords-dom-02-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    
     33    <g transform="translate(220 160)">
     34      <g id="reference">
     35        <circle r="41" fill="red" transform="translate(20 20) scale(2 1)"/>
     36      </g>
     37    
     38      <g id="g" transform="translate(20 20)">
     39        <circle id="c" r="41" fill="blue"/>
     40      </g>
     41    </g>   
     42    
     43    <script type="text/ecmascript"><![CDATA[
     44      var passed = false;
     45      
     46      try
     47      {
     48        var g = document.getElementById("g");
     49        var c = document.getElementById("c");
     50        var tfm = g.transform.baseVal.getItem(0);
     51        var mtx = tfm.matrix;
     52        mtx.a = 2;
     53        if(tfm.type == SVGTransform.SVG_TRANSFORM_MATRIX)
     54        {
     55          passed = true;
     56        }
     57      }
     58      catch(e) {}
     59      
     60      if(passed)
     61      {
     62        c.setAttribute("fill", "lime");
     63      }
     64      else
     65      {
     66        c.setAttribute("fill", "red");
     67      }
     68    ]]></script>
     69        
     70  </g>
     71  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
     72  <text id="revision" x="10" y="340" stroke="none" 
     73    fill="black">$Revision: 1.9 $</text>
     74  </g>
     75  <rect xml:id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
     76  <!-- comment out this watermark once the test is approved --><!--
     77  <g id="draft-watermark">
     78    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
     79    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 
     80      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
     81  </g>-->
     82 </svg>
     83 </body>
     84 </html>