浏览代码

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

Mahmoud 1 月之前
父节点
当前提交
cefb9ec640
共有 1 个文件被更改,包括 4 次插入1 次删除
  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 '#'
         width: usize 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