tor-browser

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

foo-counter-reversed-006a.html (1317B)


      1 <!doctype html>
      2 <title></title>
      3 <link rel="help" href="https://drafts.csswg.org/css-lists/#instantiating-counters">
      4 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/6738">
      5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1706346">
      6 <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
      7 <link rel="match" href="li-value-reversed-006-ref.html">
      8 <meta name="assert" content="The last counter-increment value determines the start value.">
      9 <style>
     10 :root {
     11  color:black; background-color:white; font:10px/1 monospace;
     12 }
     13 ::marker {
     14  content: counter(foo) ". ";
     15 }
     16 ol::before, li::before {
     17  content: counters(foo,".");
     18 }
     19 ol[reversed] {
     20  counter-reset: reversed(foo);
     21 }
     22 li {
     23  counter-increment: foo -1;
     24 }
     25 </style>
     26 <ol reversed>
     27 <li style="counter-increment: foo -2">
     28 <li style="counter-increment: foo -2">
     29 <li style="counter-increment: foo -2">
     30 </ol>
     31 <ol reversed>
     32 <li style="counter-increment: foo -3">
     33 <li style="counter-increment: foo -1">
     34 <li style="counter-increment: foo -8">
     35 </ol>
     36 <ol reversed>
     37 <li style="counter-increment: foo 2">
     38 <li style="counter-increment: foo 2">
     39 <li style="counter-increment: foo 2">
     40 </ol>
     41 <ol reversed>
     42 <li style="counter-increment: foo 3">
     43 <li style="counter-increment: foo 1">
     44 <li style="counter-increment: foo 8">
     45 </ol>