Closed
Bug 841001
Opened 12 years ago
Closed 12 years ago
Set the textContent of a multiline textbox at construction so the default value is correctly set
Categories
(Core :: XBL, defect)
Core
XBL
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: mounir, Assigned: mounir)
References
Details
Attachments
(1 file)
1.80 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter 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 1•12 years ago
|
||
Comment on attachment 713408 [details] [diff] [review]
Patch
r=I-hate-XBL
Attachment #713408 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 2•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/aba008d4d794
https://hg.mozilla.org/integration/mozilla-inbound/rev/c2c4c82fffc5
Flags: in-testsuite+
Target Milestone: --- → mozilla21
Comment 3•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/aba008d4d794
https://hg.mozilla.org/mozilla-central/rev/c2c4c82fffc5
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•12 years ago
|
||
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
Comment 5•12 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•