Opened 10 years ago

Last modified 10 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:



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');">

Change History (2)

comment:1 Changed 10 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');">

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 -

comment:2 Changed 10 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