- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Tue, 15 Oct 2024 21:17:58 +0000
- To: public-css-archive@w3.org
While a `<declaration-value>` that excludes top-level `:` tokens is grammatically okay (that chunk of syntax is language-defined, so we're not applying restrictions to broader CSS development by adding that exclusion), it's not a good idea. The proposal was to use the `<boolean>` production that's already shared by MQs, SQs, and CQs, precisely so we could get general-enclosed and give it a truth value. I think it needs to use the 3-value syntax like MQs, tho - if the UA doesn't understand the condition, it doesn't know whether the condition is true or false, so it shouldn't treat `not gibberish()` as true. (As opposed to an SQ, where unknown things are *by definition* false most of the time.) -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10818#issuecomment-2415185425 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 15 October 2024 21:17:59 UTC