Mapped to defaultChecked property of HTMLInputElement.
@@ -1107,6 +1107,7 @@ builder_constructors! {
formnovalidate: Bool DEFAULT,
formtarget: Target DEFAULT,
height: isize DEFAULT,
+ initial_checked: Bool DEFAULT,
list: Id DEFAULT,
max: String DEFAULT,
maxlength: usize DEFAULT,
@@ -51,6 +51,9 @@ export function setAttributeInner(node, field, value, ns) {
case "checked":
node.checked = truthy(value);
break;
+ case "initial_checked":
+ node.defaultChecked = truthy(value);
+ break;
case "selected":
node.selected = truthy(value);
@@ -80,6 +80,9 @@ mod js {