Persona is no longer an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 759190 - contentStyleFile breaks relative paths in stylesheets
: contentStyleFile breaks relative paths in stylesheets
Product: Add-on SDK
Classification: Client Software
Component: General (show other bugs)
: unspecified
: x86 All
: P1 normal with 1 vote (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
Depends on: 837494
Blocks: 760233
  Show dependency treegraph
Reported: 2012-05-28 13:49 PDT by Brian King [:kinger]
Modified: 2013-04-10 09:45 PDT (History)
5 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---


Description Brian King [:kinger] 2012-05-28 13:49:08 PDT
I've been playing around with using contentStyleFile in page-mod:

What I found is that if you have media in the style sheets added that are using relative paths, e.g.

background: rgb(249, 249, 249) url('../../img/mozorg-gradient.png') repeat-x top center;

... they are not found.

What scope are files loaded via contentStyleFile in? How can I include images and other media in these stylesheets? It might get painful to add custom paths to each, especially in the case of stylesheets of 3rd party libraries for example.
Comment 1 Matteo Ferretti [:zer0] [:matteo] 2013-04-10 08:59:32 PDT
This bug should be fixed now, by bug 837494. Feel free to re-open it if the behavior persist.

Note You need to log in before you can comment on or make changes to this bug.