Opened 11 years ago

Last modified 11 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 11 years ago by Jakub Ś

Keywords: Chrome added
Status: newconfirmed
Version: 4.23.0

Better example is to use sample image in replacebycode sample

<div style="width: 500px;height: 500px;background-image: url('assets/sample.jpg');">
<p>&nbsp;</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

comment:2 Changed 11 years ago by oliverseal

How are the files being served? node? a python server?

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy