mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Format script component
This commit is contained in:
parent
2ca7a13473
commit
c37a345dc9
357 changed files with 25485 additions and 18076 deletions
|
@ -16,12 +16,14 @@ pub struct SVGElement {
|
|||
}
|
||||
|
||||
impl SVGElement {
|
||||
pub fn new_inherited_with_state(state: ElementState, tag_name: LocalName,
|
||||
prefix: Option<Prefix>, document: &Document)
|
||||
-> SVGElement {
|
||||
pub fn new_inherited_with_state(
|
||||
state: ElementState,
|
||||
tag_name: LocalName,
|
||||
prefix: Option<Prefix>,
|
||||
document: &Document,
|
||||
) -> SVGElement {
|
||||
SVGElement {
|
||||
element:
|
||||
Element::new_inherited_with_state(state, tag_name, ns!(svg), prefix, document),
|
||||
element: Element::new_inherited_with_state(state, tag_name, ns!(svg), prefix, document),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue