[Webkit-unassigned] [Bug 39801] REGRESSION (r45962): Pasted newlines are stripped on form submit at paste.nerv.fi

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 28 17:09:49 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39801





--- Comment #5 from Ojan Vafai <ojan at chromium.org>  2010-05-28 17:09:48 PST ---
Got into this in a debugger. The problem is that we now propagate the white-space:no-wrap. On paste, we use divs for line-breaks instead of BRs if white-space:no-wrap. If white-space:pre-wrap, then we insert BRs.

There's a simple fix to RenderTextControl::text to detect divs and insert newlines. The deeper fix would be to figure out why we insert divs instead of BRs.

I'm surprised we don't have the same bug with wrap=OFF though. With wrap=OFF, we still insert newlines on paste.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list