From ef0ec4acabe9df0eae1593b740ed7ceeac287cc6 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Fri, 5 Dec 2025 19:48:58 +0000 Subject: [PATCH 1/5] Add Popover ToggleEvent source --- features/popover-toggleevent-source.yml | 6 ++++++ features/popover-toggleevent-source.yml.dist | 13 +++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 features/popover-toggleevent-source.yml create mode 100644 features/popover-toggleevent-source.yml.dist diff --git a/features/popover-toggleevent-source.yml b/features/popover-toggleevent-source.yml new file mode 100644 index 00000000000..da4db40873e --- /dev/null +++ b/features/popover-toggleevent-source.yml @@ -0,0 +1,6 @@ +name: Popover ToggleEvent source +description: The source attribute of `ToggleEvents` contains the element which triggered the `ToggleEvent` to be fired, if applicable. +spec: https://html.spec.whatwg.org/multipage/interaction.html#dom-toggleevent-source +group: html +compat_features: + - api.ToggleEvent.source diff --git a/features/popover-toggleevent-source.yml.dist b/features/popover-toggleevent-source.yml.dist new file mode 100644 index 00000000000..9ab02305359 --- /dev/null +++ b/features/popover-toggleevent-source.yml.dist @@ -0,0 +1,13 @@ +# Generated from: popover-toggleevent-source.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "140" + chrome_android: "140" + edge: "140" + firefox: "145" + firefox_android: "145" +compat_features: + - api.ToggleEvent.source From cbf88a98de24980b1dd2aae19748949afaa056c8 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Mon, 8 Dec 2025 13:10:15 +0000 Subject: [PATCH 2/5] Code format --- features/popover-toggleevent-source.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/popover-toggleevent-source.yml b/features/popover-toggleevent-source.yml index da4db40873e..7f7a741dc62 100644 --- a/features/popover-toggleevent-source.yml +++ b/features/popover-toggleevent-source.yml @@ -1,5 +1,5 @@ name: Popover ToggleEvent source -description: The source attribute of `ToggleEvents` contains the element which triggered the `ToggleEvent` to be fired, if applicable. +description: The `source` attribute of `ToggleEvents` contains the element which triggered the `ToggleEvent` to be fired, if applicable. spec: https://html.spec.whatwg.org/multipage/interaction.html#dom-toggleevent-source group: html compat_features: From 8f5cc1fb0f6b94249a7cb056083db584efc63e98 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Mon, 8 Dec 2025 16:49:16 +0000 Subject: [PATCH 3/5] Generalise it from Popover --- features/popover-toggleevent-source.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/popover-toggleevent-source.yml b/features/popover-toggleevent-source.yml index 7f7a741dc62..bc85cb55a3b 100644 --- a/features/popover-toggleevent-source.yml +++ b/features/popover-toggleevent-source.yml @@ -1,5 +1,5 @@ -name: Popover ToggleEvent source -description: The `source` attribute of `ToggleEvents` contains the element which triggered the `ToggleEvent` to be fired, if applicable. +name: ToggleEvent source +description: The `source` attribute of `ToggleEvents` contains the element which triggered the `ToggleEvent` to be fired for a popover, ``, or `
` element, if applicable. spec: https://html.spec.whatwg.org/multipage/interaction.html#dom-toggleevent-source group: html compat_features: From 1dc85ca627c5b1ec7afbaa549ebf9db0253cab8d Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Mon, 8 Dec 2025 17:19:13 +0000 Subject: [PATCH 4/5] Update features/popover-toggleevent-source.yml Co-authored-by: Daniel D. Beck --- features/popover-toggleevent-source.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/popover-toggleevent-source.yml b/features/popover-toggleevent-source.yml index bc85cb55a3b..5aa15b92c55 100644 --- a/features/popover-toggleevent-source.yml +++ b/features/popover-toggleevent-source.yml @@ -1,5 +1,5 @@ name: ToggleEvent source -description: The `source` attribute of `ToggleEvents` contains the element which triggered the `ToggleEvent` to be fired for a popover, ``, or `
` element, if applicable. +description: The `source` property of a `ToggleEvent` object is the element which triggered the `toggle` event to fire for a popover, ``, or `
` element, if applicable. spec: https://html.spec.whatwg.org/multipage/interaction.html#dom-toggleevent-source group: html compat_features: From 66d1621fec262ad2737960620ca951b0a2ee2ae7 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Mon, 8 Dec 2025 17:21:03 +0000 Subject: [PATCH 5/5] Rename files --- .../{popover-toggleevent-source.yml => toggleevent-source.yml} | 0 ...-toggleevent-source.yml.dist => toggleevent-source.yml.dist} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename features/{popover-toggleevent-source.yml => toggleevent-source.yml} (100%) rename features/{popover-toggleevent-source.yml.dist => toggleevent-source.yml.dist} (83%) diff --git a/features/popover-toggleevent-source.yml b/features/toggleevent-source.yml similarity index 100% rename from features/popover-toggleevent-source.yml rename to features/toggleevent-source.yml diff --git a/features/popover-toggleevent-source.yml.dist b/features/toggleevent-source.yml.dist similarity index 83% rename from features/popover-toggleevent-source.yml.dist rename to features/toggleevent-source.yml.dist index 9ab02305359..af4c428ca41 100644 --- a/features/popover-toggleevent-source.yml.dist +++ b/features/toggleevent-source.yml.dist @@ -1,4 +1,4 @@ -# Generated from: popover-toggleevent-source.yml +# Generated from: toggleevent-source.yml # Do not edit this file by hand. Edit the source file instead! status: