Re: [csswg-drafts] [css-contain-1] do we need layout containment in a single dimension to enable container queries?

@ausi containment only works on the box that it is applied to; so, in your scenario, you're only containing `size-x` for `.component`. Thus whatever `size-x` is defined to do will occur for its content and will then propagate the resulting geometry to `.wrapper`. Regarding scrolling, it this geometry results in the height being over `100px` then you re-layout `.wrapper` with the scrollbar in place (this is how scrollbars work today)


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

Received on Friday, 6 April 2018 15:38:02 UTC