Skip to content

Svelte 5: Some boolean attributes are incorrectly rendered with <svelte:element>. #12664

@Serator

Description

@Serator

Describe the bug

Related to #12643 and #12649.

https://github.com/sveltejs/svelte/pull/12649/files#diff-87ec8cbb1aa898b9a6bc0e9dde2e355df357844becd562b80386d0bf4713b57fR344-R345 - there are other HTMLElement properties. Here's a possibly incomplete list:

Either way, new properties / attributes will be added over time.

Reproduction

Reproduction link

image

Logs

No response

System Info

Svelte 5.0.0-next.202

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions