move to DOMAttributes

pull/16080/head
Rich Harris 4 months ago
parent 050ff23b55
commit 0afc2eee1a

@ -0,0 +1,5 @@
---
'svelte': patch
---
fix: move xmlns attribute from SVGAttributes to to DOMAttributes

@ -463,6 +463,8 @@ export interface DOMAttributes<T extends EventTarget> {
'on:fullscreenerror'?: EventHandler<Event, T> | undefined | null; 'on:fullscreenerror'?: EventHandler<Event, T> | undefined | null;
onfullscreenerror?: EventHandler<Event, T> | undefined | null; onfullscreenerror?: EventHandler<Event, T> | undefined | null;
onfullscreenerrorcapture?: EventHandler<Event, T> | undefined | null; onfullscreenerrorcapture?: EventHandler<Event, T> | undefined | null;
xmlns?: string | undefined | null;
} }
// All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/ // All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
@ -773,7 +775,6 @@ export interface HTMLAttributes<T extends EventTarget> extends AriaAttributes, D
inert?: boolean | undefined | null; inert?: boolean | undefined | null;
popover?: 'auto' | 'manual' | '' | undefined | null; popover?: 'auto' | 'manual' | '' | undefined | null;
writingsuggestions?: Booleanish | undefined | null; writingsuggestions?: Booleanish | undefined | null;
xmlns?: string | undefined | null;
// Unknown // Unknown
radiogroup?: string | undefined | null; // <command>, <menuitem> radiogroup?: string | undefined | null; // <command>, <menuitem>
@ -1810,7 +1811,6 @@ export interface SVGAttributes<T extends EventTarget> extends AriaAttributes, DO
'xlink:type'?: string | undefined | null; 'xlink:type'?: string | undefined | null;
'xml:base'?: string | undefined | null; 'xml:base'?: string | undefined | null;
'xml:lang'?: string | undefined | null; 'xml:lang'?: string | undefined | null;
xmlns?: string | undefined | null;
'xmlns:xlink'?: string | undefined | null; 'xmlns:xlink'?: string | undefined | null;
'xml:space'?: string | undefined | null; 'xml:space'?: string | undefined | null;
y1?: number | string | undefined | null; y1?: number | string | undefined | null;

Loading…
Cancel
Save