Files
ladybird/Userland/Libraries/LibWeb/DOM
Sam Atkins d7485df928 LibWeb: Give each Node a unique ID
We maintain a directory of ID -> Node. Nodes add themselves to this
directory when they are created, receiving a random ID. When a Node is
destroyed, it removes itself from this directory. Anyone can request a
Node from the directory by its ID using `Node::from_id()`.

We reserve the `0` ID to mean "none".

These IDs allow different processes to communicate about a given Node
over IPC, for example the DOM Inspector.
2021-09-02 22:16:41 +02:00
..
2021-09-02 22:16:41 +02:00
2021-04-23 16:46:57 +02:00
2021-04-11 18:27:52 +02:00
2021-09-02 22:16:41 +02:00
2021-09-02 22:16:41 +02:00
2021-07-05 12:39:46 +02:00
2021-04-23 16:46:57 +02:00
2021-04-23 16:46:57 +02:00