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

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