Closed Bug 160880 Opened 23 years ago Closed 22 years ago

Multi-line <selects> displaying popups

Categories

(Camino Graveyard :: HTML Form Controls, defect)

PowerPC
macOS
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ben, Assigned: bryner)

References

Details

(Keywords: testcase)

Attachments

(2 files)

With Chimera/2002080205, clicking on an empty area of a multi-line <select> (one with a size=n) displays a popup containing the contents of the select tag. This is particularly noticeable when size=n specifies more lines than there are <options>. For instance, if a <select size=4> has only one <option>, clicking in the blank area under that option displays a popup menu. This bug does not appear in Mozilla/2002073008.
This is a simple test case. Click in the space under "test 4" and a popup menu will appear that displays the contents of the <select> element.
Component: Toolbars & Menus → Page Layout
Confirmed using Chimera/20020801.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
heh, neat! ->bryner or pink?
Assignee: saari → bryner
*** Bug 165057 has been marked as a duplicate of this bug. ***
Component: Page Layout → HTML Form Controls
*** Bug 182364 has been marked as a duplicate of this bug. ***
*** Bug 181662 has been marked as a duplicate of this bug. ***
I just tried this with a binary I built from CVS last night, and it WFM. Context menu of a select item is the same as for the rest of the page. (Containing Back, Forward, Reload, etc.)
Per comment 7, the bug is not a contextual menu of the control-clicking variety, it's an unmodified click in an unused area of a multi-line select. And it's still present in 0.6.0+-2003011204/10.2.3. (The contextual menu works fine.) Mark
Attached patch patchSplinter Review
This is happening because the click listener that brings up the menu for <select>s isn't checking to see whether the <select> element has size > 1 or is multiple-selection
Attachment #117237 - Flags: review+
ajfeldman: When attaching a patch, please request review from someone or it's likely that the patch will go unnoticed. Thanks!
checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
How should I do that?
either by email, or by clicking 'edit' on the attachment, selecting '?' next to review and/or superreview, and entering an email address in the corresponding text field.
So, I presume this was checked in. Verified fixed using 1.0b2.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: