W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2012

[whatwg] Request for new DOM property textarea.selectionText

From: Aryeh Gregor <ayg@aryeh.name>
Date: Mon, 30 Apr 2012 08:55:04 +0300
Message-ID: <CAKA+AxmVR32OEyM=J0CMbOzO0sHioXFbnz89Nsjmfj-Zdo=HZg@mail.gmail.com>
On Sun, Apr 29, 2012 at 11:39 PM, David Young <dyoung at pobox.com> wrote:
> I'm curious what advantages document.execCommand() has over the
> customary DOM API for adding/deleting/moving nodes?

execCommand() does vastly more complicated things than the DOM APIs.
See the spec for details:

http://dvcs.w3.org/hg/editing/raw-file/tip/editing.html
Received on Sunday, 29 April 2012 22:55:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:07 GMT