Contact [email protected]

ExplainerNone

Specificationhttps://github.com/whatwg/html/pull/10116

Summary

The prior behavior caused issues if a top layer element (dialog,
fullscreen, etc.) was DOM-nested within a popover. The inner element, when
promoted to the top layer, would cause the outer popover to be hidden,
which also (via CSS display:none) hid the inner element. That, in turn,
caused issues at least for dialogs, which inert the entire page. This
change makes top layer elements "nestable" within popovers.


Blink componentBlink>DOM>Popover
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EDOM%3EPopover>

TAG reviewNone

TAG review statusNot applicable

Risks


Interoperability and Compatibility

This will "unbreak" a set of broken behaviors. The compat risk is extremely
low, given the recent launch of the Popover API, and the broken current
behavior. The small risk is that someone nested a top layer element within
a Popover, and then relied on it *not* being visible after being shown.


*Gecko*: Shipped/Shipping https://phabricator.services.mozilla.com/D200686

*WebKit*: Positive Informal support at WHATNOT meeting:
https://github.com/whatwg/html/issues/10052#issuecomment-1911240732

*Web developers*: Positive Issue raised by developers

*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?label=master&label=experimental&aligned&q=opover-top-layer-nesting


Flag name on chrome://flagsNestedTopLayerSupport

Finch feature nameNestedTopLayerSupport

Requires code in //chrome?False

Tracking bughttps://crbug.com/1520938

Estimated milestones
DevTrial on desktop 123
DevTrial on Android 123

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/5149353645965312?gate=5083908142268416

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAM%3DNeDgB%2BtgTztACH7L6aCUbccE8tWFWdZGBn1P0gexOR%3Djo_g%40mail.gmail.com.

Reply via email to