Describe the bug
Adding a novalidate attribute to a <form> element is not rendering that attribute, unless it's not conditional (no value is given).
For example, this works: <form novalidate></form>
... but this does not work: <form novalidate={true}></form>
Reproduction
Here's a minimal reproduction using the latest release of Svelte (v5.19.1):
https://svelte.dev/playground/585b8c82301d4c65bc83eeaeda119d68?version=5.19.1
Logs
System Info
System:
OS: Linux 4.4 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Memory: 13.48 GB / 31.74 GB
Container: Yes
Shell: 5.1.16 - /usr/bin/bash
npmPackages:
svelte: ^5.19.0 => 5.19.0
Severity
blocking an upgrade