summaryrefslogtreecommitdiffstats
path: root/layout/reftests/image/moz-broken-matching-lazy-load.html
blob: 696560ac5c99bc0bde1d01bc6c4343450e98bb57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html class="reftest-wait">
<style>
  :-moz-broken {
    border: 10px solid green;
  }
</style>
<!--
  We need to wait for an error event since we consider lazy load images are NOT
  broken initially until loaded.
-->
<img loading="lazy" src="nosuch:url" onerror="document.documentElement.className=''">
</html>