mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:37:34 +00:00
LibWeb: Introduce Mutation{Record,Observer} and observer microtasks
This commit is contained in:
parent
116a7b74fe
commit
c9ba5531e0
15 changed files with 531 additions and 0 deletions
17
Userland/Libraries/LibWeb/DOM/MutationRecord.idl
Normal file
17
Userland/Libraries/LibWeb/DOM/MutationRecord.idl
Normal file
|
@ -0,0 +1,17 @@
|
|||
#import <DOM/Node.idl>
|
||||
#import <DOM/NodeList.idl>
|
||||
|
||||
[Exposed=Window]
|
||||
interface MutationRecord {
|
||||
|
||||
readonly attribute DOMString type;
|
||||
[SameObject] readonly attribute Node target;
|
||||
[SameObject] readonly attribute NodeList addedNodes;
|
||||
[SameObject] readonly attribute NodeList removedNodes;
|
||||
readonly attribute Node? previousSibling;
|
||||
readonly attribute Node? nextSibling;
|
||||
readonly attribute DOMString? attributeName;
|
||||
readonly attribute DOMString? attributeNamespace;
|
||||
readonly attribute DOMString? oldValue;
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue