tor-browser

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

list-style-image-applies-to-015.xht (1666B)


      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-image applied to elements with 'display' set to 'table-caption'</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-image" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style" />
      8         <meta name="flags" content="image" />
      9         <link rel="match" href="list-style-image-applies-to-ref-1.html" />
     10         <meta name="assert" content="The 'list-style-image' property applies to elements with 'display' set to 'table-caption'." />
     11         <style type="text/css">
     12             #test
     13             {
     14                 display: table-caption;
     15                 list-style-image: url('support/blue15x15.png');
     16             }
     17             #table
     18             {
     19                 display: table;
     20                 margin-left: 1in;
     21             }
     22             #row
     23             {
     24                 display: table-row;
     25             }
     26             #cell
     27             {
     28                 display: table-cell;
     29             }
     30             #test div
     31             {
     32                 display: list-item;
     33             }
     34         </style>
     35     </head>
     36     <body>
     37         <p>Test passes if there is a single blue square below.</p>
     38         <div id="table">
     39             <div id="test">
     40                 <div></div>
     41             </div>
     42             <div id="row">
     43                 <div id="cell"></div>
     44             </div>
     45         </div>
     46     </body>
     47 </html>