Open Bug 118379 Opened 23 years ago Updated 2 years ago

Implement -moz-popup-flags: drop-shadow | none

Categories

(Core :: XUL, enhancement, P5)

enhancement

Tracking

()

Future

People

(Reporter: ian, Unassigned)

References

Details

(Keywords: css-moz, Whiteboard: [Hixie-PF])

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.
Keywords: css-moz
Priority: -- → P5
Whiteboard: [Hixie-PF]
Target Milestone: --- → Future
Blocks: 39403
Depends on: 118368
Hyatt's gone...
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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.