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
Depends on:
Reported: 2012-04-29 06:36 UTC by Aryeh Gregor
Modified: 2012-12-04 00:51 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Aryeh Gregor 2012-04-29 06:36:28 UTC

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

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>)