<!doctype html>
<html class="reftest-wait">
<title>Ensure images from available images list are rendered</title>
<meta charset="utf-8">
<link rel="match" href="available-images-ref.html">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-img-element">
<div id="log"></div>
<script>
  var i = new Image();
  i.onload = function() {
    var i2 = new Image();
    i2.src = "3.jpg";
    document.body.appendChild(i2);
    document.documentElement.classList.remove("reftest-wait");
  };
  i.src = "3.jpg";
</script>
