[whatwg] 2.2.1. DOM feature strings

ROBO Design robodesign at gmail.com
Mon Nov 7 08:03:01 PST 2005


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



More information about the whatwg mailing list