tor-browser

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

inline-1.html (846B)


      1 <!DOCTYPE html>
      2 <!-- Any copyright is dedicated to the Public Domain.
      3   - http://creativecommons.org/publicdomain/zero/1.0/ -->
      4 <html>
      5  <head>
      6    <title>CSS Test: Sticky Positioning - inline</title>
      7    <link rel="author" title="Corey Ford" href="mailto:cford@mozilla.com">
      8    <link rel="match" href="inline-1-ref.html">
      9    <meta name="assert" content="Sticky positioning on inline elements should use the bounding box of all continuations">
     10    <link rel="stylesheet" type="text/css" href="ahem.css">
     11    <style>
     12      #scroll {
     13        overflow: hidden;
     14        height: 200px;
     15        font: 10px/1 Ahem;
     16      }
     17      #sticky {
     18        position: sticky;
     19        top: 20px;
     20        left: 20px;
     21      }
     22    </style>
     23  </head>
     24  <body>
     25    <div id="scroll">
     26      hello <span id="sticky">there<br>everyone</span>
     27    </div>
     28  </body>
     29 </html>