[Webkit-unassigned] [Bug 20744] New: Block element inside <a> tag treated as inline element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 9 06:43:29 PDT 2008


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

           Summary: Block element inside <a> tag treated as inline element
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jes_jm at yahoo.com


With the following code:

<a href="whatever"><div><img src="whatever"/><span>text</span></div></a>

The entire div box should be active for clicking to reach the href, because the
div is a block tag.  What actually happens is more like an inline element.  The
image and the text are active with a small space inbetween that is inactive.

I have not tested this on Windows or PPC versions of Safari, but it may be an
issue there as well.


-- 
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