tor-browser

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

overflow-applies-to-011.xht (1330B)


      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 'run-in'</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#propdef-overflow" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#overflow" />
      8         <meta name="flags" content="ahem" />
      9         <meta name="assert" content="The 'overflow' property applies to elements with 'display' set to 'run-in'." />
     10         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     11         <style type="text/css">
     12             div
     13             {
     14                 border: 5px solid transparent;
     15                 color: white;
     16                 display: run-in;
     17                 font: 20px/1em Ahem;
     18                 height: 5em;
     19                 overflow: hidden;
     20                 width: 5em;
     21             }
     22             #span2
     23             {
     24                 color: red;
     25             }
     26         </style>
     27     </head>
     28     <body>
     29         <p>Test passes if there is no red visible on the page.</p>
     30         <div><span>XXXXX</span><span id="span2">XXXXX</span></div>
     31     </body>
     32 </html>