Closed Bug 296718 Opened 20 years ago Closed 19 years ago

Checkbox menuitems have wrong icons when their parent has list-style-image

Categories

(Core :: XUL, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: alex, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050531 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050531 Firefox/1.0+ When a menuitem element that has type="checkbox" is a child of an element that has a list-style-image attribute, it displays the icon of the parent element when unchecked. When the menuitem is checked, it displayed the correct icon (check mark). This is particularly disturbing when the parent element specifies a huge composite icon with list-style-image (and a subregion with -moz-image-region). The whole huge icon appears on the left of the child menuitem's text. Reproducible: Always
This misbehaves with Deer Park on MacOSX, as far as I could see. The example creates a statusbarpanel element with a "list-style-image" attribute (google icon). Clicking on the element opens a popup menu. When the menuitem is unchecked, we see the parent's icon on the menu item, instead of a blank space.
Keywords: testcase
Works for me, tested 1.8.0.4 and current builds of the trunk and 1.8 branch (pre-1.8.1b2).
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: xptoolkit.menus → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: