tor-browser

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

line-height-bleed-003.xht (1052B)


      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: Leading and half leading line heights leads to space above and below</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#leading" />
      7         <meta name="assert" content="Line-height can be different from the content area so there is space above and below." />
      8         <style type="text/css">
      9             div
     10             {
     11                 font: 0.5in/1em serif;
     12             }
     13             span
     14             {
     15                 border-bottom: 1in solid blue;
     16                 line-height: 0;
     17             }
     18         </style>
     19     </head>
     20     <body>
     21         <p>Test passes if there is space between bottom of the first line of "Fillet Text" and the blue box.</p>
     22         <div>
     23             <span>Filler Text<br />Filler Text</span>
     24         </div>
     25     </body>
     26 </html>