In content script which is injected to web-page I have added inline styles and link to css file. This is what I see when I inspect the DOM:
<head>
<style id="styles">div#panel { position: absolute; z-index: auto; border-radius: 3px; height: auto; }
div#panel ul li { display:inline;list-style-type: none; margin: 0; content: "\0020"; }div#_panel ul li:before { list-style-type: none; content: "\25B6"; }div#panel ul li.none:before { content: ""; }</style>
<link rel="stylesheet" href="moz-extension://24e6c258-33c5-49d6-ae4d-e2d14e8ba2e4/pages/output_black.css" type="text/css" media="screen">
</head>
The link seems to be OK, I can see the styles when I open the link. But I do not see the style from file applied in the html element. In the file there is black background for the div, but it stays without background.
Why is it?