Re: Some way to change an element's name would be useful

On 8/29/11 4:53 PM, Robin Berjon wrote:
> On Aug 29, 2011, at 21:40 , Boris Zbarsky wrote:
>> On 8/29/11 3:33 PM, Robin Berjon wrote:
>>> For completeness, I'm guessing that namespaces would be supported as well?
>>> Element renameElement(DOMString newName);
>>> Element renameElement(DOMString newNS, DOMString newName);
>> Shades of
> Yeah, but my recollection is that renameNode() is in the list of DOM things that are so hopelessly fuzzy that you probably don't want to touch them if you plan on being interoperable. Rereading the description after not having touched it in years certainly reinforces that feeling.

Sure.  I wasn't exactly endorsing it; just pointing to previous attempts 
to spec such a thing in case they would be useful.


Received on Monday, 29 August 2011 21:08:29 UTC