Open Bug 314020 Opened 19 years ago Updated 2 years ago

<menu> XULElement without a <menupopup> child Element are not displayed correctly

Categories

(Core :: XUL, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: didier.moraine, Unassigned)

References

()

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1

The <menu> XULElement are computed with a negative height when they don't have any child <menupopup> element.

Reproducible: Always

Steps to Reproduce:
1. Go to http://www.hevanet.com/acorbin/xul/menubar.xul with Firefox 1.5B2
2. Do the same with Firefox 1.0.7
3. Check that 2 menubars are not displayed correctly with Firefox 1.5B2

Actual Results:  
Check that 2 menubars are not displayed correctly with Firefox 1.5B2


I was able to display my <menu> elements by adding empty <menupopup> childs.
This happens because of the added css rule in xul.css:
menu:empty {visibility:collapse}
This was added in bug 295711.
Blocks: 295711
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: