From 18d99919be24558d9e364369873af545801145c7 Mon Sep 17 00:00:00 2001 From: Luke Date: Tue, 29 Dec 2020 20:37:40 +0000 Subject: LibWeb: Expose three more attribute methods on Element Exposes removeAttribute, hasAttribute and hasAttributes. --- Libraries/LibWeb/DOM/Element.idl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Libraries/LibWeb/DOM/Element.idl') diff --git a/Libraries/LibWeb/DOM/Element.idl b/Libraries/LibWeb/DOM/Element.idl index 386b44db3a..e5de36e75b 100644 --- a/Libraries/LibWeb/DOM/Element.idl +++ b/Libraries/LibWeb/DOM/Element.idl @@ -4,6 +4,9 @@ interface Element : Node { DOMString? getAttribute(DOMString qualifiedName); undefined setAttribute(DOMString qualifiedName, DOMString value); + undefined removeAttribute(DOMString qualifiedName); + boolean hasAttribute(DOMString qualifiedName); + boolean hasAttributes(); readonly attribute Element? firstElementChild; readonly attribute Element? lastElementChild; -- cgit v1.2.3