mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Introduce ElementCSSInlineStyle for SVGElement
This commit is contained in:
parent
ea491b4117
commit
c561a3eb0e
4 changed files with 49 additions and 2 deletions
|
@ -80,6 +80,7 @@ use crate::dom::htmltrackelement::HTMLTrackElement;
|
|||
use crate::dom::htmlulistelement::HTMLUListElement;
|
||||
use crate::dom::htmlunknownelement::HTMLUnknownElement;
|
||||
use crate::dom::htmlvideoelement::HTMLVideoElement;
|
||||
use crate::dom::svgelement::SVGElement;
|
||||
use crate::dom::svgsvgelement::SVGSVGElement;
|
||||
use crate::realms::{enter_realm, InRealm};
|
||||
use crate::script_thread::ScriptThread;
|
||||
|
@ -110,7 +111,7 @@ fn create_svg_element(
|
|||
|
||||
match name.local {
|
||||
local_name!("svg") => make!(SVGSVGElement),
|
||||
_ => Element::new(name.local, name.ns, prefix, document),
|
||||
_ => make!(SVGElement),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue