Closed Bug 484388 Opened 16 years ago Closed 16 years ago

'View Background Image' unavailable on <a> elements with background images.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 287048

People

(Reporter: jason.cipriani, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729) The "view background image" context menu option is unavailable for <a> link elements that have background images set via the background-image style. Reproducible: Always Steps to Reproduce: Option to view background image will be unavailable for elements like this: <a style="background-image:url(background.png)" href="link.html">Link with background image.</a> Here is a complete example: <html><body> <a style="background-image:url(http://i3.microsoft.com/en/shared/templates/components/cspMscomHeader/m_head_blend.png)" href="">Link with background image.</a> </body></html> A more realistic example is the logo in the top-left corner of these two pages: http://www.casualcollective.com/ http://wiki.casualcollective.com/ Actual Results: Right clicking the link shows the standard link context menu. Expected Results: Right clicking the link should show the standard link context menu along with "View Background Image". There is no easy workaround. You must trudge through the page source or view the computed style in the DOM Inspector to find the background image URL.
Attached file Test case. (deleted) —
A small self-contained test case with various examples of <a> elements with background images.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: