Closed Bug 68549 Opened 24 years ago Closed 24 years ago

clicking image map copies information to clipboard.

Categories

(Core :: DOM: Selection, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 52538

People

(Reporter: matthewmelvin, Assigned: mjudge)

References

()

Details

The top of the geek tools page contains two image maps - the main 'Geek tools' title links to comments and a text only version, the other is a nav bar to the various tools. Clicking on the 'Geek tools' image map take you to the correct page but copies "[GeekTools]" (literally containing the square brackets). Clicking on the nav bar also sends you to the correct page cut copies "<http://www.geektools.com/images/nav.gif>" (again the angle brakets are literal) to the clipboard. Very annoying if you've copied something you want to past into a form (like an IP to whois) but find it's been replaced by some code from the page. Looking at the page source "GeekTools" (with out brackets) is the ALT tag for the first image map. The second map does not have an ALT tag but "nav.gif" is the IMG SRC tag. Creating a test page containing only... <BODY> <TD><IMG SRC="image_src.gif" usemap="#map"></TD> </BODY> ... and alternativly... <BODY> <TD><IMG SRC="image_src.gif" ALT="alt tag" usemap="#map"></TD> </BODY> ... confirms that clicking on an image map copes the alt tag if there is one, or the img src if there is not.
May be related to bug 52538.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Dup of bug 52538 "Clicking on an image blows away whatever is on clipboard" (The bug formerly known as bug 36809) *** This bug has been marked as a duplicate of 52538 ***
You need to log in before you can comment on or make changes to this bug.