소스 검색

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

Fix name for SVG attribute "type"
Evan Almloff 1 년 전
부모
커밋
0c5c9eafe5
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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";