tor-browser

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

change-list-style-position-001.html (585B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Lists: test the change of list-style-position</title>
      4 <link rel=help href="https://www.w3.org/TR/CSS22/generate.html#lists">
      5 <link rel=match href="change-list-style-position-001-ref.html">
      6 
      7 <p>The test passes if you see the list marker followed by the text "inline" and "axxx" in a line below.</p>
      8 
      9 <ul>
     10  <li>
     11    <span>inline</span>
     12    <div style="overflow:hidden;">
     13      <span>a</span>xxx
     14    </div>
     15  </li>
     16 </ul>
     17 <script>
     18  document.body.offsetHeight;
     19  document.querySelector("li").style.listStylePosition = "inside";
     20 </script>