mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Introduce HTMLTable{Data,Header}CellElement::new.
This commit is contained in:
parent
618447445f
commit
a972c470a7
4 changed files with 37 additions and 15 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue