Re: proposal: @supports and :supports

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?

-Boris

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