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

@ -7,13 +7,13 @@ use dom::element::ElementTypeId;
use dom::htmlelement::HTMLElement;
pub struct HTMLMediaElement {
parent: HTMLElement,
htmlelement: HTMLElement,
}
impl HTMLMediaElement {
pub fn new(type_id: ElementTypeId, tag_name: ~str) -> HTMLMediaElement {
HTMLMediaElement {
parent: HTMLElement::new(type_id, tag_name)
htmlelement: HTMLElement::new(type_id, tag_name)
}
}
}