From bbd44e9e4769a82258861ec6aae2d203d773fc8a Mon Sep 17 00:00:00 2001 From: miunau <55932282+miunau@users.noreply.github.com> Date: Mon, 25 Mar 2024 21:53:56 +0100 Subject: [PATCH] fix: Add `elementtiming` HTMLAttribute, remove `crossorigin` from HTMLInputAttributes (#10921) * Removed `crossorigin` from HTMLInputAttributes * Added `elementtiming` attribute to HTMLAttributes * changeset --------- Co-authored-by: Rich Harris --- .changeset/red-cycles-pretend.md | 5 +++++ packages/svelte/elements.d.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/red-cycles-pretend.md diff --git a/.changeset/red-cycles-pretend.md b/.changeset/red-cycles-pretend.md new file mode 100644 index 000000000..58307066b --- /dev/null +++ b/.changeset/red-cycles-pretend.md @@ -0,0 +1,5 @@ +--- +"svelte": patch +--- + +fix: Add `elementtiming` HTMLAttribute, remove `crossorigin` from HTMLInputAttributes diff --git a/packages/svelte/elements.d.ts b/packages/svelte/elements.d.ts index 88b4a26e1..4025db4db 100644 --- a/packages/svelte/elements.d.ts +++ b/packages/svelte/elements.d.ts @@ -712,6 +712,7 @@ export interface HTMLAttributes extends AriaAttributes, D contextmenu?: string | undefined | null; dir?: string | undefined | null; draggable?: Booleanish | undefined | null; + elementtiming?: string | undefined | null; enterkeyhint?: | 'enter' | 'done' @@ -1029,7 +1030,6 @@ export interface HTMLInputAttributes extends HTMLAttributes { autocomplete?: string | undefined | null; capture?: boolean | 'user' | 'environment' | undefined | null; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute checked?: boolean | undefined | null; - crossorigin?: string | undefined | null; dirname?: string | undefined | null; disabled?: boolean | undefined | null; form?: string | undefined | null;