tor-browser

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

list-style-016.xht (1212B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3     <head>
      4         <title>CSS Test: List-style inheriting a single value</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-list-style" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style" />
      8         <meta name="assert" content="The shorthand property 'list-style' set to 'inherit' inherits a single value from the parent." />
      9         <style type="text/css">
     10             body
     11             {
     12                 margin: 50px;
     13             }
     14             div
     15             {
     16                 list-style: square;
     17             }
     18             span
     19             {
     20                 display: list-item;
     21                 list-style: disc;
     22             }
     23             div span
     24             {
     25                 list-style: inherit;
     26             }
     27         </style>
     28     </head>
     29     <body>
     30         <p>Test passes if the text below has a square bullet.</p>
     31         <div>
     32             <span>Filler Text</span>
     33         </div>
     34     </body>
     35 </html>