Closed Bug 651008 Opened 13 years ago Closed 13 years ago

Radio-typed menu items do not display check mark when selected

Categories

(Firefox :: Theme, defect)

4.0 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 643184

People

(Reporter: juan, Unassigned)

Details

(Keywords: regression, testcase, Whiteboard: [DUPEME?] 643184)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

Menu items with type="radio" attribute do not display the respective check mark when they are selected.

Only occurs on OS X with FF4.

Reproducible: Always

Steps to Reproduce:
Based on the attached test file

1. open the file
2. open the toolbarbutton drop down menu
3. select any of the options
4. open the toolbarbutton drop down menu again
Actual Results:  
The selected option does not display the respective check mark on its left

Expected Results:  
The selected option displays the respective check mark on its left
Use this test file to reproduce the problem with radio-typed menu items
I can confirm this happens on 4.0 and not on 3.6. I didn't confirm that it works on 4.0 on other platforms. Also note that the menuitems from the main menubar (like in View > Page Style) work correctly.

To try the testcase on 4.0, you need to set the preference "dom.allow_XUL_XBL_for_file" to true.
Status: UNCONFIRMED → NEW
Component: Menus → Theme
Ever confirmed: true
Keywords: regression, testcase
QA Contact: menus → theme
Version: unspecified → 4.0 Branch
Forgot to mention the cause: the menuitem element has a child box that has its background-image property set to the check icon. For some reason the width of this box is set to 0 by default, except for the main menuitems as mentioned in comment #2. Setting the width to some other value with CSS fixes the problem.
I would say it's a dupe of bug 643184. Roc or Markus, do you agree with?
Whiteboard: [DUPEME?] 643184
Yes although comment #3 has more data than that bug.
We have an ongoing discussion re blocking on bug 643184. So I have blockquoted Jorges comment on bug 643184 and we can mark it as dupe. Thanks Roc.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: