when we were using <BR>'s in plaintext, this wasn't an issue. when we switched to using \n, we needed to put in an extra check to transform CRLF to space. partial fix bug 20387 (scroll bars appearing in single line text control) part of the problem is we were leaving an empty text node lying around after inserting the bogus <br> this induced layout to add a line after the <BR>, making the document in an empty text control too tall Kin still has the task of hiding the scroll bar in certain situations, but this was the right thing to do anyway. r=kin git-svn-id: svn://10.0.0.236/trunk@56544 18797224-902f-48f8-a5cc-f745e15eee43
57 KiB
57 KiB