tor-browser

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

list-style-position-024.xht (1324B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml" dir="rtl">
      3  <head>
      4   <title>CSS Test: Nested inside list markers (rtl)</title>
      5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      6   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-03-06 -->
      7   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/list/list-style-position/inside/002-demo.html" type="text/html"/>
      8   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style" />
      9   <link rel="match" href="list-style-position-024-ref.xht" />
     10 
     11   <style type="text/css">
     12    ol, li { margin: 0; padding: 0; border: 0; }
     13    li, div {
     14       color: blue;
     15       border: solid silver 0.25em;
     16       padding: 0.5em 3em 0.5em 0.5em;
     17       list-style-position: inside; }
     18    span { color: white; }  </style>
     19  </head>
     20  <body>
     21   <ol>
     22    <li>
     23     <ol>
     24      <li>
     25       <ol>
     26        <li>
     27         <span>List item text.</span>
     28        </li>
     29       </ol>
     30      </li>
     31     </ol>
     32    </li>
     33   </ol>
     34   <p dir="ltr">The above should render like the example below.</p>
     35   <div>1.
     36    <div>1.
     37     <div>
     38      1. <span>List item text.</span>
     39     </div>
     40    </div>
     41   </div>
     42  </body>
     43 </html>