W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2014

Re: Change to Attr interface in light of XPath

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 18 Mar 2014 17:33:19 +0000
Message-ID: <CADnb78geLbcO+Q2QdKr023jYo-fL76AvYVCeOSD1uJfZT43buw@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, DOM public list <www-dom@w3.org>
On Tue, Feb 18, 2014 at 5:20 PM, Jonas Sicking <jonas@sicking.cc> 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/
Received on Tuesday, 18 March 2014 17:33:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:22 UTC