From c8f00274e263c5df81859a21844d11b9bb2219c1 Mon Sep 17 00:00:00 2001 From: Gurpreet Atwal Date: Mon, 25 Aug 2025 14:34:19 -0700 Subject: [PATCH] chore(elements.d.ts): add "Accept-CH" as valid value for `http-equiv` It seems like this is a valid value and it has been working for me, however I did find conflicting information on whether it is supported or not. Supporting Evidence: - https://github.com/WICG/client-hints-infrastructure?tab=readme-ov-file#opt-in-mechanism - https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Client_hints#overview - https://developer.chrome.com/docs/privacy-security/user-agent-client-hints#introducing_the_new_user-agent_client_hints - https://github.com/httpwg/http-extensions/issues/189 Conflicting Evidence: - https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-http-equiv --- packages/svelte/elements.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/svelte/elements.d.ts b/packages/svelte/elements.d.ts index f63a31a96b..e604505d96 100644 --- a/packages/svelte/elements.d.ts +++ b/packages/svelte/elements.d.ts @@ -1268,6 +1268,7 @@ export interface HTMLMetaAttributes extends HTMLAttributes { charset?: string | undefined | null; content?: string | undefined | null; 'http-equiv'?: + | 'accept-ch' | 'content-security-policy' | 'content-type' | 'default-style'