Opened 12 years ago
Last modified 12 years ago
#10687 confirmed Bug
background-image css not work on chrome
| Reported by: | shahab | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Core : Styles | Version: | 3.0 |
| Keywords: | Chrome | Cc: |
Description
hi
only on chrome have bug not display image
ckeditor version : 4.2 chrome version : 28
<div style="width: 500px;height: 500px;background-image: url('content/files/admins/backgrounds/bg.png');">
<p></p>
</div>
Change History (2)
comment:1 Changed 12 years ago by
| Keywords: | Chrome added |
|---|---|
| Status: | new → confirmed |
| Version: | 4.2 → 3.0 |

Better example is to use sample image in replacebycode sample
<div style="width: 500px;height: 500px;background-image: url('assets/sample.jpg');"> <p> </p> </div>Chrome returns "Resource interpreted as Image but transferred with MIME type text/html" and doesn't display image.
We have another problem concerning this behaviour: #6368. Perhaps both can be fixed with changing mime type to application/javascript or text/javascript - http://stackoverflow.com/questions/3467404/chrome-says-resource-interpreted-as-script-but-transferred-with-mime-type-text