Re: [csswg-drafts] [css-mixins-1] Auto-wrap mixin body in `@result` if omitted? (#13524)

> Ok, then. One dash, with legacy browser extensions like -WebKit-* and -moz-* excluded from being local variables.

Prefixed properties are not legacy, they're still the recommended way for implementations to ship non-standard stuff, and we absolutely don't want to restrict them to a fixed set, because that increases barriers to entry for new implementors.
We _could_ use a predetermined prefix (e.g. `-local-`) but that would be quite verbose (unless the prefix is 1-2 characters, but that would be pretty confusing).

> Or, I don't know, two tildes instead of two dashes.

If we go all the way to grammar changes, we may as well use `$foo` or something that wouldn't even require `var()` unless there's a fallback. But that's probably a much heavier lift than is warranted.

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


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

Received on Saturday, 7 March 2026 18:38:59 UTC