As the title says, I have encountered an issue where attempting to use the `content` CSS attribute to replace the content of an element with an image.
I have produced a minimal example which shows 3 different ways of displaying an image across 3 browsers. As you can see, both of the images displayed using `content` are missing in Pale Moon but display fine in Chromium and Firefox:
Code: Select all
<style>
.test {
content: url('https://forum.palemoon.org/styles/prosilver_se/theme/images/logo_70.png');
}
}
</style>
<p>img:</p>
<img src="https://forum.palemoon.org/styles/prosilver_se/theme/images/logo_70.png"/>
<p>span content:</p>
<span class="test"></span>
<p>div content:</p>
<div class="test"></div>