Opened 12 years ago
Last modified 12 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 12 years ago by
comment:2 Changed 12 years ago by
Keywords: | Chrome added |
---|---|
Status: | new → confirmed |
Version: | 4.1 → 4.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>
For the reference, this was also reported and discussed on the community forum: http://ckeditor.com/forums/Support/css-background-image-Chrome-bug