From: Bjoern H. <der...@gm...> - 2003-07-07 00:07:59
|
Hi Robin, I have a ruleset p:first-line { } CSS::SAC fails to parse it. Around line 1000 | # here we need to check whether the next token is also a selector | # if it is, we need to make an AND_CONDITION containing the two selectors | # and to attach it to a universal selector | # then we'll have to mix it into the $cond below. | if (@tokens) { | eval { $tokens[0]->SelectorType }; | if (!$@) { | my $and_cond = $sac->[_cf_]->create_and_condition($selector,shift @tokens); | $selector = $sac->[_sf_]->create_element_selector(undef,undef); | } | } $and_cond is lost and $selector is useless from this point, thus one gets bless([bless([9],'CSS::SAC::Selector::Element')],'CSS::SAC::SelectorList') rather than what is expected. Thoughts? |