tor-browser

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

list-style-position-inside-002.xht (974B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
      2                       "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4  <head>
      5   <title>CSS Test: inside list-item marker position wrt :before and :after</title>
      6   <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
      7   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style"/>
      8   <meta name="assert" content="The list-item marker is on the right side for an
      9         RTL item and on the left side for an LTR one."/>
     10   <style type="text/css">
     11     ul, li {
     12       margin: 0;
     13       padding: 0;
     14       color: blue;
     15       font: bold larger monospace;
     16     }
     17     li {
     18       list-style: inside decimal;
     19     }
     20     li:before {
     21       content: "2";
     22     }
     23     li:after {
     24       content: "4";
     25     }
     26   </style>
     27  </head>
     28  <body>
     29   <p>The numbers [1, 2, 3, 4] below must be in ascending order.</p>
     30   <ul>
     31     <li>3</li>
     32   </ul>
     33  </body>
     34 </html>