tor-browser

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

caption-side-applies-to-003.xht (1356B)


      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: Caption-side and 'display: list-item' elements</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#propdef-caption-side" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#caption-position" />
      8         <link rel="match" href="caption-side-applies-to-003-ref.html" />
      9         <meta name="assert" content="Caption-side does not apply to 'display: list-item' elements." />
     10         <style type="text/css">
     11             div
     12             {
     13                 margin-left: 2em;
     14             }
     15             span
     16             {
     17                 background: orange;
     18                 caption-side: bottom;
     19                 display: list-item;
     20             }
     21         </style>
     22     </head>
     23     <body>
     24         <p>Test passes if there are three lines of "Filler Text" below and if the middle "Filler Text" has a orange background and a marker bullet on its left-hand side. The marker bullet should not have an orange background.</p>
     25         <div>
     26             Filler Text
     27             <span>Filler Text</span>
     28             Filler Text
     29         </div>
     30     </body>
     31 </html>