We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following WHATWG-spec-compliant code causes an error in Svelte 5 but not in Svelte 4
<select> <option value="0">The</option> <hr> <option value="1">bug</option> </select>
Thre is even an example of using hr as an separator in https://html.spec.whatwg.org/#the-select-element:
https://svelte-5-preview.vercel.app/#H4sIAAAAAAAACnWNvQqDMBhFX-XjzgHbNaSBvkO3poPVzxqISciPUMR3L6KDS8d7uIezYLCOM-RzgW8nhsQ9RgiUb9xGntkVhkAONXUbUZkdd0UbT0SkQiw2eJpbV_lmcDHQj5FVs_PjRWpMf4SrgX7Xz0lQzVGAwBR6O1juIUuqvL7WH49vgSKwAAAA
<hr> is invalid inside <select>
Does not matter
annoyance
The text was updated successfully, but these errors were encountered:
On that note, apparently script and template are also allowed.
script
template
Sorry, something went wrong.
fix: hr, script and template as valid select children (#11344)
d3949a6
Closes #11342 --------- Co-authored-by: Jeremiasz Major <jrh.mjr@gmail.com>
Successfully merging a pull request may close this issue.
Describe the bug
The following WHATWG-spec-compliant code causes an error in Svelte 5 but not in Svelte 4
Thre is even an example of using hr as an separator in https://html.spec.whatwg.org/#the-select-element:
Reproduction
https://svelte-5-preview.vercel.app/#H4sIAAAAAAAACnWNvQqDMBhFX-XjzgHbNaSBvkO3poPVzxqISciPUMR3L6KDS8d7uIezYLCOM-RzgW8nhsQ9RgiUb9xGntkVhkAONXUbUZkdd0UbT0SkQiw2eJpbV_lmcDHQj5FVs_PjRWpMf4SrgX7Xz0lQzVGAwBR6O1juIUuqvL7WH49vgSKwAAAA
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: