Ticket #63 (closed Bug: fixed)
Safari: context menu icons are not showing
| Reported by: | FredCK | Owned by: | |
|---|---|---|---|
| Priority: | High | Milestone: | Safari Compatibility |
| Component: | General | Version: | |
| Keywords: | Cc: |
Description
In the context menu, the icons are not being shown. The "?" image placeholder is shown instead.
Change History
comment:2 Changed 6 years ago by FredCK
Actually the icons seam to load when the context menus are displayed, but they are all replaced with the "?" image right after it.
comment:3 Changed 6 years ago by FredCK
WebKit Bugzilla:
http://bugs.webkit.org/show_bug.cgi?id=12256
comment:4 Changed 6 years ago by FredCK
The icons are loaded from a image strip (a single image with all icons on it). The icon tag is something like this:
<img class="TB_Button_Image" src="spacer.gif" style="background-position: 0px -16px;background-image: url(strip.gif);">
So, it seams that for some reason "spacer.gif" is not being found.
comment:6 Changed 6 years ago by alfonsoml
Just as the editor loads it generates a bad request for _samples/html/images/spacer.gif, and that same request does repeat again when the context menu is shown.
It can be related to this one: http://bugs.webkit.org/show_bug.cgi?id=12408
comment:7 Changed 6 years ago by alfonsoml
- Status changed from new to closed
- Resolution set to fixed
After creating the simplified testcase for the Webkit bug I've made some other tests and setting the base element of the created iframe in the FCKPanel element seems to be enough to workaround the problem. I've committed the change in [368], although it might be necessary to do the same change in the FCKToolbarSet_Create function (but first we should check how the bug exhibits there so we can check that it's been fixed).
BTW: the [367] testcase is about this bug, of course.

The arrow for nested menus is not being displayed too. Probably for the same reason.