W3C home > Mailing lists > Public > www-style@w3.org > June 2013

RE: [mediaqueries] User-defined Media Queries?

From: François REMY <francois.remy.dev@outlook.com>
Date: Sat, 1 Jun 2013 10:46:00 +0200
Message-ID: <DUB120-W26D3892313B3433C6C0C27A5930@phx.gbl>
To: Kenneth Rohde Christiansen <kenneth.christiansen@gmail.com>, Chris Eppstein <chris@eppsteins.net>
CC: Tab Atkins Jr. <jackalmage@gmail.com>, Yehuda Katz <wycats@gmail.com>, www-style list <www-style@w3.org>
> Do not abuse media types, use media features instead.

Media features L3 can already be used without specified value, like the "color" feature. MQ L4 also add features like "script", "pointer" and "hover" which can be used likewise. It's even specified what it means: 

    @media(x) {} 
    == @media not (x:0) 
          and not (x:0px)
          ... ... .......
          and not (x:none) {}

That doesn't mean we shouldn't accept real pair/value to be used for custom MQ but simple flags are already part of the existing specs, it's not something created for this specific use at all. 		 	   		  
Received on Saturday, 1 June 2013 08:46:27 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC