Opened 6 years ago

Last modified 6 years ago

#10331 confirmed Bug

inline css images not displayed in Chrome

Reported by: Juerg Anderegg Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0 Beta
Keywords: Chrome Cc:

Description

I've noticed that background images in chrome are not displayed in CKEditor 4.1 if you enter them as absolute paths:

<div style="background-image: url('/images/test.jpg') => won't display on Chrome

BUT:

<div style="background-image: url('http:www.myserver.com/images/test.jpg') will display on Chrome.

It works on Firefox and Safari

AND: It also works on Chrome using CKEditor 3.x...

Change History (2)

comment:1 Changed 6 years ago by Anna Tomanek

For the reference, this was also reported and discussed on the community forum: http://ckeditor.com/forums/Support/css-background-image-Chrome-bug

comment:2 Changed 6 years ago by Jakub Ś

Keywords: Chrome added
Status: newconfirmed
Version: 4.14.0 Beta

I can confirm this is happening only in Chrome from CKEditor 4 beta (It works in CKE 3.x).

Below code won't work in in Chrome. I can't even see image getting called in Chrome network tab.

<div style="background-image: url('./assets/sample.jpg'); width:200px; height:200px;">aa</div>
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy