W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2005

[whatwg] 2.2.1. DOM feature strings

From: ROBO Design <robodesign@gmail.com>
Date: Mon, 07 Nov 2005 18:03:01 +0200
Message-ID: <op.szvn7bnamapogm@duron.mshome.net>
On Mon, 07 Nov 2005 17:44:48 +0200, Anne van Kesteren  
<fora at annevankesteren.nl> wrote:

> Quoting ROBO Design <robodesign at gmail.com>:
<...>
>
> Nobody in his right mind would use hasFeature to check for support. It  
> is merely
> there for compatibility and joy.
>
<...>
>
> How else can you check if XHTML support is on? Furthermore, XHTML 2 does  
> not
> define DOM interfaces so that should not be a problem. (They're not  
> planning to
> do so either.)
>
<...>
>
> Neh. If all goes well the specification will eventually be called HTML 5.
>
<...>
>
> Incremental innovation. How do you check which user agent supports  
> html:canvas?
> How do you check which user agent supports the CSS color value "orange"?  
> You
> don't.
>
> Cheers,
>
> Anne
>
>

Hehe. Thanks for the reply. So, the hasFeature is ... just a trap for  
developers. Maybe the WA 1.0 spec should provide more reasons for not  
using hasFeature, just like you did now.


-- 
http://www.robodesign.ro
ROBO Design - We bring you the future
Received on Monday, 7 November 2005 08:03:01 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:43 UTC