Closed Bug 4382 Opened 26 years ago Closed 26 years ago

Pop-up menu items that contain comments do not display

Categories

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

All
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: elig, Assigned: karnaze)

References

()

Details

* TITLE/SUMMARY Pop-up menu items are blank when viewed in Gecko * STEPS TO REPRODUCE 0) Launch Apprunner 1) Load the web page at http://www.prometheus-music.com/gecko/attworldnet2.html (about 10% of what's on http://www.att.net, which exhibits the same problem) * RESULT - What happened The pop-up menu containing the list of available search engines contains the correct number of entries, but the pop-up menu is about seven spaces long and empty. (The first menu item contains a square bullet on Mac OS.) I've tried to decompose the bug further, but haven't been able to progress efficiently enough to justify more time spent. Can't reproduce on other sites. - What was expected Behavior equivalent to Navigator 4.x. * REGRESSION - Occurs On Mac OS Apprunner (3.29.99 optimized build) Win32 Apprunner (3.26.99 optimized build [NT 4, Service Pack 3]) Linux Apprunner (3.26.99 optimized build) - Doesn't Occur On Mac OS Communicator 4.5 (RTM) Win32 IE 4.0 * CONFIGURATIONS TESTED - [Mac] Power Mac 8500/120 (233 Mhz 604e), 64 MB RAM (VM on; 1 MB of VM used), 1024x768 (Thousands of Colors), Mac OS 8.5.1 - [Win32] Vectra VL (233 Mhz P2), 96 MB RAM, 800x600 (True Color), NT 4.0 SP3. - [Linux] Vectra VL (266 Mhz P2), 96 MB RAM.
Summary: Pop-up menu items are blank when viewed in Gecko → Pop-up menu items that contain comments do not display
The problem appears to be with comments inside of OPTIONs. Look at http://schist/att.html for a very pared-down example reproduced below. If the comments are removed from the OPTIONs, the option is correctly displayed. <FORM NAME="SearchForm" ACTION="http://www.att.net/cgi-bin/srchall" METHOD="GET"> <B>Search</B> <INPUT TYPE="text" SIZE="18" NAME="string" MAXLENGTH="40"> <SELECT NAME="engine"> <OPTION VALUE="EX" SELECTED>Excite <OPTION VALUE="IS"><!-- (#) -->Infoseek <OPTION VALUE="LY"><!-- (#) -->Lycos </SELECT> </form>
Just FYI, this also takes place on www.sony.com's pop-up menus using the 3.29.99 build. I only gave 'em a quick glance, but I don't see any comments in the pop-up menus; perhaps this bug may actually have more than a single trigger.
Here's a snippet from Sony - perhaps the double hyphen is causing the problem? (Nothing after the double hyphen displays in seamonkey.) <SELECT NAME="target" ONCHANGE="GoUrl(this)"> <OPTION VALUE="/goto-sony" selected>Quick Link</OPTION> <OPTION VALUE="/goto-sony">.........................................................</OP TION> <OPTION VALUE="/goto-sca">Sony Corporation of America</OPTION> <OPTION VALUE="/goto-press"> -- Press Releases</OPTION> <OPTION VALUE="/goto-jobs"> -- Jobs</OPTION> <OPTION VALUE="/goto-ads"> -- How to Advertise@Sony</OPTION>
Status: NEW → ASSIGNED
I've got a fix for both examples and will check it in when the tree opens. The double hyphen is ok to put in the list.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Status: REOPENED → RESOLVED
Closed: 26 years ago26 years ago
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.