Re: [csswg-drafts] [css-positioning] position: popover proposal (#5699)

> I'm worried that a feature that says "i escape all of my ancestors clips" can break some optimizations that we may have.

I'm not sure it would break optimizations, but it's a fair point to consider. In the case of `position: popover`, the affected element would be virtually hoisted so we can safely ignore it when ancestors are drawn. Similarly, changes to how the popover is drawn won't affect ancestors. Both can be drawn independently.

> Did you have a specific set of things in mind that you think this property should ignore / escape?

I'm debating with myself whether `display: none` in an ancestor would cause a `position: popover` element to be hidden or not. I don't think I have a preference here.

However, it should break out of overflows and clips. Overflows are the most common cause of frustration, but I've seen clips used cleverly to achieve similar results and it would be difficult to guarantee the popover element is visible if they didn't break out.

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


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

Received on Tuesday, 10 November 2020 15:14:23 UTC