summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl
diff options
context:
space:
mode:
authorIgor Pissolati <igo08an@hotmail.com>2022-04-12 13:20:43 -0300
committerAndreas Kling <kling@serenityos.org>2022-04-12 19:42:16 +0200
commite5d978af9f72684c90fbe51b68adf42dc4c7c416 (patch)
treee4f8ca8d2ccb158a28618cbdf0bec886cf6ac9f5 /Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl
parent682a4a347a616c758be7ebd59570eb45e33facf6 (diff)
downloadserenity-e5d978af9f72684c90fbe51b68adf42dc4c7c416.zip
LibWeb: Bring HTMLImageElement closer to spec
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl
index f805d45036..5b759c9509 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl
@@ -15,5 +15,7 @@ interface HTMLImageElement : HTMLElement {
[CEReactions] attribute unsigned long width;
[CEReactions] attribute unsigned long height;
+ readonly attribute unsigned long naturalWidth;
+ readonly attribute unsigned long naturalHeight;
};