gecko-dev/layout/reftests/image/moz-broken-matching-lazy-lo...

14 строки
328 B
HTML

<!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>