Re: [csswg-drafts] [css-env] Adding custom env() variables (#2627)

@ghost I think you make a good point that environment variables may be a special case where the referencing in CSS should be allowed in camelCase or dash-case (to point to the same var / value), and similar to the API for style properties, would be presented to JavaScript in camelCase _even if_ they were defined as dash-case. This would allow the same interoperability that style values have now.

It's possible environment variables already have this in the spec, I don't know.

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


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

Received on Thursday, 16 March 2023 16:15:43 UTC