mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:17:35 +00:00
LibWeb: Implement (most of) NamedNodeMap to store attributes
This commit is contained in:
parent
454d218716
commit
2a3ac02ef1
6 changed files with 284 additions and 0 deletions
14
Userland/Libraries/LibWeb/DOM/NamedNodeMap.idl
Normal file
14
Userland/Libraries/LibWeb/DOM/NamedNodeMap.idl
Normal file
|
@ -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);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue