-
stubbornella thejase csswg Exactly. The
contain
property was added partially to make this possible (it does a few other things too). We still need to add some flexibility to it, but we have a plan for that. If you want all the details: github.com/oddbird/css-sandbox/blob/main/src/rwd/query/explainer.md