HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/6048

SVNBugCommentTime (UTC)
6048[Gecko] [Internet Explorer] [Opera] [Webkit] Say what a line break is when editing a textarea.2011-05-02 23:14
Index: source
===================================================================
--- source	(revision 6047)
+++ source	(revision 6048)
@@ -54081,11 +54081,13 @@
   <p>When a <code>textarea</code> is <span
   title="concept-textarea-mutable">mutable</span>, its <span
   title="concept-textarea-raw-value">raw value</span> should be
-  editable by the user. Any time the user causes the element's <span
-  title="concept-textarea-raw-value">raw value</span> to change, the
-  user agent must <span>queue a task</span> to <span>fire a simple
-  event</span> that bubbles named <code
-  title="event-input">input</code> at the <code>textarea</code>
+  editable by the user: the user agent should allow the user to edit,
+  insert, and remove text, and to insert and remove line breaks in the
+  form of U+000A LINE FEED (LF) characters. Any time the user causes
+  the element's <span title="concept-textarea-raw-value">raw
+  value</span> to change, the user agent must <span>queue a
+  task</span> to <span>fire a simple event</span> that bubbles named
+  <code title="event-input">input</code> at the <code>textarea</code>
   element. User agents may wait for a suitable break in the user's
   interaction before queuing the task; for example, a user agent could
   wait for the user to have not hit a key for 100ms, so as to only

|