Re: Change to Attr interface in light of XPath

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