Introduce HTMLTable{Data,Header}CellElement::new.

This commit is contained in:
Ms2ger 2013-10-31 15:31:15 +01:00
parent 618447445f
commit a972c470a7
4 changed files with 37 additions and 15 deletions

View file

@ -12,7 +12,7 @@ pub struct HTMLTableCellElement {
}
impl HTMLTableCellElement {
pub fn new(type_id: ElementTypeId, tag_name: ~str, document: AbstractDocument) -> HTMLTableCellElement {
pub fn new_inherited(type_id: ElementTypeId, tag_name: ~str, document: AbstractDocument) -> HTMLTableCellElement {
HTMLTableCellElement {
htmlelement: HTMLElement::new(type_id, tag_name, document)
}