W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2011

Re: setAttributeNS(): should it change the namespace prefix?

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 29 Nov 2011 23:44:10 +0100
To: "Boris Zbarsky" <bzbarsky@mit.edu>
Cc: "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <op.v5qb3wb764w2qv@annevk-macbookpro.local>
On Tue, 29 Nov 2011 23:07:36 +0100, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 11/29/11 4:49 PM, Anne van Kesteren wrote:
>> Mostly so we do not have to complicate mutation observers even further
>> for an edge case nobody should even get to.
>
> Hmm.  What's the complication for mutation observers?  Being notified  
> when the prefix changes or something?

Yes. The API we have does not cater for that anyway:

http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#mutations

Or we would have to define it as a removal and and creation operation,  
which seems cumbersome too for such an edge case.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Tuesday, 29 November 2011 22:44:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:08 GMT