1. Open Safari/WebKit
2. Enable Develop menu
3. Right click an image
4. Choose "Inspect Element"
In Web inspector
1. Right click on image link
2. Notice context menu
Options are as follows
(description of how they work in brackets)
- Open Link
(does not work: nothing is opened)
- Open Link in New Window
(does not work: no new window appears)
- Download Linked File
(does not work: no file is downloaded)
- Copy Link
(this one works OK)
- Inspect Element
(opens second instance of web inspector over the existing one, this is probably wrong an definitely confusing)
While the "Inspect Element" bit is definitely confusing, it's the only obvious way I know of to allow you to debug the inspector. Since debugging the inspector is something very few people will ever need to do, we really should fix this - ie, remove the menu item. However, at the same time, we still need to provide a way to allow the inspector to be debugged, somehow.
So, if it's decided that we need to fix the context menu and remove the "Inspect Element", let's arrange to open a new bug to provide a way to allow the inspector to be debugged.
(In reply to comment #1)
> So, if it's decided that we need to fix the context menu and remove the
> "Inspect Element", let's arrange to open a new bug to provide a way to allow
> the inspector to be debugged.
The other items that do not currently work still need fixing, too.
The context menu is the default one WebKit supplies. It really isn't intended to work, and needs replaced with real context menus specific to items in the Inspector.
*** Bug 18147 has been marked as a duplicate of this bug. ***
My suggestion is to remove that menu altogether and implement a custom menu which is more powerful and actually improves features. See http://code.google.com/p/chromium/issues/detail?id=29271 for the complete details of a suggested context-menu (I think that I probably should have posted the bug here rather than there but too late now...)
This issue is no longer relevant to Safari 5, but other problems remain. See: https://bugs.webkit.org/show_bug.cgi?id=40818
Actually, some menu items that do not work are still present when you right click images or URIs in the CSS inspector
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests.
Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.