<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>60543</bug_id>
          
          <creation_ts>2011-05-10 04:08:54 -0700</creation_ts>
          <short_desc>Generated content inside a link should be clickable (and focusable)</short_desc>
          <delta_ts>2011-05-23 18:09:05 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>58422</dup_id>
          
          <bug_file_loc>http://software.hixie.ch/utilities/js/live-dom-viewer/saved/979</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Masataka Yakura">myakura.web</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>jchaffraix</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>401126</commentid>
    <comment_count>0</comment_count>
    <who name="Masataka Yakura">myakura.web</who>
    <bug_when>2011-05-10 04:08:54 -0700</bug_when>
    <thetext>Suppose there&apos;s an anchor which has no text content but has a generated content applied by CSS, like the following fragment:

&lt;style&gt;
a:before { content: &quot;foobar&quot; }
&lt;/style&gt;
&lt;a href=&quot;http://example.com/&quot;&gt;&lt;/a&gt;

Even though the &lt;a&gt; doesn&apos;t have any textContent at all, this will show a link with an anchor text &quot;foobar&quot;. 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408525</commentid>
    <comment_count>1</comment_count>
    <who name="Julien Chaffraix">jchaffraix</who>
    <bug_when>2011-05-23 18:09:05 -0700</bug_when>
    <thetext>Bug already covered by 58422 (which is a P1).

*** This bug has been marked as a duplicate of bug 58422 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>