[whatwg] Request for new DOM property textarea.selectionText

Aryeh Gregor ayg at aryeh.name
Sun Apr 29 22:55:04 PDT 2012


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



More information about the whatwg mailing list