Re: if conditions again

Andrew Fedoniouk:
> 
> 2) Media queries already support requesting capabilities of UA, e.g.
> current @media (color) {} is exactly
> @media supports(color) {}

Running on a visual device that supports multi-color output is a very different thing from parsing and interpreting the ‘color’ property or any ‘<color>’ type correctly or from implementing the ‘Color’ module from any level of CSS – which is what ‘supports’ is aimed at (as far as I read).

Employing Media Queries you can query information about the media being rendered onto, not about the renderer itself. Hence the name.

Received on Tuesday, 20 July 2010 04:45:30 UTC