tor-browser

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

reversed-1b.html (408B)


      1 <!DOCTYPE html>
      2 <meta charset=utf-8>
      3 <title>Dynamically setting `reversed` should update the numbering</title>
      4 <link rel=match href="reversed-1-ref.html">
      5 <link rel=help href="https://html.spec.whatwg.org/#attr-ol-reversed">
      6 <ol id="x">
      7  <li>Three</li>
      8  <li>Two</li>
      9  <li>One</li>
     10 </ol>
     11 <script>
     12  var l = document.getElementById("x");
     13  var w = l.offsetWidth;
     14  l.setAttribute("reversed", "");
     15 </script>