Closed
Bug 92241
Opened 23 years ago
Closed 23 years ago
Nested "optgroup" sections do not display correctly
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: webmstr, Assigned: rods)
Details
From Bugzilla Helper: User-Agent: Mozilla/4.78 [en] (Windows NT 5.0; U) BuildID: 2001072403 Using nested "optgroup" (HTML 4.0) within a form select statement does not display data (select lists - options) correctly. Reproducible: Always Steps to Reproduce: 1.Create a select statement using: <form> <select> <optgroup label="blah group"> <option>blah1a</option> <option>blah1b</option> <optgroup label="level 2"> <option>blah2a</option> <option>blah2b</option> </optgroup> </optgroup> </select> </form> 2. click on form select button 3. list is displayed incorrectly Actual Results: nested optgroups do not work Embassy Suites Burlingame Irvine Los Angeles Covina Downey Napa Valley Holiday Inn Expected Results: nest optgroups to display as such Embassy Suites Burlingame Irvine Los Angeles Covina Downey Napa Valley Holiday Inn
Comment 1•23 years ago
|
||
According to http://www.w3.org/TR/html401/interact/forms.html#h-17.6 - "In HTML 4, all OPTGROUP elements must be specified directly within a SELECT element (i.e., groups may not be nested)."
Comment 2•23 years ago
|
||
Duplicate of "Nested OPTGROUP outdents too much" And yes, the page is invalid per spec. *** This bug has been marked as a duplicate of 79431 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•