tor-browser

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

name-case-sensitivity.html (2573B)


      1 <!DOCTYPE html>
      2 <meta charset="UTF-8">
      3 <title>CSS Test: name case sensitivity</title>
      4 <link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
      5 <link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#typedef-counter-style-name">
      6 <link rel="match" href="name-case-sensitivity-ref.html">
      7 <style type="text/css">
      8  ol, div, p {
      9    padding: 0; margin: 0;
     10    line-height: 150%;
     11  }
     12  ol {
     13    list-style-position: inside;
     14  }
     15  li, div, p {
     16    float: left;
     17  }
     18  @counter-style decimal-leading-zero {
     19    system: extends decimal;
     20    pad: 3 '0';
     21  }
     22  @counter-style custom-style {
     23    system: cyclic;
     24    symbols: \2023;
     25  }
     26 </style>
     27 
     28 <!-- list-style -->
     29 <ol><li style="list-style: Hiragana inside;"></li></ol>
     30 <ol><li style="list-style: Decimal-Leading-Zero inside;"></li></ol>
     31 <ol><li style="list-style: custom-style inside;"></li></ol>
     32 <ol><li style="list-style: Custom-Style inside;"></li></ol>
     33 
     34 <!-- list-style-type -->
     35 <ol><li style="list-style-type: Hiragana;"></li></ol>
     36 <ol><li style="list-style-type: Decimal-Leading-Zero;"></li></ol>
     37 <ol><li style="list-style-type: custom-style;"></li></ol>
     38 <ol><li style="list-style-type: Custom-Style;"></li></ol>
     39 
     40 <!-- counter() -->
     41 <style type="text/css">
     42  #counter { counter-reset: a 1; }
     43  #counter-a::before { content: counter(a, Hiragana); }
     44  #counter-b::before { content: counter(a, Decimal-leading-Zero); }
     45  #counter-c::before { content: counter(a, custom-style); }
     46  #counter-d::before { content: counter(a, Custom-Style); }
     47 </style>
     48 <div id="counter">
     49  <p id="counter-a"></p>
     50  <p id="counter-b"></p>
     51  <p id="counter-c"></p>
     52  <p id="counter-d"></p>
     53 </div>
     54 
     55 <!-- counters() -->
     56 <style type="text/css">
     57  #counters { counter-reset: a 1; }
     58  #counters-a::before { content: counters(a, '', Hiragana); }
     59  #counters-b::before { content: counters(a, '', Decimal-leading-Zero); }
     60  #counters-c::before { content: counters(a, '', custom-style); }
     61  #counters-d::before { content: counters(a, '', Custom-Style); }
     62 </style>
     63 <div id="counters">
     64  <p id="counters-a"></p>
     65  <p id="counters-b"></p>
     66  <p id="counters-c"></p>
     67  <p id="counters-d"></p>
     68 </div>
     69 
     70 <style type="text/css">
     71  @counter-style a { system: extends HiRaGaNa; }
     72  @counter-style b { system: extends Decimal-leading-ZERO; }
     73  @counter-style c { system: extends custom-style; }
     74  @counter-style d { system: extends Custom-Style; }
     75 </style>
     76 <ol><li style="list-style-type: a;"></li></ol>
     77 <ol><li style="list-style-type: b;"></li></ol>
     78 <ol><li style="list-style-type: c;"></li></ol>
     79 <ol><li style="list-style-type: d;"></li></ol>