Ver Fonte

fix: add missing `img` attrs (#4073)

Mahmoud há 1 mês atrás
pai
commit
cefb9ec640
1 ficheiros alterados com 4 adições e 1 exclusões
  1. 4 1
      packages/html/src/elements.rs

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

@@ -1103,7 +1103,10 @@ builder_constructors! {
         usemap: String DEFAULT, // FIXME should be a fragment starting with '#'
         usemap: String DEFAULT, // FIXME should be a fragment starting with '#'
         width: usize DEFAULT,
         width: usize DEFAULT,
         referrerpolicy: String DEFAULT,
         referrerpolicy: String DEFAULT,
-        // sizes: SpacedList<String>, // FIXME it's not really just a string
+        sizes: String DEFAULT, // FIXME
+        elementtiming: String DEFAULT,
+        fetchpriority: String DEFAULT,
+        attributionsrc: String DEFAULT,
     };
     };
 
 
     /// Build a
     /// Build a