[Webkit-unassigned] [Bug 21309] New: Image inside a javascript protocol link doesn't show

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 2 09:08:47 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=21309

           Summary: Image inside a javascript protocol link doesn't show
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh PowerPC
               URL: http://zanstra.com/x/webkit/qoop-img.html
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: doekman at gmail.com


An image inside a link with an javascript-protocol url only returning void is
not displayed. The markup:

  <a href="javascript:void 0;"><img
src="http://webkit.org/images/download.png"></a>

If the javascript protocol actually performs something, the image is displayed:

<a href="javascript:alert('hoi');void 0;"><img
src="http://webkit.org/images/download.png"></a> 

Real world usage: search results on www.qoop.nl (a Dutch collectors market
place).

The URL points to a testcase (same as markup above). The first image doesn't
show, but is expected to be shown.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list