mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 22:15:06 +00: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&.
13 lines
369 B
Text
13 lines
369 B
Text
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);
|
|
}
|
|
|