Subject: | Bug in img using usemap |
HTML-SimpleLinkExtor 1.11
using Perl v5.8.0 built for sun4-solaris-64int
If the usemap attribute is used with an img tag that does not reference an absolute url, only the relative url will be returned by SimpleLinkExtor. To repeat this behavior, add the following to example.html (from the distribution):
<img src="gecko.gif" usemap="#kelp.map">
When accessing all the images URLs (using $extor->img), all URLs except gecko.gif will be absolute. This URL should be returned as "http://www.example.com/relative/gecko.gif".