W3C home > Mailing lists > Public > public-html@w3.org > October 2008

Re: [forms] control_element.value getter/setter newline normalization

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 30 Sep 2008 21:57:02 -0400
Message-ID: <48E2D8EE.1040701@mit.edu>
To: Justin James <j_james@mindspring.com>
CC: public-html@w3.org

Justin James wrote:
> The internal
> representation of a GUI widget I would imagine is up to the standards
> of the OS (or the widget author, should they choose to override the
> OS's guidelines).

Note that the standard DOM representation of a newline, however, is \n. 
  The only way to inject \r into the DOM is via explicit script 
manipulation of some sort, or maybe via character entities (and I'm not 
at all sure about the latter).

-Boris
Received on Wednesday, 1 October 2008 01:57:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:58 UTC