- From: Jakob Eriksen via GitHub <sysbot+gh@w3.org>
 - Date: Thu, 14 Apr 2022 20:32:06 +0000
 - To: public-css-archive@w3.org
 
I'm not sure what you mean by 
> potential for indirection across a stylesheet
What I'm talking about is allowing to omit parts of a syntax in the _[Container Query](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Container_Queries)_ implementation that is already being rolled out (not a new feature).
As shown in the demo you can use CQ's to detect if a selector is a child of a container. But if used for that purpose (side effect) alone the syntax feels a bit hackish.
My suggestion is that – if you omit the parts _shown below as comments_ - the type and query would be implicit. I know inline-size is not the correct type it was just what I found to be working     
 ````CSS
.container {
   container-name: MyContainer;
   /* container-type: inline-size; */
} 
@container MyContainer /* (inline-size) */ {
   .child { color: orange }
}
 ````
 _I'm sorry for being bad at explaining myself – please bare with me 🙏🏻🤗_
-- 
GitHub Notification of comment by jakob-e
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7209#issuecomment-1099596326 using your GitHub account
-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 14 April 2022 20:32:08 UTC