tor-browser

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

change-list-style-position-003.html (579B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Lists: test the change of list-style-position</title>
      4 <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
      5 <link rel="match" href="change-list-style-position-003-ref.html">
      6 <link rel="help" href="https://www.w3.org/TR/CSS22/generate.html#lists">
      7 <style>
      8 div {
      9  border: 5px solid orange;
     10  display: list-item;
     11  margin-left: 40px;
     12 }
     13 div > div {
     14  list-style-type: decimal;
     15 }
     16 </style>
     17 <div><div>text</div></div>
     18 <script>
     19 document.body.offsetHeight;
     20 document.body.style.listStylePosition = "inside";
     21 </script>