W3C home > Mailing lists > Public > www-style@w3.org > March 2015

Re: [mediaqueries] Excluding '!' and ';' in <general-enclosed>?

From: Simon Sapin <simon.sapin@exyr.org>
Date: Tue, 24 Mar 2015 00:47:31 +0100
Message-ID: <5510A613.2080204@exyr.org>
To: www-style@w3.org
On 23/03/15 21:22, Florian Rivoal wrote:
> Tab's the one how added this, so I'll let him answer as to whether
> there's a justification for B and C in this context.
>
> As for me, I would much rather avoid accepting different syntaxes in
> @support and @media, so we should have a single definition of general
> enclosed (in css-conditional?) and have both specs use it.
>
> If there is actually a reason for these two to be different, then we
> should use a different name than general enclosed for one of them.

I don’t think there is a reason. The main difference is that @supports 
is based on CSS 2 chapter 4, whereas MQ4 is based on CSS Syntax 3.

-- 
Simon Sapin
Received on Monday, 23 March 2015 23:47:55 UTC

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