[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: [patch] Re: cssRules / ID selectors
From:       Paul Temple <paul.temple () gmx ! net>
Date:       2005-02-11 22:46:30
Message-ID: 200502112346.30630.paul.temple () gmx ! net
[Download RAW message or body]

Leo Savernik wrote:
> Am Freitag, 11. Februar 2005 04:30 schrieb Paul Temple:
> > -    if ( cs->tag == 0xffffffff && cs->attr == ATTR_ID &&
> > cs->match == CSSSelector::Exact )
> > +    if ( cs->tag == 0xffffffff && cs->match ==
> > CSSSelector::Id )
>
> Does it still work if you write
>
>     if ( cs->tag == 0xffffffff && cs->attr == ATTR_ID &&
> cs->match == CSSSelector::Id )

Yes, it works, though I don't yet fully understand what cs->attr 
is about.
I thought it handles attribute selectors like for instance
input[type=button]
At least later in that method it is used for that.

I'll look into that when I finished configuring my new system... 
If you have an explanation on why cs->attr is not only used for 
attribute selectors, tell me please :)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic