mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
19 lines
407 B
HTML
19 lines
407 B
HTML
<img id="testImg">
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
const img = document.getElementById('testImg');
|
|
|
|
println(`loading = ${img.loading}`);
|
|
println('');
|
|
|
|
img.loading = 'lazy';
|
|
|
|
println(`loading = ${img.loading}`);
|
|
println('');
|
|
|
|
img.loading = 'invalid-value';
|
|
println(`loading = ${img.loading}`);
|
|
});
|
|
</script>
|