[Webkit-unassigned] [Bug 57636] Setting defaultValue on a textarea with a modified value still clobbers the value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 1 21:39:41 PDT 2011


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





--- Comment #5 from Boris Zbarsky <bzbarsky at mit.edu>  2011-04-01 21:39:41 PST ---
Quite interesting.  In Opera 11, scripted value changes (as in the attached testcase) on <textarea> allow defaultValue to override value, but if I edit the text in the textarea by typing (as in the original testcase I based mine on) then defaultValue changes don't affect value.  I wasn't expecting Opera to have a difference in behavior there.  None of the other three rendering engines involved seem to: WebKit shows "FAIL" in both scenarios, while Trident and Gecko show "PASS".

Note also that WebKit's behavior here is inconsistent for <textarea> and <input type="text">; the latter behaves as it does in Trident and Gecko.

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