Image opened as chrome window doesn't use the global skin

UNCONFIRMED
Unassigned

Status

()

Core
XUL
UNCONFIRMED
7 years ago
7 years ago

People

(Reporter: passfree, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.854.0 Safari/535.2

Steps to reproduce:

The bug can be easily illustrated with the following example:

window.open('chrome://browser/skin/places/query.png', '', 'all,chrome,width=500,height=500')

Essentially we are trying to load the image as chrome and as such avoid using a browser window. This works fine in Mozilla 1.9 and the new window receives the standard white solid background. In Mozilla 2 the background of the image window is transparent indicating that the global skin is not applied.
(Reporter)

Comment 1

7 years ago
Has anyone confirmed this? This generally is the situation for any HTML page loaded with the 'chrome' flag passed to the window.open function.

For example, window.open('path/to/chrome/page.html', 'chrome') will load the page but not load the default skin leaving the page look transparent.
(Reporter)

Comment 2

7 years ago
Created attachment 557523 [details]
screenshot

I just want to clarify that this has nothing to do with global skin or resource://gre-resources/html.css. The fact is that in 2.0 pages opened with the chrome flag have some kind of background while in 6.0 and above the same pages do not have any background and appear transparent.
You need to log in before you can comment on or make changes to this bug.