docs: link to MDN page on void elements (#8261)

pull/8295/head
James Scott-Brown 2 years ago committed by GitHub
parent 82d2982845
commit 7706a5f713
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1670,7 +1670,7 @@ The only supported binding is `bind:this`, since the element type specific bindi
If `this` has a nullish value, the element and its children will not be rendered. If `this` has a nullish value, the element and its children will not be rendered.
If `this` is the name of a void tag (e.g., `br`) and `<svelte:element>` has child elements, a runtime error will be thrown in development mode. If `this` is the name of a [void element](https://developer.mozilla.org/en-US/docs/Glossary/Void_element) (e.g., `br`) and `<svelte:element>` has child elements, a runtime error will be thrown in development mode.
```sv ```sv
<script> <script>

Loading…
Cancel
Save