Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions features/slot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,5 @@ name: <slot>
description: The `<slot>` HTML element is a placeholder inside a web component where consumers of the component can insert their own markup.
spec: https://html.spec.whatwg.org/multipage/scripting.html#the-slot-element
group: html
compat_features:
- api.Element.assignedSlot
- api.Element.slot
- api.HTMLSlotElement
- api.HTMLSlotElement.assignedNodes
# A later minor addition (element subset of assignedNodes)
# - api.HTMLSlotElement.assignedElements
- api.HTMLSlotElement.name
# A later minor addition (onslotchange missing in Safari 10)
# - api.HTMLSlotElement.slotchange_event
- api.Text.assignedSlot
- css.selectors.slotted
- html.elements.slot
- html.elements.slot.name
- html.global_attributes.slot
status:
compute_from: html.elements.slot
26 changes: 26 additions & 0 deletions features/slot.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,29 @@ compat_features:
- html.elements.slot
- html.elements.slot.name
- html.global_attributes.slot

# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
# support:
# chrome: "53"
# chrome_android: "53"
# edge: "79"
# firefox: "63"
# firefox_android: "63"
# safari: "10.1"
# safari_ios: "10.3"
- api.HTMLSlotElement.slotchange_event

# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
# support:
# chrome: "65"
# chrome_android: "65"
# edge: "79"
# firefox: "66"
# firefox_android: "66"
# safari: "12.1"
# safari_ios: "12.2"
- api.HTMLSlotElement.assignedElements