From ea451cea6a53362e4d8143cbcf96007416e11c36 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 24 Jul 2020 13:11:04 +0200 Subject: [PATCH] LibWeb: Add HTMLImageElement.src and HTMLImageElement.alt These are reflecting attributes! :^) --- Libraries/LibWeb/DOM/HTMLImageElement.idl | 3 +++ 1 file changed, 3 insertions(+) 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; + }