Re: [selectors-api] Handling :link and :visited Pseudo Classes

On Wednesday 2008-04-16 18:36 -0700, L. David Baron wrote:
> On Wednesday 2008-04-16 18:24 -0700, Maciej Stachowiak wrote:
> > I guess you would have to extend this to rules that use :visited or :link 
> > anywhere in the selector (for example before a sibling or descendant 
> > combinator) and make sure the getComputedStyle lies extend to descendants 
> > that inherit the color as well.
> 
> That was my intent.
> 
> (The user agent would, of course, have to resolve the with-history
> and without-history styles eagerly, to prevent timing attacks.)

Er, that's not quite right, but I don't think we need to work out
what is for the purposes of this discussion.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Thursday, 17 April 2008 01:41:30 UTC