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

> However, if you add `box-sizing: border-box` on `.inner`, then there is an effect on `.inner`'s content height, and we do have a problem. Damn.

Yeah, I forgot to set the `box-sizing` in my example (it was only in the linked CodePen).

> Unlike scrollbars, I don't see any simple way to fix that one.

Neither do I. I would really love this feature, but the more I think of it, the more impossible it seems to me.

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

Received on Monday, 9 April 2018 18:38:10 UTC