Skip to content

Conversation

@chrisdavidmills
Copy link
Contributor

@chrisdavidmills chrisdavidmills commented Nov 19, 2025

Description

Chrome 142 adds support for interest invokers: see https://chromestatus.com/feature/4530756656562176.

This PR aims to document all features of interest invokers. Specifically, it will add:

  • A listing of all the interest invoker features on the popover API landing page (it really feels like it is part of this API, although I appreciate it has use cases outside popovers). If this isn't appropriate, I can quite easily separate it out.
  • An interest invokers guide.
  • Reference pages for the interestfor attribute, which is available on the <a>, <button>, <area>, and SVG <a> elements.
  • A ref page for the :interest-source pseudo-class.
  • A ref page for the :interest-target pseudo-class.
  • Ref pages for the interest-delay, interest-delay-start, and interest-delay-end properties.
  • Ref pages for the interestForElement property, which is available on the HTMLButtonElement, HTMLAnchorElement, HTMLAreaElement, and SVGAElement interfaces.
  • Ref pages for the interest and loseinterest events, which are fired on the HTMLElement interface.
  • Ref pages for the InterestEvent interface.

Motivation

Additional details

Related issues and pull requests

@chrisdavidmills chrisdavidmills requested review from a team as code owners November 19, 2025 16:44
@chrisdavidmills chrisdavidmills requested review from dipikabh and sideshowbarker and removed request for a team November 19, 2025 16:45
@github-actions github-actions bot added the Content:WebAPI Web API docs label Nov 19, 2025
@chrisdavidmills chrisdavidmills changed the title Document interest invokers Technical review: Document interest invokers Nov 19, 2025
@chrisdavidmills chrisdavidmills marked this pull request as draft November 19, 2025 16:45
@github-actions github-actions bot added the size/l [PR only] 501-1000 LoC changed label Nov 19, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 19, 2025

Preview URLs (28 pages)
Flaws (14)

Note! 23 documents with no flaws that don't need to be listed. 🎉

URL: /en-US/docs/Web/API/HTMLAreaElement
Title: HTMLAreaElement
Flaw count: 1

  • macros:
    • Can't resolve /en-US/docs/Web/API/HTMLAreaElement/noHref

URL: /en-US/docs/Web/CSS/Reference/Properties/interest-delay
Title: interest-delay
Flaw count: 4

  • broken_links:
    • Can't resolve /en-US/docs/Web/CSS/interest-delay-start
    • /en-US/docs/Web/CSS/CSS_values_and_units/Value_definition_syntax#curly_braces is a redirect
    • /en-US/docs/Web/CSS/CSS_values_and_units/Value_definition_syntax#single_bar is a redirect
    • /en-US/docs/Web/CSS/time is a redirect

URL: /en-US/docs/Web/CSS/Reference/Properties/interest-delay-end
Title: interest-delay-end
Flaw count: 2

  • broken_links:
    • /en-US/docs/Web/CSS/CSS_values_and_units/Value_definition_syntax#single_bar is a redirect
    • /en-US/docs/Web/CSS/time is a redirect

URL: /en-US/docs/Web/CSS/Reference/Properties/interest-delay-start
Title: interest-delay-start
Flaw count: 2

  • broken_links:
    • /en-US/docs/Web/CSS/CSS_values_and_units/Value_definition_syntax#single_bar is a redirect
    • /en-US/docs/Web/CSS/time is a redirect

URL: /en-US/docs/Web/SVG/Reference/Element/a
Title: <a>
Flaw count: 5

  • macros:
    • Macro produces link /en-US/docs/Web/SVG/Element which is a redirect
    • Macro produces link /en-US/docs/Web/SVG/Element which is a redirect
    • Macro produces link /en-US/docs/Web/SVG/Element which is a redirect
    • Macro produces link /en-US/docs/Web/SVG/Element which is a redirect
    • Macro produces link /en-US/docs/Web/SVG/Element which is a redirect
External URLs (4)

URL: /en-US/docs/Web/API/Popover_API
Title: Popover API


URL: /en-US/docs/Web/API/Popover_API/Using
Title: Using the Popover API


URL: /en-US/docs/Web/API/Popover_API/Using_interest_invokers
Title: Using interest invokers

(comment last updated: 2025-12-05 08:22:28)

@github-actions github-actions bot added Content:HTML Hypertext Markup Language docs Content:SVG SVG docs labels Nov 19, 2025
@github-actions github-actions bot added size/xl [PR only] >1000 LoC changed and removed size/l [PR only] 501-1000 LoC changed labels Nov 20, 2025
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label Nov 20, 2025
@chrisdavidmills chrisdavidmills removed the request for review from sideshowbarker November 21, 2025 10:07
@chrisdavidmills chrisdavidmills marked this pull request as ready for review November 21, 2025 10:07
@chrisdavidmills chrisdavidmills requested review from a team as code owners November 21, 2025 10:07
Copy link

@mfreed7 mfreed7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM! This looks great to me, thanks for putting it together. I left some comments, but all of them are fairly small.

…index.md

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
chrisdavidmills and others added 12 commits December 5, 2025 06:59
Copy link
Contributor

@dipikabh dipikabh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything's looking good. Thanks for your work on this! 🙌

@chrisdavidmills chrisdavidmills merged commit e00212a into mdn:main Dec 5, 2025
9 checks passed
@chrisdavidmills chrisdavidmills deleted the interest-invokers branch December 5, 2025 15:04
@chrisdavidmills
Copy link
Contributor Author

Everything's looking good. Thanks for your work on this! 🙌

@dipikabh Thank you for the herculean review effort! You've helped to improve this a great deal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:CSS Cascading Style Sheets docs Content:HTML Hypertext Markup Language docs Content:SVG SVG docs Content:WebAPI Web API docs size/xl [PR only] >1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants