tor-browser

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

line-height-quirks-mode.html (796B)


      1 <!-- quirks mode -->
      2 <html>
      3 <head>
      4  <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
      5  <link rel="help" href="https://quirks.spec.whatwg.org/#the-line-height-calculation-quirk">
      6  <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1686326">
      7  <link rel="match" href="line-height-ref.html">
      8  <meta name="assert" content="The test passes if the blue box has no scrollbar and you see the word PASS">
      9 <style>
     10 html,body {
     11  color:black; background-color:white; font:20px/1 monospace; padding:0; margin:0;
     12 }
     13 
     14 .wrapper {
     15  overflow: auto;
     16  border: solid blue;
     17 }
     18 </style>
     19 </head>
     20 <body>
     21  <div class="wrapper">
     22    <div style="border:50px solid lightgrey"></div>
     23    <span style="margin-top: -100px; display: inline-block">PASS</span>
     24  </div>
     25 </body>
     26 </html>