W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

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

From: Aryeh Gregor <ayg@aryeh.name>
Date: Tue, 30 Aug 2011 17:26:33 -0400
Message-ID: <CAKA+AxkX-zbvfpzAGOGCy1t1ptPhvURjsCmwM0W_wNX4VF31Zg@mail.gmail.com>
To: Karl Dubost <karld@opera.com>
Cc: W3C WebApps WG <public-webapps@w3.org>, Ryosuke Niwa <rniwa@webkit.org>, Ehsan Akhgari <ehsan@mozilla.com>
On Tue, Aug 30, 2011 at 4:44 PM, Karl Dubost <karld@opera.com> wrote:
> Le 29 août 2011 à 14:57, Aryeh Gregor a écrit :
>> In editing, it's common to want to change an element's name.  For
>> instance, document.execCommand("formatblock", false, "h1") will change
>> the current line's wrapper to an <h1>.  Unbolding <b id=foo> should
>> produce <span id=foo>.
> Does that also mean that if you feed a complete different markup, you could reassign a different document in the browser? Could it be the equivalent of an XSLT transform at the top of the document?

Sorry, I don't understand the question.  Could you elaborate?
Received on Tuesday, 30 August 2011 21:27:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:23 UTC