Contact emailsmas...@chromium.org ExplainerNone
Specificationhttps://github.com/whatwg/html/pull/10770 Summary In this case: ``` <button popovertarget=foo>Activate <div popover id=foo>Clicking me shouldn't close me</div> </button> ``` clicking the button properly activates the popover, however, clicking on the popover itself after that should **not** close the popover. It currently does because the popover click bubbles to the `<button>` and activates the invoker, which toggles the popover closed. This chromestatus tracks changing the behavior so that clicking on the nested popover does not re-invoke itself. {Note: this likely should have been created as a "No developer-visible change" chromestatus entry, but it's too late now.} Blink componentBlink>DOM <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EDOM> TAG reviewNone TAG review statusNot applicable Risks Interoperability and Compatibility The compat risk is exceedingly small: a site would need to use this corner case structure (popover nested inside its own invoker) *and* rely on the fact that clicking on that popover still triggers the invoker again. While possible, it seems very unlikely. (I will watch carefully for compat issues as I ship this, and will roll it back and reevaluate if any are found.) *Gecko*: No signal *WebKit*: Positive (https://github.com/whatwg/html/pull/10770) See comments on the spec PR. *Web developers*: No signals *Other signals*: 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 None 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-nested-in-button.tentative.html Flag name on about://flagsPopoverButtonNestingBehavior Finch feature namePopoverButtonNestingBehavior Requires code in //chrome?False Tracking bughttps://crbug.com/379241451 Estimated milestones Shipping on desktop 133 DevTrial on desktop 133 Shipping on Android 133 DevTrial on Android 133 Shipping on WebView 133 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). None Link to entry on the Chrome Platform Status https://chromestatus.com/feature/4821788884992000?gate=5371644422651904 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/CAM%3DNeDhaAXVwO2cpfv4vbOB%3Dwdtqov-xvKPjZDZRqOHQe13YKw%40mail.gmail.com.