tor-browser

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

replaced-content-image.html (530B)


      1 <!DOCTYPE html>
      2 <body>
      3 <script src="/resources/testharness.js"></script>
      4 <script src="/resources/testharnessreport.js"></script>
      5 <script src="resources/utils.js"></script>
      6 <style>
      7  img {
      8    content: url(resources/circle.svg);
      9  }
     10 </style>
     11 <img></img>
     12 <script>
     13 setup({"hide_test_state": true});
     14 promise_test(async t => {
     15  const onload = new Promise(r => window.addEventListener('load', r));
     16  await onload;
     17  return assertFirstContentfulPaint(t);
     18 }, 'Replaced content image triggers First Contentful Paint.');
     19 </script>
     20 </body>