[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdelibs/khtml/css
From: Matt Rogers <mattr () kde ! org>
Date: 2004-11-19 13:41:35
Message-ID: 200411190741.35495.mattr () kde ! org
[Download RAW message or body]
On Friday 19 November 2004 02:57 am, Stephan Binner wrote:
> CVS commit by binner:
>
> Color 'http://foo' links as visited if 'http://foo/' is in history
> BUG: 75771
>
>
> M +4 -1 cssstyleselector.cpp 1.328
>
>
> --- kdelibs/khtml/css/cssstyleselector.cpp #1.327:1.328
> @@ -754,5 +754,8 @@ static void checkPseudoState( const CSSS
> }
> //completeURL( attr.string() );
> - pseudoState = KHTMLFactory::vLinks()->contains( u ) ? PseudoVisited :
> PseudoLink; + bool contains = KHTMLFactory::vLinks()->contains( u );
> + if ( !contains && u.contains('/')==2 )
> + contains = KHTMLFactory::vLinks()->contains( u+'/' );
> + pseudoState = contains ? PseudoVisited : PseudoLink;
> }
ChangeLog?
--
"I'll carry your books, I'll carry a tune, I'll carry on, carry over,
carry forward, Cary Grant, cash & carry, Carry Me Back To Old Virginia,
I'll even harakari if you show me how, but I will *not* carry a gun."
-- Hawkeye, M*A*S*H
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic