Closed Bug 13566 Opened 25 years ago Closed 25 years ago

Missing </OPTION> before <OPTGROUP> locks up parser

Categories

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

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: ian, Assigned: harishd)

References

()

Details

A missing </OPTION> tag (which might well happen since they are optional) causes
the parser to lock up if it then comes across an <OPTGROUP> element.

For example:

 <SELECT name="name">
     <OPTION value="a">Option with no close tag
     <OPTGROUP label="OptGroup">
       <OPTION label="Option in OptGroup" value="b">Option in OptGroup</OPTION>
     </OPTGROUP>
 </SELECT>

This test case will lock up the parser:
   http://www.bath.ac.uk/%7Epy8ieh/internet/projects/mozilla/optgroup.html
Assignee: rickg → harishd
Harish -- one for you.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Checked in a FIX :)

Marking FIXED.
Status: RESOLVED → VERIFIED
Verified with Win32 1999-10-04.
You need to log in before you can comment on or make changes to this bug.