[Webkit-unassigned] [Bug 9358] REGRESSION: Assertion failure in HTMLInputElement::setValueFromRenderer (value == constrainValue(value)) when deleting all text
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Thu Jun 29 08:30:11 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=9358
darin at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #9089|review? |review-
Flag| |
------- Comment #8 from darin at apple.com 2006-06-29 08:30 PDT -------
(From update of attachment 9089)
It's driving me crazy too!
This is an acceptable workaround for the problem, but not the right way to fix
the problem.
I don't want an extra call to constrainValue here in the production code in the
long term.
I'd prefer isEmpty() to length() == 0, and I'd like a comment here that
explains exactly why we need a special case.
Perhaps a better way to do it would be to add code like this before the assert:
// Workaround for bug where trailing \n is included in the result of
textContent.
// <URL of a new bug report>
if (value == "\n")
value = "";
--
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