Selected attribute does not mark as selected

RESOLVED INCOMPLETE

Status

()

Firefox
General
RESOLVED INCOMPLETE
8 years ago
7 years ago

People

(Reporter: jbl, Unassigned)

Tracking

3.6 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
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>

Comment 1

8 years ago
Does the issue occur with the latest version? Please attach a testcase showing the issue
Version: unspecified → 3.6 Branch

Comment 2

7 years ago
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/

Comment 3

7 years ago
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
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.