Re: [w3ctag/design-reviews] The Popover API (previously Popup) (Issue #743)

> > I feel this is something that should be controlled by CSS
> 
> I'm not involved in the popover API, but again I strongly oppose this idea for the reasons stated in [#743 (comment)](https://github.com/w3ctag/design-reviews/issues/743#issuecomment-1314204961)
> 
> In a CSS-controlled top layer, what controls the z-order within the top layer of the elements? It's going to be completely arbitrary. It will pretty much behave the same as `z-index: MAX_VALUE` and have the same problems.

+1. The top layer is an ordered set, so it depends on the order that things are placed there. I'm not sure you'll be able to re-define top-layer as a feature *determined* by CSS, because it won't play nicely with existing things like dialog and fullscreen. (See [this issue](https://github.com/w3c/csswg-drafts/issues/8189) for ways to *animate* top layer status via CSS.)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/743#issuecomment-1377542734
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/743/1377542734@github.com>

Received on Tuesday, 10 January 2023 16:39:31 UTC