tor-browser

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

abspos-float-with-inline-container.html (603B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://drafts.csswg.org/css2/visudet.html" />
      3 <link rel="match" href="abspos-float-with-inline-container-ref.html" />
      4 <meta name="assert" content="A inline-level element can contain a absolute-positioned child within a float." />
      5 <style>
      6 #abs {
      7  position: absolute;
      8  top: 0;
      9  left: 0;
     10  right: 0;
     11  height: 100px;
     12  background: green;
     13 }
     14 #float { float: left; }
     15 span {
     16  position: relative;
     17  padding-left: 100px;
     18 }
     19 </style>
     20 <p>Test passes if there is green square.</p>
     21 <div>
     22  <span>
     23    <div id="float">
     24      <div id="abs"></div>
     25    </div>
     26  </span>
     27 </div>