diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-24 13:11:04 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-24 13:12:14 +0200 |
commit | ea451cea6a53362e4d8143cbcf96007416e11c36 (patch) | |
tree | 5bcb91668b237bf6d1203f86d4cbc7ef00a52d66 /Libraries | |
parent | 3eff6024b112c66754b2f8cc46bc7720462f6993 (diff) | |
download | serenity-ea451cea6a53362e4d8143cbcf96007416e11c36.zip |
LibWeb: Add HTMLImageElement.src and HTMLImageElement.alt
These are reflecting attributes! :^)
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibWeb/DOM/HTMLImageElement.idl | 3 |
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; + } |