chore(elements.d.ts): add "Accept-CH" as valid value for `http-equiv` (#16671)

* 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

* changeset

---------

Co-authored-by: Rich Harris <hello@rich-harris.dev>
pull/16667/head
Gurpreet Atwal 2 weeks ago committed by GitHub
parent 0348b4a705
commit 967431c1a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
"svelte": patch
---
fix: add "Accept-CH" as valid value for `http-equiv`

@ -1268,6 +1268,7 @@ export interface HTMLMetaAttributes extends HTMLAttributes<HTMLMetaElement> {
charset?: string | undefined | null;
content?: string | undefined | null;
'http-equiv'?:
| 'accept-ch'
| 'content-security-policy'
| 'content-type'
| 'default-style'

Loading…
Cancel
Save