Skip to content

Commit 050ff23

Browse files
authoredJun 4, 2025
Add xmlns attribute to HTMLAttributes type
The `xmlns` attribute is not only allowed on SVG elements, but on all HTML elements.
1 parent 2342c87 commit 050ff23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎packages/svelte/elements.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,7 @@ export interface HTMLAttributes<T extends EventTarget> extends AriaAttributes, D
773773
inert?: boolean | undefined | null;
774774
popover?: 'auto' | 'manual' | '' | undefined | null;
775775
writingsuggestions?: Booleanish | undefined | null;
776+
xmlns?: string | undefined | null;
776777

777778
// Unknown
778779
radiogroup?: string | undefined | null; // <command>, <menuitem>

0 commit comments

Comments
 (0)