Closed Bug 841001 Opened 9 years ago Closed 9 years ago

Set the textContent of a multiline textbox at construction so the default value is correctly set

Categories

(Core :: XBL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: mounir, Assigned: mounir)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
Given that the added text node isn't notified, HTMLTextAreaElement has no idea there is a default value [1]. This patch works around the issue by setting the text node in the ctor, making the HTMLTextAreaElement aware of it.
Attachment #713408 - Flags: review?(bzbarsky)
Comment on attachment 713408 [details] [diff] [review]
Patch

r=I-hate-XBL
Attachment #713408 - Flags: review?(bzbarsky) → review+
Given that bug 597525 has been backed out, I backed out the code written for this bug but kept the test in the tree:
https://hg.mozilla.org/integration/mozilla-inbound/rev/bf4dd3992384
You need to log in before you can comment on or make changes to this bug.