Open Bug 118379 Opened 19 years ago Updated 10 years ago
Implement -moz-popup-flags: drop-shadow | none
At the moment we hard code whether a popup (or window, come to think of it) should have a drop shadow. It would be nice if this was under the control of the skin or theme. It should therefore be keyed off a new '-moz-popup-flags' property rather than on the element tag name. -moz-popup-flags should support "drop-shadow" or "none". We could also use this property to add support for popup windows being other special classes, such as a balloon help class on platforms that support it. This property should also apply to the root element of windows opened as chrome (i.e. the <dialog> or <window> tags in XUL but not to <html> elements in the pages opened by the web browser.)
We would probably also want to have: -moz-popup-flags: context-menu; -moz-popup-flags: select-menu; -moz-popup-flags: tooltip; -moz-popup-flags: window; ...which would mean "use whatever the native setting would be for windows of this type", which is similar to how the UI keywords of the 'font' property work.
Priority: -- → P5
Target Milestone: --- → Future
Assignee: hyatt → nobody
OS: Windows XP → All
QA Contact: jrgmorrison → xptoolkit.menus
Hardware: PC → All
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.