tor-browser

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

struct-dom-19-f-novalid.html (3065B)


      1 <!DOCTYPE html>
      2 <html lang='en'>
      3 <head>
      4 <title>struct-dom-19-f-manual.svg</title>
      5 <meta charset='utf-8'>
      6 </head>
      7 <body>
      8 <h1>Source SVG: struct-dom-19-f-manual.svg</h1>
      9 <svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
     10  <!--======================================================================-->
     11  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->
     12  <!--=  Institute of Technology, European Research Consortium for         =-->
     13  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
     14  <!--=  All Rights Reserved.                                              =-->
     15  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
     16  <!--======================================================================-->
     17  
     18  <title id="test-title">$RCSfile: struct-dom-19-f.svg,v $</title>
     19  <defs>
     20    <font-face
     21      font-family="SVGFreeSansASCII"
     22      unicode-range="U+0-7F">
     23      <font-face-src>
     24        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
     25      </font-face-src>
     26    </font-face>
     27  </defs>
     28  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
     29    <rect id="testElem" />
     30    <use xlink:href="#testElem" id="testUse1" />
     31    <use xlink:href="#testUse1" id="testUse2" />
     32    <g transform="translate(100,100)" font-size="80">
     33      <text id="failText" fill="red">FAIL</text>
     34      <text id="passText" fill="green" display="none">PASS</text>
     35    </g>
     36    <script><![CDATA[
     37        try
     38        {
     39            var passedCount = 0;
     40            var testInstanceRoot1 = document.getElementById("testUse1").instanceRoot;
     41            var testInstanceRoot2 = document.getElementById("testUse2").instanceRoot;
     42 
     43            if (0 == testInstanceRoot1.childNodes.length)
     44            {
     45                passedCount++;
     46            }
     47 
     48            if (1 == testInstanceRoot2.childNodes.length)
     49            {
     50                passedCount++;
     51            }
     52 
     53            if (2 == passedCount)
     54            {
     55                document.getElementById("failText").setAttribute("display", "none");
     56                document.getElementById("passText").setAttribute("display", "inline");
     57            }
     58        }
     59        catch(ex)
     60        {
     61 
     62          //alert('ERROR: ' + ex.message);
     63 
     64        }]]>
     65    </script>
     66  </g>
     67  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
     68    <text id="revision" x="10" y="340" stroke="none"
     69      fill="black">$Revision: 1.3 $</text>
     70  </g>
     71  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
     72  <!-- comment out this watermark once the test is approved -->
     73  <g id="draft-watermark">
     74    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
     75    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
     76      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
     77  </g>
     78 </svg>
     79 </body>
     80 </html>