tor-browser

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

image-items-flake-001.html (985B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
      3 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#content-size-suggestion">
      4 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      5 <meta name="assert" content="Chrome had a bug https://crbug.com/1042329 where min-height:auto was not updated after an image load when the image has a specified height and width.">
      6 
      7 <style>
      8 #reference-overlapped-red {
      9  position: absolute;
     10  background-color: red;
     11  width: 100px;
     12  height: 100px;
     13  z-index: -1;
     14 }
     15 </style>
     16 
     17 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     18 <div id="reference-overlapped-red"></div>
     19 
     20 <div style="display: flex; flex-direction: column; height: 5px">
     21  <img style="width: 100px; height: 100px;" src="support/200x200-green.png">
     22  <script>
     23    document.body.offsetTop;
     24    // This test relies on the harness screenshotting after the image has loaded.
     25  </script>
     26 </div>