mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
This is a very barebones implementation of appendChild() that doesn't take any of the idiosyncratic DOM behaviors into account yet. Also teach the wrapper generator how to turn an Interpreter argument into a Node&.
14 lines
369 B
Plaintext
14 lines
369 B
Plaintext
interface Node : EventTarget {
|
|
|
|
readonly attribute DOMString nodeName;
|
|
readonly attribute Node? firstChild;
|
|
readonly attribute Node? lastChild;
|
|
readonly attribute Node? previousSibling;
|
|
readonly attribute Node? nextSibling;
|
|
readonly attribute Node? parentNode;
|
|
readonly attribute Element? parentElement;
|
|
|
|
Node appendChild(Node node);
|
|
}
|
|
|