Skip to content

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

New issue

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

Closed
techniq opened this issue Jun 19, 2024 · 2 comments
Closed

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

techniq opened this issue Jun 19, 2024 · 2 comments

Comments

@techniq
Copy link

techniq commented Jun 19, 2024

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

@brunnerh
Copy link
Member

Duplicate of:

@Conduitry Conduitry closed this as not planned Won't fix, can't repro, duplicate, stale Jun 19, 2024
@techniq
Copy link
Author

techniq commented Jun 19, 2024

Thanks @brunnerh and @Conduitry. I added the explicit <tbody> to fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants