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

> I guess `top-layer: yes` could have no effect if the element is in the UA top layer? So the tooltip may not look perfect with `dialog.showModal()`, but at least wouldn't appear underneath.

Well, I'm not sure "in the wrong place" is better than "not visible". Both would seem to count as "broken", no?

> It doesn't seem like "a developer top layer feature that expects to sometimes get kicked out of the top layer when necessary" would allow a better tooltip in the modal dialog.

That depends on how it's implemented, no?

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


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

Received on Thursday, 3 February 2022 01:14:47 UTC