Rename the element field of the DOM Node hierarchy

Renamed htmlelement, and element

Fixes #924
This commit is contained in:
Luis de Bethencourt 2013-09-19 18:05:48 -04:00
parent 0ca4c19b57
commit 2dbd065d91
77 changed files with 347 additions and 312 deletions

View file

@ -570,7 +570,7 @@ impl Node<ScriptView> {
for node in abstract_self.traverse_preorder() {
if node.is_text() {
do node.with_imm_text() |text| {
let s = text.parent.Data();
let s = text.element.Data();
content = content + null_str_as_empty(&s);
}
}