Loading...

dev-extensions@lists.mozilla.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

-moz-image-region in menuitems Axel Grude Fri Feb 03 21:16:53 2012

Does anybody know whether it is possible to use -moz-image-region in menu and menuitem elements?

At the moment the image just shows squashed over the whole height of 32px. Here is a rule that appears to be active on the menuitem.

menupopup.QuickFolders-folder-popup menuitem.color
{
        background-position: 4px 0px  !important;
        background-repeat: repeat-x !important;
        border: 1px solid #444 !important;
        list-style-image : 
url('chrome://quickfolders/skin/ico/folder-color.png') !important;
        -moz-border-radius: 5px 5px 0 0;
        -moz-image-region: rect(0px, 16px, 16px, 0px) !important;
}

the question is, does this not work on list-style-image when in a menuitem (of class menuitem-iconic). Do I need to apply it on a lower level?
menuitem > image?

Or is it completely impossible to use -moz-image-region in menus?

thx
Ax
_______________________________________________
dev-extensions mailing list
[EMAIL PROTECTED]
https://lists.mozilla.org/listinfo/dev-extensions