From 937db4b61aa9e9e3daebf152536c5499988b8994 Mon Sep 17 00:00:00 2001 From: Mason Freed Date: Mon, 25 Aug 2025 14:09:12 -0700 Subject: [PATCH 1/3] Add feature for interest invokers Remove compat_features Create dist file --- features/interest-invokers.yml | 4 ++++ features/interest-invokers.yml.dist | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 features/interest-invokers.yml create mode 100644 features/interest-invokers.yml.dist diff --git a/features/interest-invokers.yml b/features/interest-invokers.yml new file mode 100644 index 00000000000..c6f46536947 --- /dev/null +++ b/features/interest-invokers.yml @@ -0,0 +1,4 @@ +name: 'Interest invokers' +description: The `interestfor` global HTML attribute adds "interest" behaviors to the element, such that when the user "shows interest" in the element, actions are triggered on the target element, such as showing a popover. The user agent handles detecting when the user "shows interest" in the element, via methods such as hovering the element with a mouse, hitting special hotkeys on the keyboard, or long-pressing the element on touchscreens. When interest is shown or lost, an `InterestEvent` is fired on the target, which have default actions in the case of popovers - showing and hiding the popover. +spec: https://github.com/whatwg/html/pull/11006 +group: html diff --git a/features/interest-invokers.yml.dist b/features/interest-invokers.yml.dist new file mode 100644 index 00000000000..83053490fbd --- /dev/null +++ b/features/interest-invokers.yml.dist @@ -0,0 +1,6 @@ +# Generated from: interest-invokers.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: {} From 1c726c57d6bc38a3216e250d6e8e841641f9dca3 Mon Sep 17 00:00:00 2001 From: Mason Freed Date: Tue, 23 Sep 2025 09:49:49 -0700 Subject: [PATCH 2/3] Shorten the description to <300 chars --- features/interest-invokers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/interest-invokers.yml b/features/interest-invokers.yml index c6f46536947..ebca624782d 100644 --- a/features/interest-invokers.yml +++ b/features/interest-invokers.yml @@ -1,4 +1,4 @@ name: 'Interest invokers' -description: The `interestfor` global HTML attribute adds "interest" behaviors to the element, such that when the user "shows interest" in the element, actions are triggered on the target element, such as showing a popover. The user agent handles detecting when the user "shows interest" in the element, via methods such as hovering the element with a mouse, hitting special hotkeys on the keyboard, or long-pressing the element on touchscreens. When interest is shown or lost, an `InterestEvent` is fired on the target, which have default actions in the case of popovers - showing and hiding the popover. +description: The `interestfor` global HTML attribute triggers actions on a target element when the user shows interest (e.g., hover, focus, long-press). The user agent detects this interest, firing an InterestEvent on the target. This event has default actions, like showing or hiding popovers. spec: https://github.com/whatwg/html/pull/11006 group: html From c8f107dffee92e062f46e039a4d561cc8b7e0535 Mon Sep 17 00:00:00 2001 From: Mason Freed Date: Tue, 23 Sep 2025 13:02:40 -0700 Subject: [PATCH 3/3] Add URL exception --- scripts/specs.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/specs.ts b/scripts/specs.ts index a7006a8c920..b8ac1e8531e 100644 --- a/scripts/specs.ts +++ b/scripts/specs.ts @@ -141,6 +141,10 @@ const defaultAllowlist: allowlistItem[] = [ [ "https://www.w3.org/TR/2022/WD-selectors-4-20220507/#the-target-within-pseudo", "Allowed because this is where the feature last appeared in the spec before removal." + ], + [ + "https://github.com/whatwg/html/pull/11006", + "Allowed because this spec PR hasn't landed yet. Once the PR merges, change the spec url and remove this exception." ] ];