tor-browser

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

overflow-applies-to-010.xht (1623B)


      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: overflow applied to elements with 'display' set to 'list-item'</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-08-09 -->
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#propdef-overflow" />
      8         <link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#overflow" />
      9         <meta name="flags" content="ahem" />
     10         <meta name="assert" content="The 'overflow' property applies to elements with 'display' set to 'list-item'." />
     11         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12         <style type="text/css">
     13             body
     14             {
     15                 margin-left: 50px;
     16             }
     17             div
     18             {
     19                 border: 5px solid transparent;
     20                 display: list-item;
     21                 font: 20px/1em Ahem;
     22                 height: 5em;
     23                 overflow: hidden;
     24                 width: 5em;
     25             }
     26             #span2
     27             {
     28                 color: red;
     29             }
     30         </style>
     31     </head>
     32     <body>
     33         <p>Test passes if there is a short black bar and <strong>no red</strong>. To the left of the bar, there can be a list marker but it is not required.</p>
     34         <div><span>XXXXX</span><span id="span2">XXXXX</span></div>
     35     </body>
     36 </html>