tor-browser

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

counter-list-item-slot-order-ref.html (504B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>HTML LI element: counter order with Shadow DOM and SLOT</title>
      5    <link rel="author" title="Martin Robinson" href="mailto:mrobinson@igalia.com">
      6    <link rel="help" href="https://www.w3.org/TR/css-lists-3/#inheriting-counters">
      7    <style>
      8      li::before { content: counters(list-item,'.') ' '; }
      9    </style>
     10  </head>
     11  <body>
     12 
     13    <ol>
     14    <li>One</li>
     15    <li>Two</li>
     16      <ol>
     17        <li>Two Point One</li>
     18      </ol>
     19    </ol>
     20 
     21  </body>
     22 </html>