Closed Bug 1315679 Opened 4 years ago Closed 4 years ago

Convert devtools CSS files to be loaded as resource://

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(firefox52 affected)

RESOLVED DUPLICATE of bug 1311541
Tracking Status
firefox52 --- affected

People

(Reporter: jdescottes, Unassigned)

References

Details

After Bug 1311178 landed, light-theme.css contains the following import statements:

> @import url(resource://devtools/client/themes/variables.css);
> @import url(resource://devtools/client/themes/common.css);

When loading light-theme.css in a content tab, the imports will fail. For devtools-html it would be nice if we could rely only on relative imports in our CSS files.

As I understand from the comments in Bug 1311178, this means we should make sure all our stylesheets are always requested as resource:// urls in the first place.
(In reply to Julian Descottes [:jdescottes] from comment #0)
> 
> As I understand from the comments in Bug 1311178, this means we should make
> sure all our stylesheets are always requested as resource:// urls in the
> first place.

jryans, just want to make sure I'm not missing something before I start working on this, so let me know what you think.
I will probably clean up the loading of theme files first to unblock the devtools-html bugs.
Flags: needinfo?(jryans)
See Also: → 1311178
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1311541
Whiteboard: [devtools-html] [triage]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.