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 20:49:34 +0000
Message-ID: <CADnb78i78_8N3NyT5VFYj8_V+GgZ4gy-=02ixhwx32GKLDzDFw@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, DOM public list <www-dom@w3.org>
On Tue, Mar 18, 2014 at 8:25 PM, Jonas Sicking <jonas@sicking.cc> wrote:
> However that still leaves us without a plan to deprecate Attr objects
> (https://www.w3.org/Bugs/Public/show_bug.cgi?id=25016), but with those
> Attr objects being pretty broken since there's no way to get back to
> their "parent".

I don't think there ever was a plan to deprecate Attr objects...


> On the other hand, it seems somewhat silly to remove ownerElement
> since the implementation needs to hold a reference from the Attr
> object to the Element anyway in order to implement the .value setter.

Maybe we can make that property readonly?


-- 
http://annevankesteren.nl/
Received on Tuesday, 18 March 2014 20:50:01 UTC

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