summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/NamedNodeMap.idl
blob: 68f889a5bb4e9ccbe50648d3a5f78350e88e34b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
};