[Bug 13983] WF2: It seems like textarea's raw value should always normalize newlines to \n

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13983

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #11 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-11-02 19:42:48 UTC ---
Ah, well that's good to know.

Changing this basically makes textLength useless — until now, it's been
useful because it compares to maxlength="". But I guess if it equals
value.length it's useless anyway.

So new proposal:
 - value should be raw value normalised to \n.
 - raw value with \n turned to \r\n is what is submitted.
 - setting value sets raw value unmodified
 - textLength returns value.length
 - textContent should not be normalised

I think this matches Chrome, more or less.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 2 November 2011 19:42:55 UTC