Closed Bug 310091 Opened 19 years ago Closed 19 years ago

HTML Parser: Selected/checked not showing for select tags as well as radion buttons and checkboxes

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bkernst, Unassigned)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 also version 1.0.6

1 x Hidden field name: usertypeid (could possibly also 
? x Radio buttons named: usertypeinfo (can also be select tag)

When the hidden field comes first, then using checked/selected for radio 
buttons, checkboxes and select drop-down does not show even when it is set in 
the HTML

Reproducible: Always

Steps to Reproduce:
1. Hidden/text field named: usertypeid
2. Radio buttons named: usertypetext
3. One radio button set as checked

Actual Results:  
The checked radio button does not show as checked.

Expected Results:  
The radio button set to checked is supposed to have been selected.

If the hidden (possibly normal text field) comes after the radio buttons then 
it works. This also applies to the select tag.
testcae please
Please add a minimized testcase showing this issue:
https://bugzilla.mozilla.org/attachment.cgi?bugid=310091&action=enter
Marking invalid due to the lack of a testcase.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.