tor-browser

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

contain-intrinsic-size-002-ref.html (471B)


      1 <!doctype html>
      2 <meta charset="utf8">
      3 <title>CSS contain-intrinsic-size: div with max-content parent</title>
      4 <link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
      5 <link rel="help" href="https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override">
      6 
      7 <style>
      8 #border {
      9  width: max-content;
     10  border: 1px solid black;
     11 }
     12 #target {
     13  background: lightblue;
     14  width: 111px;
     15  height: 222px;
     16 }
     17 </style>
     18 
     19 <div id=border>
     20  <div id=target></div>
     21 </div>