tor-browser

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

list-style-020.xht (2209B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3  <head>
      4   <title>CSS Test: 'list-style' shorthand and 'none' values</title>
      5   <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/"/>
      6   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#tokenization"/>
      7   <link rel="match" href="list-style-020-ref.xht"/>
      8   <meta name="assert" content=""/>
      9   <style type="text/css">
     10     /* For better readability */
     11     .li {
     12       font-size: 1.5em;
     13       color: blue;
     14     }
     15     span {
     16       color: black;
     17       font-size: 0.67em;
     18       vertical-align: middle;
     19       padding-left: 0.2em;
     20     }
     21 
     22     .li {
     23       display: list-item;
     24       list-style: disc;
     25       margin: 0.2em 0 0.2em 4em;
     26       border-left: solid thin orange;
     27     }
     28 
     29     .one   { list-style: none; color: red; }
     30     .two   { list-style: none none; color: red; }
     31     .three { list-style: none square; }
     32     .four  { list-style: square none; }
     33     .five  { list-style: url(support/diamond.png) none; }
     34     .six   { list-style: none url(support/diamond.png); }
     35     .seven { list-style: none url(support/swatch-red.png) none;
     36              list-style: url(support/swatch-red.png) none none;
     37              list-style: none none url(support/swatch-red.png);
     38              list-style: none square none;
     39              list-style: square none none;
     40              list-style: none none square;
     41              list-style: square url(support/swatch-red.png) none;
     42              list-style: url(support/swatch-red.png) none square;
     43              list-style: none square url(support/swatch-red.png);
     44            }
     45 
     46   </style>
     47  </head>
     48  <body>
     49    <p>Test passes if each word on the right of the orange line
     50     describes the shape on the left.</p>
     51 
     52    <div class="li one"><span>(nothing)</span></div>
     53    <div class="li two"><span>(nothing)</span></div>
     54    <div class="li three"><span>blue square</span></div>
     55    <div class="li four"><span>blue square</span></div>
     56    <div class="li five"><span>purple diamond</span></div>
     57    <div class="li six"><span>purple diamond</span></div>
     58    <div class="li seven"><span>blue circle</span></div>
     59 
     60  </body>
     61 </html>