tor-browser

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

grid-with-dynamic-img.html (641B)


      1 <!DOCTYPE HTML>
      2 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1127715">
      3 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
      4 <p>Test passes if there is a filled green square.</p>
      5 <div style="display: grid; width: 100px;">
      6  <div style="display: grid; margin: auto;">
      7    <img id="target" style="max-width: 100%; max-height: 100%;">
      8  </div>
      9 </div>
     10 <script>
     11 document.body.offsetTop;
     12 document.getElementById('target').src = 'data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" fill="green"></rect></svg>';
     13 </script>