Răsfoiți Sursa

Merge pull request #1958 from fdgStilla/fix-svg-type-attribute

Fix name for SVG attribute "type"
Evan Almloff 1 an în urmă
părinte
comite
0c5c9eafe5
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      packages/html/src/global_attributes.rs

+ 2 - 2
packages/html/src/global_attributes.rs

@@ -2285,8 +2285,8 @@ trait_methods! {
     /// <https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/transform-origin>
     transform_origin: "transform-origin";
 
-    /// <https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/_type>
-    r#type: "_type";
+    /// <https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/type>
+    r#type: "type";
 
     /// <https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/u1>
     u1: "u1";