Skip to content

Svelte 5: <tr> is invalid inside <table> #12090

@techniq

Description

@techniq

Describe the bug

If you place a simple <tr> within a <table> element, the compiler throws an error.

I'm working on updating Svelte UX's docs to be compatible with Svelte 5, and this is one of the errors I'm running into (continuing to boil down other issues I'll report)

image

Reproduction

<table>
  <tr>
    <td>Example</td>
  </tr>
</table>

REPLs

Logs

No response

System Info

Severity

blocking an upgrade

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions