- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 24 Aug 2022 17:01:18 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-contain-3] Should style() queries allow !important flag?`. <details><summary>The full IRC log of that discussion</summary> <astearns> topic: [css-contain-3] Should style() queries allow !important flag?<br> <astearns> github: https://github.com/w3c/csswg-drafts/issues/7413<br> <argyle> astearns: who's gonna take this one?<br> <argyle> florian: the syntax for style container queries, lets you specify a property declaration representing the computed value, and grammar wise, a prop dec can include !important. but that has no effect on th computed value<br> <argyle> florian: q is, shouuld we ban writing !Important or should be keep it even tho it has no effect?<br> <astearns> ack fantasai<br> <emilio> q+<br> <argyle> fantasai: i think we should disallow this becaues it represents a computed value, it has no concept of where it exists in the cascade<br> <florian> q+<br> <argyle> fantasai: i dont feel the same about @supports rules which have a siimilar sytnax, in that case, you're asking is this syntax supported and then it's fine to have !important be part of that. but if add another !something later, it'd return null<br> <astearns> ack emilio<br> <argyle> emilio: i think i disagree with fantasai because even tho it does rep the computed value, what you write is a specified value. you can query color: blue, and it's computed then compared, but<br> <argyle> emilio: it's a specified value right<br> <astearns> ack florian<br> <miriam> q+<br> <argyle> florian: i dont feel strongly, seems to me it's easier if we can copy/paste declarations from where they define and test them, to test. that might drag a !impportant along the way. if we allow it in @supports, could support it here as well. but i dont feel strongly<br> <astearns> agrees with the copy-paste argument<br> <astearns> ack miriam<br> <argyle> miriam: was thinking about resolving variables, custom properties in a query, but they won bring along !important. never mind, i'm fine either way<br> <argyle> florian: if you're using actual css var, your'e right, but if you're using server side processor that has something similar to variables, it might<br> <argyle> miriam: that's true<br> <argyle> astearns: we are out of time, is anyone else convinced byt he copy paste arg to not make a change to the sepc?<br> <argyle> astearns: or should we continue discussion int he issue?<br> <argyle> astearns: not going to get reslution to this, we will continue in the issue. bring it back to the agenda onde we have clarity<br> <masonf> Thank you Adam!<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7413#issuecomment-1225994302 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 24 August 2022 17:01:19 UTC