tor-browser

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

test_bug589.html (1017B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=589
      5 -->
      6 <head>
      7  <title>Test for Bug 589</title>
      8  <script src="/tests/SimpleTest/SimpleTest.js"></script>        
      9  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
     10 
     11 <style type="text/css">
     12 .letters {list-style-type: upper-alpha;}
     13 .numbers {list-style-type: decimal;}
     14 </style>
     15 
     16 </head>
     17 <body>
     18 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=589">Mozilla Bug 589</a>
     19 <p id="display"></p>
     20 <div id="content" >
     21 
     22 <OL id="thelist" class="letters">
     23 <LI id="liA">This list should feature...
     24 <LI id="liB">...letters for each item...
     25 <LI id="li3" class="numbers">...except this one.
     26 </OL>
     27  
     28 </div>
     29 <pre id="test">
     30 <script class="testbody" type="text/javascript">
     31 
     32 /** Test for Bug 589 */
     33 
     34 is(computedStyle($("liA"),"list-style-type"),"upper-alpha");
     35 is(computedStyle($("liB"),"list-style-type"),"upper-alpha");
     36 is(computedStyle($("li3"),"list-style-type"),"decimal");
     37 
     38 </script>
     39 </pre>
     40 </body>
     41 </html>