Re: Change to Attr interface in light of XPath

Anne van Kesteren <[email protected]>
Newsgroups gmane.comp.web.dom.general
Message-ID <CADnb78i78_8N3NyT5VFYj8_V+GgZ4gy-=02ixhwx32GKLDzDFw@mail.gmail.com>
On Tue, Mar 18, 2014 at 8:25 PM, Jonas Sicking <[email protected]> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.