1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:17:35 +00:00

LibWeb: Implement HTMLImageElement.complete

This was fairly straightforward, although a small part had to be ad-hoc
since we don't yet load images through Fetch.

With this, we can now see annotation labels on deskto.ps :^)
This commit is contained in:
Andreas Kling 2022-10-03 14:54:27 +02:00
parent 9749eda09f
commit 0455af4441
3 changed files with 27 additions and 0 deletions

View file

@ -18,4 +18,6 @@ interface HTMLImageElement : HTMLElement {
readonly attribute unsigned long naturalWidth;
readonly attribute unsigned long naturalHeight;
readonly attribute boolean complete;
};