Closed Bug 14419 Opened 26 years ago Closed 26 years ago

option.text needs to be read/write

Categories

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

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: pollmann, Assigned: pollmann)

References

Details

(Whiteboard: Fix in hand)

Attachments

(2 files)

Need to implement nsHTMLOptionElement::SetText, and something like nsNativeSelectControlFrame::SetText and nsListControlFrame::SetText, update and recompile the idl files.
Severity: normal → major
Status: NEW → ASSIGNED
Target Milestone: M13
*** Bug 18319 has been marked as a duplicate of this bug. ***
in marking bug 18319 as verified - i want to note that bug 18319 has test case attachments for this bug as well as information regarding the DOM; although pollmann seems to know more about this just fine and it's pollman's bug. :)
Attached file test case
Attached file test case 2
Whiteboard: Fix in hand
I have a reviewed fix in my tree, waiting to check in.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
I just checked in the fix. To verify: 1) Pull up "test case 2". - You should see browser alerts "o.text is red" then "o.text is green". - Click on the two "Change option text to Green!" buttons, you should see the list box and combo box option change from "Red" to "Green". For each click, you will also see two browser alerts "Red" then "Green". 2) Pull up "simplified test case" on bug 18319 - The listbox should contain two options, one labeled "one" the other labeled "two". Thanks!
Verified with 2000-01-20-09.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: