Implement insertBefore and reimplement appendChild.

This commit is contained in:
Ms2ger 2013-10-25 20:04:05 +02:00
parent 2c3d5ec79f
commit 2ca1eede9a
5 changed files with 175 additions and 52 deletions

View file

@ -57,8 +57,8 @@ interface Node /*: EventTarget*/ {
attribute DOMString? nodeValue;
[SetterThrows, Pure]
attribute DOMString? textContent;
/*[Throws]
Node insertBefore(Node node, Node? child);*/ //XXXjdm we don't deal well with Node? parameters
[Throws]
Node insertBefore(Node node, Node? child);
[Throws]
Node appendChild(Node node);
[Throws]