tor-browser

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

flex-item-content-is-min-width-max-content.html (637B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes">
      3 <link rel="match" href="flex-item-content-is-min-width-max-content-ref.html">
      4 <meta name="assert" content="This checks that flex item is sized correctly when its content has min-width: max-content">
      5 <link rel="stylesheet" href="/fonts/ahem.css">
      6 <style>
      7 .flex {
      8  width: 0px;
      9  display: flex;
     10  font-family: Ahem;
     11  font-size: 20px;
     12 }
     13 
     14 .flex_item {
     15  background-color: green;
     16 }
     17 
     18 .content {
     19  min-width: max-content;
     20  color: transparent;
     21 }
     22 </style>
     23 <div class=flex>
     24  <div class=flex_item>
     25    <div class=content>X X X</div>
     26  </div>
     27 </div>