diff options
author | Luke <luke.wilde@live.co.uk> | 2020-12-29 20:37:40 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-29 23:38:14 +0100 |
commit | 18d99919be24558d9e364369873af545801145c7 (patch) | |
tree | dea87b748cfc8567b5a9c0bcf2ea0a2e1b44e650 /Libraries/LibWeb/DOM/Element.idl | |
parent | b05f048c05dfe55421abd9fb465d0b94209b230a (diff) | |
download | serenity-18d99919be24558d9e364369873af545801145c7.zip |
LibWeb: Expose three more attribute methods on Element
Exposes removeAttribute, hasAttribute and hasAttributes.
Diffstat (limited to 'Libraries/LibWeb/DOM/Element.idl')
-rw-r--r-- | Libraries/LibWeb/DOM/Element.idl | 3 |
1 files changed, 3 insertions, 0 deletions
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; |