tor-browser

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

counter-set-001.html (1375B)


      1 <!DOCTYPE HTML>
      2 <!--
      3     Any copyright is dedicated to the Public Domain.
      4     http://creativecommons.org/publicdomain/zero/1.0/
      5 -->
      6 <html><head>
      7  <meta charset="utf-8">
      8  <title>CSS Lists: basic tests for 'counter-set'</title>
      9  <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.org">
     10  <link rel="help" href="https://drafts.csswg.org/css-lists/#propdef-counter-set">
     11  <link rel="match" href="counter-set-001-ref.html">
     12  <style>
     13 html,body {
     14  color:black; background-color:white; font:16px/1 monospace; padding:0; margin:0;
     15 }
     16 span::before { content: counters(n, '.'); }
     17  </style>
     18 </head>
     19 <body>
     20 
     21 <span style="counter-set: n 7"></span><!-- "7" -->
     22 <span style="counter-set: n"></span><!-- "0" -->
     23 <span style="counter-set: n 8 n 7"></span><!-- "7" -->
     24 <span style="counter-set: n 6; counter-increment: n 2"></span><!-- "6" -->
     25 <span style="counter-set: n; counter-increment: n 2"></span><!-- "0" -->
     26 <x style="counter-reset: n 9">
     27  <span style="counter-set: n 2"></span><!-- "2" -->
     28 </x>
     29 <span style="counter-increment: n"></span><!-- "3" -->
     30 <x style="counter-reset: n 9">
     31  <span style="counter-set: n"></span><!-- "0" -->
     32  <span style="counter-set: n 2"></span><!-- "2" -->
     33  <x style="counter-reset: n 1">
     34    <span style="counter-set: n 5"></span><!-- "2.5" -->
     35  </x>
     36 </x>
     37 <span style="counter-increment: n"></span><!-- "3" -->
     38 
     39 </body>
     40 </html>