tor-browser

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

counter-set-002.html (892B)


      1 <!DOCTYPE html>
      2 <!--
      3     Any copyright is dedicated to the Public Domain.
      4     http://creativecommons.org/publicdomain/zero/1.0/
      5 -->
      6 <html><head>
      7  <meta charset="utf-8">
      8  <title>CSS Lists: dynamic update test for 'counter-set'</title>
      9  <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.org">
     10  <link rel="help" href="https://drafts.csswg.org/css-lists/#propdef-counter-set">
     11  <link rel="match" href="counter-set-002-ref.html">
     12 </head>
     13 <body>
     14 <noscript>Test not run - javascript required.</noscript>
     15 <ol>
     16 <li></li>
     17 <li id="item" style="counter-increment: list-item 3"></li>
     18 <li></li>
     19 <style>
     20 .f {
     21  display: list-item;
     22 }
     23 </style>
     24 <fieldset id="item4" class="f" style="counter-set: list-item 42"></fieldset>
     25 <li></li>
     26 </ol>
     27 
     28 <script>
     29 document.body.offsetTop;
     30 document.getElementById('item').style= '';
     31 document.getElementById('item4').style= '';
     32 </script>
     33 </body>
     34 </html>