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

So far we've avoided tree order because (a) it's a little more arbitrary (you'd have to order your DOM by how you expect popups to be invoked), and (b) it doesn't give the same "already fully laid out" guarantees that the CB restriction does.

But I think a more targeted fix is possible. We talk about the "top layer" as a single layer, same as the normal document layer, where a lot of things can live together. But if we instead treated it as N top layers, one per object placed "in the top layer", then we can define that earlier layers fully lay out before later ones do, and successive popups will work regardless of their DOM order. I think that's what we want to do anyway, right?

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


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

Received on Wednesday, 30 November 2022 19:05:35 UTC