Re: [csswg-drafts] [css-anchor-1] Can't anchor one popover to another (#8165)

> Tree ordering doesn't work for a bunch of edge cases. I'd prefer if there was some logic to prevent the hoisting of the inner popover into the top-layer.

We can't do this, unfortunately, since that'll break the use case. Two nested popovers - the top one needs to be painted above the bottom one. And they don't have to share a DOM tree, they can be "nested" via invoking attributes.



> Cool, so as long as it's completely clear that the layout requirement is satisfied (previous elements are laid out prior to later elements), then we're golden.

+1 to what Xiaocheng said: top layer is really N top layers, in an ordered set. They are rendered in that order. So I would assume (?) that means they do layout in that same order.

I do think this is a very important use case that we should try to support.

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


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

Received on Monday, 5 December 2022 17:43:54 UTC