LGTM1

On Monday, July 21, 2025 at 1:04:01 PM UTC-7 jar...@chromium.org wrote:

> Contact emailsjar...@chromium.org
>
> ExplainerNone
>
> Specification
> https://html.spec.whatwg.org/multipage/interaction.html#the-toggleevent-interface
> https://github.com/whatwg/html/pull/11186
>
> Summary
>
> The source attribute of ToggleEvents contains the element which triggered 
> the ToggleEvent to be fired, if applicable. For example, if a button 
> element with the popovertarget or commandfor attribute set up to open a 
> popover is clicked by the user, then the ToggleEvent fired on the popover 
> will have its source attribute set to the invoking button.
>
>
> Blink componentBlink>DOM 
> <https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3EDOM%22>
>
> TAG reviewNone
>
> TAG review statusNot applicable
>
> Risks
>
>
> Interoperability and Compatibility
>
> I believe that the interop and compat risk is low because the spec is 
> merged, we have positive standards positions, and everything is tested in 
> WPT.
>
>
> *Gecko*: Positive (
> https://github.com/mozilla/standards-positions/issues/1220)
>
> *WebKit*: Support (
> https://github.com/WebKit/standards-positions/issues/494)
>
> *Web developers*: No signals
>
> *Other signals*:
>
> Ergonomics
>
> This will frequently be used in tandem with popovers and command invokers. 
> The default usage of this API will not make it hard for chrome to maintain 
> good performance.
>
>
> Activation
>
> This feature will not be hard for developers to use immediately as-is. 
> There is an open MDN issue to add documentation for this: 
> https://github.com/mdn/content/issues/39723
>
>
> Security
>
> I don't think there are any security risks for this feature.
>
>
> WebView application risks
>
> Does this intent deprecate or change behavior of existing APIs, such that 
> it has potentially high risk for Android WebView-based applications?
>
> None
>
>
> Debuggability
>
> There is no special DevTools support that is needed for this feature.
>
>
> Will this feature be supported on all six Blink platforms (Windows, Mac, 
> Linux, ChromeOS, Android, and Android WebView)?Yes
>
> Is this feature fully tested by web-platform-tests 
> <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
> ?Yes
>
> https://wpt.fyi/results/html/semantics/popovers/popover-toggle-source.html 
> https://wpt.fyi/results/html/semantics/interactive-elements/the-dialog-element/dialog-toggle-source.html
>  
> https://wpt.fyi/results/html/semantics/interactive-elements/the-details-element/details-toggle-source.html
>
>
> Flag name on about://flagsToggleEventSource
>
> Finch feature nameToggleEventSource
>
> Rollout planWill ship enabled for all users
>
> Requires code in //chrome?False
>
> MeasurementI haven't added UseCounters for this feature, but I could if 
> anyone is interested in doing so.
>
> Estimated milestones
> Shipping on desktop 140
> Shipping on Android 140
> Shipping on WebView 140
>
> Anticipated spec changes
>
> Open questions about a feature may be a source of future web compat or 
> interop issues. Please list open issues (e.g. links to known github issues 
> in the project for the feature specification) whose resolution may 
> introduce web compat/interop risk (e.g., changing to naming or structure of 
> the API in a non-backward-compatible way).
> The retargeting behavior of this attribute when and invoker is in a shadow 
> root is under discussion, but I strongly believe that this is an edge case 
> which we can modify the behavior of after shipping: 
> https://github.com/whatwg/html/pull/11345
>
> Link to entry on the Chrome Platform Status
> https://chromestatus.com/feature/5165304401100800?gate=5088912435052544
>
> This intent message was generated by Chrome Platform Status 
> <https://chromestatus.com/>.
>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/d8ec58da-03de-44bd-9c61-df8356d830b3n%40chromium.org.

Reply via email to