Skip to content

Commit 3e2bfb6

Browse files
committed
autocorrect
1 parent 869b745 commit 3e2bfb6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/svelte/elements.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,6 @@ export interface HTMLAttributes<T extends EventTarget> extends AriaAttributes, D
771771
vocab?: string | undefined | null;
772772

773773
// Non-standard Attributes
774-
autocorrect?: string | undefined | null;
775774
autosave?: string | undefined | null;
776775
color?: string | undefined | null;
777776
itemprop?: string | undefined | null;
@@ -1051,6 +1050,8 @@ export interface HTMLInputAttributes extends HTMLAttributes<HTMLInputElement> {
10511050
accept?: string | undefined | null;
10521051
alt?: string | undefined | null;
10531052
autocomplete?: FullAutoFill | undefined | null;
1053+
// Safari only https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#autocorrect
1054+
autocorrect?: 'on' | 'off' | '' | undefined | null;
10541055
capture?: boolean | 'user' | 'environment' | undefined | null; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
10551056
checked?: boolean | undefined | null;
10561057
dirname?: string | undefined | null;

0 commit comments

Comments
 (0)