Open
Bug 340638
Opened 18 years ago
Updated 2 years ago
XUL does not invert background color in dropdown when mouse is over an item
Categories
(Core :: XUL, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: naseem.amjad, Unassigned)
Details
Attachments
(1 file)
33.05 KB,
image/jpeg
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 I have developed a xul file with following code. ========================================================================== <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin" type="text/css"?> <!DOCTYPE overlay SYSTEM "test.dtd"> <!-- XUL/FireFox Bug Reported by Naseem Amjad--> <overlay id="firefoxdropdownbug" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <vbox> <menulist id="checking"> <menupopup> <menuitem label="One" style="background-color:#0099FF " /> <menuitem label="Two" style="background-color:#AA99FF " /> <menuitem style="background-color:#FF99FF " label="Three"/> </menupopup> </menulist> </vbox> </overlay> ============================================================================= The code simply shows menuitems with diferent background colors. Now when a user hovers over an item (while selecting the option from dropdownmenu/menulist the color of text is inverted (which is normal behaviour) but the color of BACKGROUND does not get inverted. Reproducible: Always Steps to Reproduce: 1. Create XUL or XPI with menulist/dropdownlist having items with diferent background colors. 2. Hover over a menuitem Actual Results: You will notice that background color of menuitem does not invert. Expected Results: The background color of menuitem should invert. The html page works fine and inverts background color of option in select tag. Seems that this bug is in XUL handler only. Here is the HTML code. ========================= <HTML> <BODY onLoad="FillKeyboardListCombo()"> <form name="form1" method="post" action=""> <select name="select"> <option style="background-color:#0099FF ">One</option> <option style="background-color:#AA99FF ">Two</option> <option style="background-color:#FF99FF ">Three</option> </select> </form> </BODY> </HTML> =================================== I have also uploaded the screen shot. Plz visit http://www.geocities.com/naseem_amjad/delme/bug_in_firefox.jpg to view the screens.
Reporter | ||
Comment 1•18 years ago
|
||
Comment 2•18 years ago
|
||
Not an EM bug. Firefox -> Menus for triage
Component: Extension/Theme Manager → Menus
QA Contact: extension.manager → menus
Updated•18 years ago
|
Component: Menus → XP Toolkit/Widgets: Menus
Product: Firefox → Core
QA Contact: menus → xptoolkit.menus
Version: unspecified → Trunk
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: xptoolkit.menus → xptoolkit.widgets
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•