[Webkit-unassigned] [Bug 8104] REGRESSION (NativeTextField): New text fields should not allow pasting newlines
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Fri Mar 31 17:10:28 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=8104
------- Comment #3 from adele at apple.com 2006-03-31 17:10 PDT -------
Created an attachment (id=7429)
--> (http://bugzilla.opendarwin.org/attachment.cgi?id=7429&action=view)
initial patch
posting an initial patch...
I ran into a problem while testing a simpler version of this patch. If you
select all at cnn.com, and then go to paste that content into the text field,
we ended up pasting in a newline at the end. I realized that if we did a test
rendering of the plain-text conversion first, and then sent the
BeforeTextInserted event (which causes the truncation).
I don't like doing another test rendering in ReplaceSelectionCommand though.
So I'm trying to find a better solution. Feel free to jump in w/ ideas :)
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list