summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-07-24 13:11:04 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-24 13:12:14 +0200
commitea451cea6a53362e4d8143cbcf96007416e11c36 (patch)
tree5bcb91668b237bf6d1203f86d4cbc7ef00a52d66 /Libraries
parent3eff6024b112c66754b2f8cc46bc7720462f6993 (diff)
downloadserenity-ea451cea6a53362e4d8143cbcf96007416e11c36.zip
LibWeb: Add HTMLImageElement.src and HTMLImageElement.alt
These are reflecting attributes! :^)
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibWeb/DOM/HTMLImageElement.idl3
1 files changed, 3 insertions, 0 deletions
diff --git a/Libraries/LibWeb/DOM/HTMLImageElement.idl b/Libraries/LibWeb/DOM/HTMLImageElement.idl
index 7d48693da3..4b1edafd5f 100644
--- a/Libraries/LibWeb/DOM/HTMLImageElement.idl
+++ b/Libraries/LibWeb/DOM/HTMLImageElement.idl
@@ -1,3 +1,6 @@
interface HTMLImageElement : HTMLElement {
+ [Reflect] attribute DOMString src;
+ [Reflect] attribute DOMString alt;
+
}