Re: [csswg-drafts] [css-contain-1] Make It easier to use contain: size in cases where the size is unknown

@bmaurer : The WG has discussed this, and decided not to add anything to the current specification to address this.

We felt that this addressing this use case properly through the spec would required significant complexity. Among other things, it introduces in dependencies between different parts of the platform (scrolling system, layout system...) that are very unnatural. As we are wrapping up the specification, this isn't something we're willing to dive into, at least for now.

Moreover, scroll anchoring should relieve some of the pain, and implementing this will probably become somewhat simpler when https://github.com/w3c/csswg-drafts/issues/1031 is solved.

For now, you'll unfortunately need to keep doing this in Javascript.

Closing as WONTFIX, as per the above resolution.

@bmaurer: I realise this is not what you hoped for, but as you raised this issue, can you confirm you're willing to live with this conclusion?

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

Received on Wednesday, 19 April 2017 13:48:34 UTC