Re: [csswg-drafts] [selectors] Add :modal-dialog pseudo-class (#6965)

Q: I presume this concept of "top layer" would also stack, like z-index?

For example:
1. I have a modal dialog, which I want to appear in the top layer
2. The dialog has a custom select input. The drop-down from that select I want to appear in the top layer (outside of any "scrolled" layer, for example, in the dialog container, just like a native select drop-down would).
3. This dialog opens a new dialog. I want it to appear in the top layer, over the dialog and the select drop-down.

If this stacking happens automatically, how would I select the first dialog in that example and move it to the top-most layer?

-- 
GitHub Notification of comment by matthew-dean
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6965#issuecomment-1124174677 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 11 May 2022 18:50:27 UTC