W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2021

Re: [csswg-drafts] [css-variables] shortening `prop: var(--x);` to `prop: --x;` (#2111)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Tue, 27 Jul 2021 21:29:41 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-887847774-1627421380-sysbot+gh@w3.org>
Yeah, since CSS intentionally adopted the `--` prefix as a generic way to indicate an author-defined term when there is the potential for collision with CSS-defined keywords, this is definitely not possible.

(@color-profile is the first place this is explicitly used.)

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 27 July 2021 21:29:43 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:39 UTC