<?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>70470</bug_id>
          
          <creation_ts>2011-10-19 20:27:50 -0700</creation_ts>
          <short_desc>[REGRESSION] text color in link always uses visited color</short_desc>
          <delta_ts>2011-10-23 06:35:25 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>70122</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mike Lawther">mikelawther</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hyatt</cc>
    
    <cc>koivisto</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>487265</commentid>
    <comment_count>0</comment_count>
    <who name="Mike Lawther">mikelawther</who>
    <bug_when>2011-10-19 20:27:50 -0700</bug_when>
    <thetext>Test code:

&lt;style&gt;
    .foo {color: red;}
    a:visited{ color: green;}
&lt;/style&gt;
&lt;a href&gt;
 &lt;div class=foo&gt;hello&lt;/div&gt;
&lt;/a&gt;
&lt;div class=foo&gt;hello&lt;/div&gt;

Expected: Both &apos;hello&apos;s are colored red
Actual: The &apos;hello&apos; in the link is colored green

This was introduced by http://trac.webkit.org/changeset/97638 (I&apos;ve confirmed this by building r97637 and r97638 locally).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>487473</commentid>
    <comment_count>1</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2011-10-20 04:17:57 -0700</bug_when>
    <thetext>I don&apos;t see this problem in ToT. I suspect it was fixed by http://trac.webkit.org/changeset/97745</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>487913</commentid>
    <comment_count>2</comment_count>
    <who name="Mike Lawther">mikelawther</who>
    <bug_when>2011-10-20 15:18:47 -0700</bug_when>
    <thetext>Ah cool - thanks Antti.  I see now that WebKit Nightly has been stuck at r97664 for the last couple of days, which is how my bisect-builds missed the fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>487945</commentid>
    <comment_count>3</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2011-10-20 15:45:29 -0700</bug_when>
    <thetext>You should land that test case though. I don&apos;t think it is covered atm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>488036</commentid>
    <comment_count>4</comment_count>
    <who name="Mike Lawther">mikelawther</who>
    <bug_when>2011-10-20 17:42:28 -0700</bug_when>
    <thetext>OK - I&apos;ve changed the colors so that red only shows on error, and filed as https://bugs.webkit.org/show_bug.cgi?id=70568.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>489015</commentid>
    <comment_count>5</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2011-10-23 06:35:25 -0700</bug_when>
    <thetext>

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

    </bug>

</bugzilla>