Update WPT tests for embedded content
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / html / semantics / embedded-content / the-img-element / available-images.html
1 <!doctype html>
2 <html class="reftest-wait">
3 <title>Ensure images from available images list are rendered</title>
4 <meta charset="utf-8">
5 <link rel="match" href="available-images-ref.html">
6 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-img-element">
7 <div id="log"></div>
8 <script>
9   var i = new Image();
10   i.onload = function() {
11     var i2 = new Image();
12     i2.src = "3.jpg";
13     document.body.appendChild(i2);
14     document.documentElement.classList.remove("reftest-wait");
15   };
16   i.src = "3.jpg";
17 </script>