[whatwg] Initial carriage return in <pre> and <textarea>

Thomas Broyer t.broyer at gmail.com
Fri Sep 11 01:13:52 PDT 2009

On Thu, Sep 10, 2009 at 10:40 PM, Øistein E. Andersen <liszt at coq.no> wrote:
> § "Restrictions on content models" mentions that an initial line
> feed (\n) character inside <pre> and <textarea> will be removed.  Should it
> not cover carriage return (\r) and \r\n as well?

AFAICT, they would have been normalized to \n in the parsing stage.

Thomas Broyer

More information about the whatwg mailing list