Re: [dom] Is it recommended to use Node.getFeature() or Node.isSupported()?
Anne van Kesteren <[email protected]>
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <CADnb78hovopBOpb2qzHh+tn08E5CpupYOVw-tn3HsYdieqwxbg@mail.gmail.com> |
On Thu, Aug 22, 2013 at 1:03 AM, James Craig <[email protected]> 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/