tor-browser

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

new-fc-beside-float-with-min-width.html (767B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com" />
      3 <link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#bfc-next-to-float" title="9.5 Floats">
      4 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      5 <meta name="assert" content="#bfc should be 50px wide, not just 25px as per its min-width">
      6 <style>
      7 #wrapper {
      8  width: 100px;
      9  height: 100px;
     10  background: red;
     11 }
     12 #float {
     13  float: left;
     14  width: 50px;
     15  height: 100px;
     16  background: green;
     17 }
     18 #bfc {
     19  overflow: hidden;
     20  height: 100px;
     21  min-width: 25px;
     22  background: green;
     23 }
     24 </style>
     25 
     26 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     27 <div id="wrapper">
     28  <div id="float"></div>
     29  <div id="bfc"></div>
     30 </div>