Closed
Bug 133867
Opened 23 years ago
Closed 23 years ago
document.write options do not show up in combobox
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.0
People
(Reporter: john, Assigned: john)
References
Details
Attachments
(2 files)
204 bytes,
text/html
|
Details | |
6.54 KB,
patch
|
rods
:
review+
vidur
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
When you document.write() a selected option into a combobox, blank shows up in
the combobox instead.
Another bug already exists with an obviously poor summary; creating this bug to
hold the patch and get it through the review process.
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
The problem is that when a textnode is added as a child of the option, the
combobox is not notified that the text of the option has changed. This patch
fixes that, as well as a resultant recursion in the content sink. (AppendChild
was called before parser state was eaten up, then BeginUpdate() got called from
the combobox, which flushed the text nodes again, and called AppendChild again
...)
Assignee | ||
Comment 3•23 years ago
|
||
*** Bug 130837 has been marked as a duplicate of this bug. ***
Comment 4•23 years ago
|
||
Comment on attachment 76508 [details] [diff] [review]
Patch
r=rods
Attachment #76508 -
Flags: review+
Comment 5•23 years ago
|
||
Comment on attachment 76508 [details] [diff] [review]
Patch
sr=vidur. Glad to see the recursion problem caught. I'll buy that the fix
works.
Attachment #76508 -
Flags: superreview+
Comment 6•23 years ago
|
||
Comment on attachment 76508 [details] [diff] [review]
Patch
a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #76508 -
Flags: approval+
Assignee | ||
Comment 7•23 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•23 years ago
|
Updated•23 years ago
|
QA Contact: madhur → tpreston
Comment 8•23 years ago
|
||
Verified fixed linux trunk build 2002061808, Win XP trunk build 2002061808 and
Mac OS X trunk build 2002061808
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•