[whatwg] Request for new DOM property textarea.selectionText

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 UTC