- From: Una Kravets via GitHub <sysbot+gh@w3.org>
- Date: Wed, 09 Feb 2022 15:45:54 +0000
- To: public-css-archive@w3.org
My main issue with this is I just don't think it's a reasonable default to assume that a user wants to query the style of a direct parent in a container query. In my current experience with CQ, the majority of my demos and use cases do not query the direct parent. To help illustrate: ## [CQ Card](https://codepen.io/web-dot-dev/pen/LYzxgxP) - adjusting styles of `.desc` which is within a block called `.meta` but I'm querying the parent `.card`'s container size  in:  ## [Button Component Inside CQ Card](https://codepen.io/una/pen/zYdJvvw) - The `span` within `.btn-text` is querying `button` - `button` within `div` within `.card` is querying `card-container` - The only thing directly querying its parent is `plus-icon` within `.cart-icon` because it happens to be organized this way  in  -- GitHub Notification of comment by una Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6393#issuecomment-1033902469 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 9 February 2022 15:45:56 UTC