Re: [csswg-drafts] [css-cascade][css-syntax] New `!revertable` flag to mark a declaration as "can be reverted when IACVT" (#10443)

Yes, we can't decide whether a `--width` declaration is valid or not depending on where `var(--width)` is used, because it could be used in different places which expect different grammars.
You would need to define it with `syntax: "<number> | <number> / <number>"`, which I don't think is valid.

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


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

Received on Tuesday, 22 October 2024 19:36:56 UTC