tor-browser

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

test_bug555567.html (1072B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=555567
      5 -->
      6 <head>
      7  <title>Test for Bug 555567</title>
      8  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      9  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     10 </head>
     11 <body>
     12 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=555567">Mozilla Bug 555567</a>
     13 <div id='content' style="display: none">
     14  <form>
     15    <fieldset>
     16      <legend id="a"></legend>
     17    </fieldset>
     18    <legend id="b"></legend>
     19  </form>
     20  <legend id="c"></legend>
     21 </div>
     22 <pre id="test">
     23 <p id="display"></p>
     24 <script type="application/javascript">
     25 
     26 /** Test for Bug 555567 */
     27 
     28 var a = document.getElementById('a');
     29 var b = document.getElementById('b');
     30 var c = document.getElementById('c');
     31 
     32 isnot(a.form, null,
     33  "First legend element should have a not null form IDL attribute");
     34 is(b.form, null,
     35  "Second legend element should have a null form IDL attribute");
     36 is(c.form, null,
     37  "Third legend element should have a null form IDL attribute");
     38 
     39 </script>
     40 </pre>
     41 </body>
     42 </html>