Przeglądaj źródła

Merge pull request #1985 from fdgStilla/fix-svg-image

Restore image element under svg element
Jonathan Kelley 1 rok temu
rodzic
commit
d9cb6dd1ec
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      packages/html/src/elements.rs

+ 4 - 4
packages/html/src/elements.rs

@@ -1613,10 +1613,10 @@ builder_constructors! {
     /// element.
     hatchpath "http://www.w3.org/2000/svg" {};
 
-    // /// Build a
-    // /// [`<image>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image)
-    // /// element.
-    // image "http://www.w3.org/2000/svg" {};
+    /// Build a
+    /// [`<image>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image)
+    /// element.
+    image "http://www.w3.org/2000/svg" {};
 
     /// Build a
     /// [`<line>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/line)