Re: Change to Attr interface in light of XPath
Anne van Kesteren <[email protected]>
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <CADnb78geLbcO+Q2QdKr023jYo-fL76AvYVCeOSD1uJfZT43buw@mail.gmail.com> |
On Tue, Feb 18, 2014 at 5:20 PM, Jonas Sicking <[email protected]> wrote: > attributenode.parentNode has always returned null. In all versions of > the spec and in all implementations. What you want is > attributenode.ownerElement. I'm surprised that it's been removed from > the new spec. I agree that it needs to be put back. Why? It returns undefined in all implementations. (I didn't test this and just went by your word initially, reverting that now.) -- http://annevankesteren.nl/