[Webkit-unassigned] [Bug 60543] New: Generated content inside a link should be clickable (and focusable)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 10 04:08:54 PDT 2011


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

           Summary: Generated content inside a link should be clickable
                    (and focusable)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://software.hixie.ch/utilities/js/live-dom-viewer/
                    saved/979
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: myakura.web at gmail.com


Suppose there's an anchor which has no text content but has a generated content applied by CSS, like the following fragment:

<style>
a:before { content: "foobar" }
</style>
<a href="http://example.com/"></a>

Even though the <a> doesn't have any textContent at all, this will show a link with an anchor text "foobar". Clicking it should take us to http://example.com/
However, sometime around early Chrome 12 build, Chrome (and WebKit Nightly) starts not activating the link when clicking nor being focusable by the tab key.

Since it works in Gecko, Presto, Trident, and old WebKit, it should keep working.

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



More information about the webkit-unassigned mailing list