Re: [csswg-drafts] [css-contain-2] Define proximity to the viewport (#8904)

> Hm, it says your proximity can never become undetermined, but is that true? If the element becomes `display: none`, wouldn't it go back to being undetermined?

The way we currently have it, the visibility being determined (synchronously or not) is a property of an element, not its box. So yeah, currently it can never become undetermined for the lifetime of the element, but that's something we can change if it makes more sense for that. Although tying this to the box is likely more complicated -- kind of like what we did with contain-intrinsic-size auto last remembered size

-- 
GitHub Notification of comment by vmpstr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/8904#issuecomment-1576997327 using your GitHub account


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

Received on Monday, 5 June 2023 15:15:27 UTC