Skip to content

Conversation

@hamishwillee
Copy link
Collaborator

FF145 supports ToggleEvent.source in https://bugzilla.mozilla.org/show_bug.cgi?id=1968987.

This adds a release note.

Related docs can be tracked in #41543

@hamishwillee hamishwillee requested a review from a team as a code owner October 24, 2025 01:23
@hamishwillee hamishwillee requested review from dipikabh and removed request for a team October 24, 2025 01:23
@github-actions github-actions bot added the Content:Firefox Content in the Mozilla/Firefox subtree label Oct 24, 2025
@github-actions github-actions bot added the size/xs [PR only] 0-5 LoC changed label Oct 24, 2025
@github-actions
Copy link
Contributor

Preview URLs

External URLs (1)

URL: /en-US/docs/Mozilla/Firefox/Releases/145
Title: Firefox 145 release notes for developers (Beta)

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.

Thanks for the update 👍
I've added a tiny rephrasing suggestion.

### APIs

- The {{domxref("ToggleEvent/source", "source")}} property of the {{domxref("ToggleEvent")}} interface is now supported.
If a [popover](/en-US/docs/Web/API/Popover_API) was triggered open or closed by an HTML element, such as a {{htmlelement("button")}}, the corresponding event will include the element in this property.
Copy link
Contributor

Choose a reason for hiding this comment

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

i've flipped the part after the comma ("the corresponding event...") to make it more direct

Suggested change
If a [popover](/en-US/docs/Web/API/Popover_API) was triggered open or closed by an HTML element, such as a {{htmlelement("button")}}, the corresponding event will include the element in this property.
If a [popover](/en-US/docs/Web/API/Popover_API) is triggered to open or close by an HTML element such as a {{htmlelement("button")}}, the event's `source` property will contain the element that triggered the popover.

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

Labels

Content:Firefox Content in the Mozilla/Firefox subtree size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants