[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 Jun 4 14:10:54 PDT 2010


--- Comment #14 from Ojan Vafai <ojan at chromium.org>  2010-06-04 14:10:53 PST ---
(In reply to comment #12)
> We might be able to fix this issue by modifying createFragmentFromText so it doesn't emit <div> anymore and uses <br> instead. I didn't choose this way because I guessed we may emit <div> in future for another purpose.

I think I would prefer this approach for plain text controls. For rich-text, we'd want to maintain the current behavior.

I would like it even more if we added an ASSERT to text and textWithHardLineBreaks that the text control has no divs in it. It will keep programming for text controls much simpler if we can assume text controls only contain text nodes and BRs.

It's hard to say without seeing the code it would take to make this work though.

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