[Bug 16883] New: Consider supporting some commands in plaintext editors

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16883

           Summary: Consider supporting some commands in plaintext editors
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: HTML Editing APIs
        AssignedTo: ayg@aryeh.name
        ReportedBy: ayg@aryeh.name
         QAContact: sideshowbarker+html-editing-api@gmail.com
                CC: mike@w3.org, public-webapps@w3.org


Test-case:

data:text/html,<!DOCTYPE html>
<input value=abc>
<script>
var input = document.body.firstChild;
input.selectionStart = 1;
input.selectionEnd = 2;
document.execCommand("delete");
</script>

This works in IE 10 Developer Preview and Chrome 20 dev, but not Firefox 15.0a1
or Opera Next 12.00 alpha.  It might make sense to spec it.  (Ryosuke pointed
this out on the whatwg list:
<http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-April/035566.html>)

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Sunday, 29 April 2012 06:36:32 UTC