Rule matching oddness with new CSS parser

David Hyatt khtml-devel@kde.org
Mon, 24 Feb 2003 11:20:04 -0800


The menu not closing is a bug in Safari too.  I need to track that down.

On Monday, February 24, 2003, at 09:02 AM, Lars Knoll wrote:

>
>>> 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
>
>
>
> _______________________________________________
> Khtml-devel@mail.kde.org
> http://mail.kde.org/mailman/listinfo/khtml-devel