tor-browser

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

nested-flex-image-loading-invalidates-intrinsic-sizes.html (819B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com">
      6 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/">
      7 <meta name="assert" content="Loaded image correctly invalidates intrinsic widths of its ancestor chain so that it can be recomputed in flex layout">
      8 <link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html">
      9 <style>
     10 .flexbox {
     11  display: flex;
     12 }
     13 .green-border {
     14  border: 20px solid green;
     15 }
     16 .img {
     17  max-width: 100%;
     18  max-height: 100%;
     19 }
     20 </style>
     21 </head>
     22 <body>
     23  <p>Test passes if there is a filled green square.</p>
     24  <div class="flexbox">
     25    <div>
     26      <div class="flexbox green-border">
     27        <img src="/css/support/60x60-green.png" class="img">
     28      </div>
     29    </div>
     30  </div>
     31 </body>
     32 </html>