mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +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:
parent
9749eda09f
commit
0455af4441
3 changed files with 27 additions and 0 deletions
|
@ -40,6 +40,9 @@ public:
|
|||
unsigned natural_width() const;
|
||||
unsigned natural_height() const;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-complete
|
||||
bool complete() const;
|
||||
|
||||
private:
|
||||
HTMLImageElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue