diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-10-16 15:30:21 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-10-17 13:51:10 +0100 |
commit | 2a3ac02ef1e84e0b772dff99cf5f2e66c9e1fe7e (patch) | |
tree | ef64e451992abae39933384e0a3406d2083125bf /Userland/Libraries/LibWeb/DOM/NamedNodeMap.idl | |
parent | 454d21871642671b715f53e3e244b980943e205a (diff) | |
download | serenity-2a3ac02ef1e84e0b772dff99cf5f2e66c9e1fe7e.zip |
LibWeb: Implement (most of) NamedNodeMap to store attributes
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/NamedNodeMap.idl')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/NamedNodeMap.idl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/NamedNodeMap.idl b/Userland/Libraries/LibWeb/DOM/NamedNodeMap.idl new file mode 100644 index 0000000000..68f889a5bb --- /dev/null +++ b/Userland/Libraries/LibWeb/DOM/NamedNodeMap.idl @@ -0,0 +1,14 @@ +[Exposed=Window, LegacyUnenumerableNamedProperties] +interface NamedNodeMap { + readonly attribute unsigned long length; + + getter Attribute? item(unsigned long index); + getter Attribute? getNamedItem(DOMString qualifiedName); + // Attribute? getNamedItemNS(DOMString? namespace, DOMString localName); + + [CEReactions] Attribute? setNamedItem(Attribute attr); + // [CEReactions] Attribute? setNamedItemNS(Attribute attr); + + [CEReactions] Attribute removeNamedItem(DOMString qualifiedName); + // [CEReactions] Attribute removeNamedItemNS(DOMString? namespace, DOMString localName); +}; |