mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Rename the element field of the DOM Node hierarchy
Renamed htmlelement, and element Fixes #924
This commit is contained in:
parent
0ca4c19b57
commit
2dbd065d91
77 changed files with 347 additions and 312 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue