W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2013

Re: [dom] Is it recommended to use Node.getFeature() or Node.isSupported()?

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 22 Aug 2013 09:27:02 +0100
Message-ID: <CADnb78hovopBOpb2qzHh+tn08E5CpupYOVw-tn3HsYdieqwxbg@mail.gmail.com>
To: James Craig <jcraig@apple.com>
Cc: "www-dom@w3.org" <www-dom@w3.org>, Indie UI <public-indie-ui@w3.org>
On Thu, Aug 22, 2013 at 1:03 AM, James Craig <jcraig@apple.com> wrote:
> Remaining in the spec (presumably still intended to work) but without much detail listed are Node.isSupported [2] and Node.getFeature [3]. Given that these methods are so similar to the functionality of DOMImplementation.hasFeature(), is it okay to rely on these?

You should really be reading http://dom.spec.whatwg.org/ but even in
what you reference it is pretty clear they are not intended to work:

"The remainder of interfaces and interface members listed in this
section were removed to simplify the DOM platform. Implementations
conforming to this specification will not support them."


-- 
http://annevankesteren.nl/
Received on Thursday, 22 August 2013 08:27:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:03 UTC