Describe the bug
<input
{...rest}
type="text"
/>
<input
type="text"
{...rest}
/>
These do not produce the same results and I don't see it documented in https://svelte.dev/docs/svelte/basic-markup or https://svelte.dev/docs/svelte/$props#Rest-props
I'm propose adding it to basic-markup and that addresses both elements and components.
Reproduction
REPL
Logs
System Info
Severity
annoyance