W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

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

From: <bugzilla@jessica.w3.org>
Date: Sun, 29 Apr 2012 06:36:29 +0000
To: public-webapps@w3.org
Message-ID: <bug-16883-2927@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:52 GMT