Rule matching oddness with new CSS parser

Lars Knoll khtml-devel@kde.org
Mon, 24 Feb 2003 18:02:41 +0100


> > Yes.  You need the hover/active changes from Safari for them to work
> > (changes to recalcStyle and to how hover/active are matched).  I also
> > added an optimization for detecting descendant rules so that
> > recalcStyle can stay fast.  That involved touching the parser though,
>
> Yes. I thought I moved them over. The popup example on CSS/edge is working
> since then, but the menu example seems to have some problems.
>
> > but I have moved those changes over to the new CSS parser.
>
> Do you have a diff?

Ok, I found the responsible change and fixed it in our CVS. 

It's almost working now (only remaining problem is that the menu doesn't 
always close when I move the mouse away). Guess I'll have to dig a bit more 
to find that one :)

Cheers,
Lars