tor-browser

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

line-height-014.xht (1533B)


      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: Line-height using points with a minimum plus one value, 1pt</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-line-height" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" />
      8 
      9         <meta name="flags" content="96dpi ahem" />
     10         <meta name="assert" content="The 'line-height' property sets a minimum plus one length value in points." />
     11         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12         <style type="text/css">
     13             div
     14             {
     15                 font: 20px/1 Ahem;
     16                 position: relative;
     17                 width: 1em;
     18             }
     19             #div2, #div3
     20             {
     21                 background: black;
     22             }
     23             #div2
     24             {
     25                 line-height: 1pt;
     26             }
     27             #div3
     28             {
     29                 height: 21px;
     30                 left: 1.1em;
     31                 position: absolute;
     32                 top: -9px;
     33             }
     34         </style>
     35     </head>
     36     <body>
     37         <p>Test passes if the 2 small black squares have the <strong>same height</strong>.</p>
     38         <div id="div1">
     39             <div id="div2">X X</div>
     40             <div id="div3"></div>
     41         </div>
     42     </body>
     43 </html>