Re: [css-variables][mediaqueries] Allow var() in media queries?

Well then, I have to admit I like it very much!
The concept of having initial values to resolve media queries to avoid
circular dependency is not new (see CSS Device Adaptation et al.), but
I find it disturbing the value used to resolve MQs in that case is
different depending on whether the content of MQ affects viewport, or
style application.

> We can also constrain the power of @intial by only allowing custom properties in it, if it creates less problems.
What if @initial could also contain @viewport?
Or, in general, it could contain whatever can affect media queries, so
that properties specified in it are the only values which can affect
MQs.
It would be the opposite of the concept of "scope" I proposed some
days ago and which is not logically applicable to CSS.

Received on Thursday, 9 April 2015 11:09:53 UTC