W3C home > Mailing lists > Public > www-style@w3.org > September 2012

Re: [css3-conditional] Supported vs. valid declaration.

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 20 Sep 2012 08:40:57 -0400
Message-ID: <505B0ED9.7040901@mit.edu>
To: www-style@w3.org
On 9/20/12 6:06 AM, Simon Sapin wrote:
> Hi,
>
> About sections 6.1 and 6.2, is there a difference between:
>
> 1. a declaration being 'invalid' (and thus being ignored by the parser
> to allow old-style fallbacks)
> 2. being 'not supported' (resolving to false in @supports)

There shouldn't be, ideally.

In Gecko, the same code implements both, so they're the same by 
definition there.

> Im thinking in particular of 6.2s comment on values that might be
> valid in a spec but the UA "do not have a usable level of support for".

Sane UAs would treat that as "invalid".  Of course historically not all 
UAs are always sane.  :(

-Boris
Received on Thursday, 20 September 2012 12:41:30 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:00 GMT