W3C home > Mailing lists > Public > www-style@w3.org > November 2010

Re: UI for CSS Media Queries and value-less features

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Tue, 09 Nov 2010 14:55:13 +0100
Message-ID: <4CD952C1.5050108@disruptive-innovations.com>
To: Anne van Kesteren <annevk@opera.com>
CC: Håkon Wium Lie <howcome@opera.com>, "www-style@w3.org" <www-style@w3.org>
Le 09/11/10 14:28, Anne van Kesteren a écrit :

> @media only all and (color)
> @media all and (color)
> @media (color)

These are not a problem at all.

> I think it is somewhat inevitable that when you use WYSIWYG-mode the
> editor will modify your source code and the way you indent or minimize
> your syntax might get lost. To counter that you could provide syntax

It is not inevitable by principle. It is only invitable because we do
not care about editing when we design something.

> preferences maybe. So that instead of writing out min-color:1 you would
> write out color. This would have the advantage that existing code would
> be cleaned up using those rules too. This is a general problem however
> and not at all a specific problem with Media Queries.

That does not help. Making an intuitive UI dealing with (color) and
(color: 2) is still an issue because they fundamentally represent
different semantics:

   the latter should read (bits-per-color-component: 2)

   the former should be merged with the 'monochrome' feature and
       result in one single feature (colorimetry: color|monochrome)

</Daniel>
Received on Tuesday, 9 November 2010 13:55:45 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:34 GMT