tor-browser

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

vertical-align-119.xht (1524B)


      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: Vertical-align with a keyword, 'top'</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" />
      8         <meta name="flags" content="ahem" />
      9         <meta name="assert" content="The 'vertical-align' property sets the keyword 'top'." />
     10         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     11         <style type="text/css">
     12             div
     13             {
     14                 font: 0.5in/1em Ahem;
     15                 position: relative;
     16             }
     17             #div3
     18             {
     19                 position: absolute;
     20                 top: 0;
     21             }
     22             #span1
     23             {
     24                 color: red;
     25                 vertical-align: top;
     26             }
     27             #span2
     28             {
     29                 font: 1.5in/1em Ahem;
     30             }
     31         </style>
     32     </head>
     33     <body>
     34         <p>Test passes if there is a small and large box on the page and there is no red visible on the page.</p>
     35         <div id="div1">
     36             <div id="div2">
     37                 <span id="span1">X</span><span id="span2">X</span>
     38             </div>
     39             <div id="div3">X</div>
     40         </div>
     41     </body>
     42 </html>