You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: files/en-us/web/html/reference/elements/slot/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ This element includes the [global attributes](/en-US/docs/Web/HTML/Reference/Glo
21
21
- : The slot's name.
22
22
A _named slot_ is a `<slot>` element with a `name` attribute, while an _unnamed slot_ has no `name` attribute, and the name defaults to the empty string.
23
23
24
-
When a shadow root uses [named slot assignment](/en-US/docs/Web/HTML/Reference/Elements/template#named), top-level child elements of its host are are rendered in slots that have a matching name in their [`slot` attribute](/en-US/docs/Web/API/Element/slot).
24
+
When a shadow root uses [named slot assignment](/en-US/docs/Web/HTML/Reference/Elements/template#named), top-level child elements of its host are rendered in slots that have a matching name in their [`slot` attribute](/en-US/docs/Web/API/Element/slot).
25
25
Slot names should be unique per shadow root: if you have two slots with the same name, all of the elements with a matching `slot` attribute are rendered in the _first_ slot.
26
26
All top-level child elements that don't have a `slot` attribute are rendered in the first unnamed `<slot>` element, which is referred to as the _default slot_.
27
27
The `name` has no effect if the shadow root uses [manual slot assignment](/en-US/docs/Web/HTML/Reference/Elements/template#manual).
0 commit comments