mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
Take the prefix from createElementNS into account for HTML elements
Fixes #3139
This commit is contained in:
parent
0549ed3c67
commit
3a5a66d54e
73 changed files with 405 additions and 477 deletions
|
@ -29,9 +29,9 @@ impl HTMLMediaElementDerived for EventTarget {
|
|||
}
|
||||
|
||||
impl HTMLMediaElement {
|
||||
pub fn new_inherited(type_id: ElementTypeId, tag_name: DOMString, document: JSRef<Document>) -> HTMLMediaElement {
|
||||
pub fn new_inherited(type_id: ElementTypeId, tag_name: DOMString, prefix: Option<DOMString>, document: JSRef<Document>) -> HTMLMediaElement {
|
||||
HTMLMediaElement {
|
||||
htmlelement: HTMLElement::new_inherited(type_id, tag_name, document)
|
||||
htmlelement: HTMLElement::new_inherited(type_id, tag_name, prefix, document)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue