From 672c4b4f2b18fa094e6f4b4d19ff3c19d05d36af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 5 Jul 2024 14:57:47 +0200 Subject: [PATCH] Update to include minor later additions --- features/slot.yml | 17 ++--------------- features/slot.yml.dist | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 15 deletions(-) diff --git a/features/slot.yml b/features/slot.yml index f25fb0664a2..51cbd9d59d1 100644 --- a/features/slot.yml +++ b/features/slot.yml @@ -2,18 +2,5 @@ name: description: The `` 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 diff --git a/features/slot.yml.dist b/features/slot.yml.dist index 1af5d7433a5..65fa3125ec0 100644 --- a/features/slot.yml.dist +++ b/features/slot.yml.dist @@ -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