[Webkit-unassigned] [Bug 33911] HTMLInputElement::valueAsDate setter support for type=date.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 21 09:46:09 PST 2010


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





--- Comment #6 from Darin Adler <darin at apple.com>  2010-01-21 09:46:09 PST ---
(In reply to comment #3)
> we need complicated code to avoid such update in some cases.

One simple way to do it is to make a temporary copy of the entire object, and
discard it unless you're about to return true.

Another is to have all the logic work on local variables and not modify the
actual ISODateTime object itself at all, and then copy those values into the
object when you're about to return true.

Both of these should be simple refactoring, probably not as complicated as you
are fearing.

-- 
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