Re: [csswg-drafts] [css-variables] should "--" be a valid custom property name?

> I’m fine with reserving it, but what situation is writing — better than just writing all? I assume you have something in mind?

When you're trying to prevent variables from inheriting into a component, but want to allow normal properties to inherit. (Without having to put in 100+ `foo: inherit` declarations.)

> In Edge -- is a valid custom property today, and it works fine in both declaration and usage.
Doesn't it in other browsers?

Yes, thus the issue and Agenda+.  It's currently valid and a perfectly normal property; I'm asking if we can restrict it (and then give it a special meaning).

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

Received on Thursday, 31 May 2018 21:59:44 UTC