1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:07:36 +00:00

LibWeb: Introduce Mutation{Record,Observer} and observer microtasks

This commit is contained in:
Luke Wilde 2022-07-11 16:37:51 +01:00 committed by Andreas Kling
parent 116a7b74fe
commit c9ba5531e0
15 changed files with 531 additions and 0 deletions

View 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;
};