tor-browser

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

vertical-align-applies-to-010.xht (1518B)


      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 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-03-03 -->
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align" />
      8         <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" />
      9         <meta name="flags" content="ahem" />
     10         <meta name="assert" content="The 'vertical-align' property does not apply 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             div
     14             {
     15                 background: orange;
     16                 color: blue;
     17                 display: list-item;
     18                 font: 50px/1 Ahem;
     19                 height: 100px;
     20                 margin-left: 2em;
     21                 vertical-align: middle;
     22                 width: 100px;
     23             }
     24         </style>
     25     </head>
     26     <body>
     27         <p>Test passes if there is a blue square in the upper-left corner of the orange square and there is a blue marker bullet on the left-hand side of the squares.</p>
     28         <div>X</div>
     29     </body>
     30 </html>