W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1999

DOM level 1 should specify how newlines are represented in HTMLTextAreaElement.value

From: Adam Dingle <adam@avantgo.com>
Date: Tue, 8 Jun 1999 10:53:04 -0400 (EDT)
Message-ID: <003801beb1be$8c522990$0b80000a@avantgo.com>
To: <www-dom@w3.org>
The DOM level 1 specification contains a HTMLTextAreaElement interface representing a TEXTAREA element in HTML.  HTMLTextAreaElement has a "value" attribute of type DOMString; according to the specification, this attribute represents "the current textual content of the multi-line text field".  So, if the text field has several lines, what character or characters are used to separate the lines in the "value" attribute?  A \n?  A \r\n?  Either?  The specification should be more clear on this point.

-adam
Received on Tuesday, 8 June 1999 10:56:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT