[whatwg] Request for new DOM property textarea.selectionText

On Mon, Apr 30, 2012 at 7:35 AM, David Young <dyoung at pobox.com> wrote:
> On Mon, Apr 30, 2012 at 08:55:04AM +0300, Aryeh Gregor wrote:
>> 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
>
> I have seen this spec before. ?It seems to have something to do
> with creating a word processor-like environment in the browser,
> something that I am acutely interested in, but there isn't much
> introduction/justification to it. ?Is there an executive summary of the
> editing API somewhere?

Note: that spec isn't *creating* anything like that, it's just
documenting the *existing* execCommand() API that all browsers
implement, but inconsistently and incompatibly.

~TJ

Received on Monday, 30 April 2012 08:48:15 UTC