Closed Bug 32799 Opened 26 years ago Closed 23 years ago

textarea.defaultValue and textarea.value returns null

Categories

(Core :: DOM: Core & HTML, defect, P2)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jcarpenter0524, Assigned: jst)

Details

(Keywords: regression, Whiteboard: beta2+)

Attachments

(1 file)

Overview Description: textarea.defaultValue should hold the initial value of the textarea, but it does not seem to be being stored there. Steps to Reproduce: - see testcase Actual Results: [nothing] Expected Results: "default value 1" Build Date & Platform Bug Found: all platforms 2000-03-21-06
Attached file attaching testcase
Keywords: beta1
Target Milestone: ---
If there are any known sites where this is problematic, please identify them ASAP. Thanks, Jim
Putting on the PDT- radar for beta.
Whiteboard: [PDT-]
QA Contact: gerardok → janc
adding beta2 keyword, and removing pdt status
Keywords: beta2
Whiteboard: [PDT-]
removing beta1 keyword so it doesn't show up on beta1 radar
Keywords: beta1
Keywords: nsbeta2
Status: NEW → ASSIGNED
Target Milestone: --- → M16
Sending to rickg for advice on PR2 stopper.
Whiteboard: [NEED INFO]
Marking beta2+
Whiteboard: [NEED INFO] → beta2+
I just checked in a fix for this, marking FIXED.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
verified fixed
Status: RESOLVED → VERIFIED
reopening bug, textarea.value and textarea.defaultvalue returns null. This is a regression from 6.2, adding keyword regression.
Status: VERIFIED → REOPENED
Keywords: regression
Priority: P3 → P2
Resolution: FIXED → ---
Summary: textarea.defaultValue does not contain a value → textarea.defaultValue and textarea.value returns null
changing to dom html from dom other
Status: REOPENED → NEW
Component: DOM Other → DOM HTML
QA Contact: janc → stummala
The testcase here does getAttribute("defaultValue") rather than DOM .defaultValue. getAttribute() gets the HTML attribute which, as you can see, does not exist on textarea. http://www.w3.org/TR/html401/interact/forms.html#h-17.7 RESOLVING back to FIXED because presumably Johnny actually fixed something.
Status: NEW → RESOLVED
Closed: 25 years ago23 years ago
Resolution: --- → FIXED
verified
Status: RESOLVED → VERIFIED
Component: DOM: HTML → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: