Overview Description: If you use DOM to change the value in a textarea, then look at that value, DOM still sees the old value Steps to Reproduce: - see testcase Actual Results: DOM sees "default value 1" as the value of the textarea Expected Results: DOM should see "fun fun fun" as the value of the textarea Build Date & Platform Bug Found: All platforms 2000-03-21-06
Please identify ASAP any known high-profile sites that depend on this. Thanks, Jim
Putting on the PDT- radar for beta.
adding beta2 keyword, and removing pdt status
removing beta1 keyword so it doesn't show up on beta1 radar
This problem actually appears to be that getAttribute('value') and .value don't agree on the same value. Browsing through the code, it is probably because nsHTMLTextAreaElement::SetValue (in layout) does not call SetAttribute and thus setting .value has only a visible effect without changing the underlying property. (Then again, I don't fully understand the code) Attached a new testcase demonstration the difference between getAttribute and .value
Status: NEW → ASSIGNED
Target Milestone: --- → M16
Fwded to rickg to get his opinion on PR2 stopper here.
Whiteboard: [NEED INFO]
Whiteboard: [NEED INFO] → beta2+
I just checked in a fix for this, marking FIXED.
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.