Re: [css-device-adapt] Bad way to solve circular dependency

> Dropping @viewport inside stylesheets based on the owner element's media attribute would be weird.
Weird but nonetheless viable or weird period?
However, I guess this thread does not deserve to be sustained any
longer. I guess 100% of situations can be solved by simply avoiding
@viewport inside media query blocks.
As a final note, if the CSS parser copied the content of the
stylesheet inside a "virtual" media query block having the same
condition of the media attribute, it would be perfectly fine to state
that in those cases,@viewport is simply not considered.

The way it works now, by putting @viewport in an inline/linked
stylesheet whose owner element has a media attribute forces the
condition to be re-evaluated (opposite to what happens with @media
rule inside a stylesheet), am I correct?

Received on Friday, 10 April 2015 15:17:34 UTC