This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16883 - Consider supporting some commands in plaintext editors
Summary: Consider supporting some commands in plaintext editors
Status: NEW
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - HTML Editing APIs (show other bugs)
Version: unspecified
Hardware: All Windows 3.1
: P2 enhancement
Target Milestone: ---
Assignee: Aryeh Gregor
QA Contact: HTML Editing APIs spec bugbot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-29 06:36 UTC by Aryeh Gregor
Modified: 2012-12-04 00:51 UTC (History)
2 users (show)

See Also:


Attachments

Description Aryeh Gregor 2012-04-29 06:36:28 UTC
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>)