tor-browser

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

floats-036.xht (1172B)


      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: Floated left and aligned with current line box</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
      7         <link rel="match" href="floats-036-ref.xht" />
      8 
      9         <meta name="assert" content="A floated elements top edge will be aligned with the top of a line box." />
     10         <style type="text/css">
     11             /* Disable kerning because kerning may differ for different node tree. */
     12             html { font-kerning: none; font-feature-settings: "kern" off; }
     13             div
     14             {
     15                 width: 5in;
     16             }
     17             #span1
     18             {
     19                 float: left;
     20             }
     21         </style>
     22     </head>
     23     <body>
     24         <p>Test passes if the "Filler Text" below is all on the same line.</p>
     25         <div>
     26             <span>Filler Text</span>
     27             <span id="span1">Filler Text</span>
     28         </div>
     29     </body>
     30 </html>