Elements: add autocorrect attribute to <input> and <textarea> (#4797)

See https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/autocorrect
This commit is contained in:
Amos Wenger authored and GitHub committed 2025-10-19 15:03:39 -04:00
1 parent 7454fc21ee
commit 5018074a12
1 file changed
+4
+4
View File
@@ -1421,6 +1421,8 @@ builder_constructors! {
accept: String DEFAULT,
alt: String DEFAULT,
autocomplete: String DEFAULT,
/// cf. <https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/autocorrect>
autocorrect: OnOff DEFAULT,
autofocus: Bool DEFAULT,
capture: String DEFAULT,
checked: Bool DEFAULT,
@@ -1574,6 +1576,8 @@ builder_constructors! {
/// element.
textarea None {
autocomplete: OnOff DEFAULT,
/// cf. <https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/autocorrect>
autocorrect: OnOff DEFAULT,
autofocus: Bool DEFAULT,
cols: usize DEFAULT,
disabled: Bool DEFAULT,