W3C home > Mailing lists > Public > www-style@w3.org > May 2006

Re: proposal: @supports and :supports

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 27 May 2006 13:35:12 -0400
Message-ID: <20060527133512.z6wbivbzac08oo0k@webmail.mit.edu>
To: HeroreV <herorev@yahoo.com>
Cc: www-style@w3.org

Quoting HeroreV <herorev@yahoo.com>:

> Testing for feature support _does_ work in practice.

Testing for "is the feature there?" works.  Testing for "does the UA say the
feature is there?" does not work.

> Think about events, which are very important. The W3C
> specifies addEventListener, but IE uses attachEvent.
> Whithout the ability to test for support, using events
> woud be much more difficult.

But if you actually asked the UA whether it supports DOM events, would you
believe the answer?  Or rely on it?

Received on Saturday, 27 May 2006 17:35:35 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:24 UTC