Bug 1900094 - Add telemetry for impressions missing due to domain-to-categories map...
[gecko.git] / layout / reftests / image / image-srcset-default-1x.html
blob9cb108ccc0c5788528906330319badec6d9b3e1e
2 <!DOCTYPE html>
3 <html reftest-zoom="1" class="reftest-wait">
4 <head>
6 <script type="application/javascript">
7 // reftest-zoom is only applied at onload, so ensure the source-selection
8 // has happened after that
9 function clearWait() {
10 document.documentElement.classList.remove("reftest-wait");
12 window.addEventListener("load", function() {
13 setTimeout(function() {
14 var img = document.querySelector("img");
15 img.onload = clearWait;
16 img.onerror = clearWait;
17 img.src = img.src;
18 }, 0);
19 });
20 </script>
21 </head>
22 <body>
23 <img srcset="200.png 2x, 100.png" src="50.png">
24 <p>Test default source in sourceset, src should be ignored</p>
25 </body>
26 </html>