Why doesn't background-color works for my xul app?
问题 Running this xul app: <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <window width="400" height="300" style="background-color:transparent;" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <label value="MAIN WINDOW"/> </window> my window background is showing up. Is there a way to make it transparent (without get rid of the chrome://global/skin/ )? 回答1: On Linux and Windows, toolkit also themes windows with -moz-appearance: window;