I have a XUL file in which an iframe element referencing an HTML file. The iframe element looks differently in browser window and in standalone chrome window (use MozillaFirebird -chrome ... command line). In browser window, the iframe is transparent, while in a standalone chrome window, it is opaque with white background, whether or not I apply "style='background-color: transparent" to the HTML and BODY elements.

I know that in nsPresShell.cpp, user preferences about HTML styles are treated differently for chrome windows. However, after I check the style items with DOM Inspector, I can't find any difference in the HTML and BODY styles about background transparency.

How does this difference take effect?

Wang Xianzhu


Reply via email to