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

Re: [css3-conditional] navigator.supportsCSS rather than window.supportsCSS

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 8 Aug 2012 17:04:42 -0700
Message-ID: <CAAWBYDBhorizWf-VZgg5HN1+EWC94Pmre--MPjgrqgNRBwdC-w@mail.gmail.com>
To: Fran├žois REMY <fremycompany_pub@yahoo.fr>
Cc: CSS WG <www-style@w3.org>
On Wed, Aug 8, 2012 at 12:21 PM, Fran├žois REMY
<fremycompany_pub@yahoo.fr> wrote:
> I'm obviously OK with this but I'm not a member of the group :-) However, I
> don't like the 'supports' name.
>
>    if(CSS.supports("@keyframes")) { ... }
>
> seems legit but don't work. The function name doesn't express correctly what
> the function does.

There's nothing stopping us from later supporting such things.  I'm
not willing to lengthen or uglify this name for the sake of avoiding
*uncertain* future pain.

~TJ
Received on Thursday, 9 August 2012 00:05:40 GMT

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