Re: [csswg-drafts] [css-conditional-4] Feature detection for descriptors (#2463)

> But this syntax needs to be supported in @supports(@keyframes k{from{color:blue}})

In that example it's not any sort of special thing. You just literally feed the entire contents of the query (everything between the parens) into the parser and see if there are any parsing errors. That's just fine! No special-casing required, just possibly adding a mode to your existing parser to flag parsing errors rather than just silently dropping them.

This is very distinct from a special-case syntax for testing rule nesting.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2463#issuecomment-1015884891 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 18 January 2022 22:18:20 UTC