Closed Bug 582651 Opened 14 years ago Closed 13 years ago

Selected attribute does not mark as selected

Categories

(Firefox :: General, defect)

3.6 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jbl, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8

Setting selected attribute on a <select> tag with its text/ innerHTML containing special character(s) does not mark/ show up as selected.
The selected attribute is added, it just doesn't show up, which is irritating to casual users.

Reproducible: Always

Steps to Reproduce:
<select name="name[]" multiple="multiple" size="auto">
<option>foo</option>
<option value="foo:bar" selected="selected">foo&#32;&raquo;&#32;bar</option>
</select>
Actual Results:  
<select name="name[]" multiple="multiple" size="auto">
<option>foo</option>
<option value="foo:bar">foo&#32;&raquo;&#32;bar</option>
</select>
Does the issue occur with the latest version? Please attach a testcase showing the issue
Version: unspecified → 3.6 Branch
Reporter -> Are you still experiencing this issue with the latest version of Firefox 3.6.16? Does the issue occur with Firefox 4? Does the issue occur with the latest nightly? http://nightly.mozilla.org/
Closing bug as Incomplete - if you are still experiencing this issue or have more information to provide feel free to post back here and we can re-open the bug. You can also get assistance by visiting the Firefox help site -> http://support.mozilla.com/en-US/kb/Ask+a+question
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.