Re: [csswg-drafts] [css-contain-3] container queries reacting to css grid column/row width/height (#7630)

At least, this would need:
 - Ignoring the grid placement properties on the items (and abspos?).
 - Also ignoring `order` during auto-placement (could still affect painting).
 - Treating intrinsic track sizes as fixed/flexible.

I also want to note that, while grid is a special case in which the containing block rectangle maybe be very different than the element that establishes it, a normal block container can also establish containing blocks of different sizes for different descendants, e.g. abspos descendants will use the padding edge while inflow children will use the content edge. So rather than something specific for grid, it may be interesting to have a general way to query the size of the containing block.

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


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

Received on Friday, 28 October 2022 19:47:36 UTC