Skip to content

Commit

Permalink
fix: SVG element spelling
Browse files Browse the repository at this point in the history
There were some spelling errors in the list of element names used to
decide if the XML namespace should be assigned to the element.

Note that this fix is not necessary for most modern browsers, as they
already automatically provide the correct namespace for SVG etc.
  • Loading branch information
klemens committed May 9, 2020
1 parent 77cf6f1 commit 0674789
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/browser/dom/virtual_dom_bridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,12 +357,12 @@ impl<Ms> From<&web_sys::Element> for El<Ms> {
"switch",
"symbol",
"unknown",
"linear_gradient",
"radial_gradient",
"mesh_gradient",
"linearGradient",
"radialGradient",
"meshGradient",
"stop",
"image",
"r#use",
"use",
"altGlyph",
"altGlyphDef",
"altGlyphItem",
Expand All @@ -381,7 +381,7 @@ impl<Ms> From<&web_sys::Element> for El<Ms> {
"meshRow",
"view",
"colorProfile",
"animage",
"animate",
"animateColor",
"animateMotion",
"animateTransform",
Expand Down

0 comments on commit 0674789

Please # to comment.