Generate bindings for Node, CharacterData, Text, Element, and HTMLElement. Hook up text nodes to use the new bindings.

This commit is contained in:
Josh Matthews 2013-07-28 11:43:24 -04:00
parent c9bc2046f6
commit fd4efad70c
20 changed files with 1069 additions and 62 deletions

View file

@ -41,7 +41,7 @@ impl DOMParser {
_rv: &mut ErrorResult)
-> AbstractDocument {
unsafe {
let root = ~HTMLHtmlElement {
let root = @HTMLHtmlElement {
parent: Element::new(HTMLHtmlElementTypeId, ~"html")
};