- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 01 Nov 2023 23:57:19 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed ``[css-contain-3] Make `<container-query>` optional in `@container` ``, and agreed to the following: * `RESOLVED: @container rule can have just a container name and match the closest container with that name` <details><summary>The full IRC log of that discussion</summary> <dael> oriol: I can try to explain, though maybe leaverou would prefer to be in discussion<br> <dael> astearns: Why don't you introduce<br> <dael> oriol: In this issue when you have a container @rule there's container-query. Idea is make it optional. leaverou prop as a way to have more reasonable defaults for container-query units.<br> <dael> oriol: That wouldn't be possible, but still prop to make it optional. Functionality it would have is to apply styles with the assumption that a container has a given ancestors name, but not giving a condition. I think it's reasonable. not sure super useful, but reasonable and not hard to impl<br> <dael> oriol: Idea is allow to provide a name but with no condition in the element<br> <dael> TabAtkins: How do you conditionalize styles to only apply if ancestor has container?<br> <dael> fantasai: Using @concerner container anme {}<br> <dael> oriol: The idea is provide the name with no condition. The condition would be there is an ancestor with the name<br> <dael> TabAtkins: Got it. That seems reasonable<br> <dael> astearns: Is this possible by setting condition to something that always evaluates to true<br> <dael> TabAtkins: Yep. And that seems silly to require<br> <dael> astearns: Yep, if this exists already and we're making it easer it's good<br> <dael> astearns: Prop: @container rule can have just a container name and match the closest container with that name<br> <dael> astearns: Obj?<br> <dael> RESOLVED: @container rule can have just a container name and match the closest container with that name<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9192#issuecomment-1789850349 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 1 November 2023 23:57:21 UTC