Take the prefix from createElementNS into account for HTML elements

Fixes #3139
This commit is contained in:
Gilles Leblanc 2014-10-06 22:49:49 -04:00
parent 0549ed3c67
commit 3a5a66d54e
73 changed files with 405 additions and 477 deletions

View file

@ -29,9 +29,9 @@ impl HTMLTableCellElementDerived for EventTarget {
}
impl HTMLTableCellElement {
pub fn new_inherited(type_id: ElementTypeId, tag_name: DOMString, document: JSRef<Document>) -> HTMLTableCellElement {
pub fn new_inherited(type_id: ElementTypeId, tag_name: DOMString, prefix: Option<DOMString>, document: JSRef<Document>) -> HTMLTableCellElement {
HTMLTableCellElement {
htmlelement: HTMLElement::new_inherited(type_id, tag_name, document)
htmlelement: HTMLElement::new_inherited(type_id, tag_name, prefix, document)
}
}
}