Migrate from GitHub to SourceForge with this tool. Check out all of SourceForge's recent improvements.
Close

#35 DescendantSelectorImpl#toString() doesn't take into account a PseudoElementSelectorImpl descendant

1.0.0
closed
RBRi
None
1
2012-11-25
2012-10-16
No

The result of parsing this:

a:after {
  content: "?"
}

is a rule that has a DescendantSelectorImpl with an ElementSelectorImpl as parent (the anchor element) and a PseudoElementSelectorImpl as descendant (for 'after' pseudo element).

Unfortuantelly, the selector is serialized as:

a after

Discussion

  • Marius Dumitru Florea

    Here's a patch that fixes the issue.

     
  • RBRi

    RBRi - 2012-11-25
    • assigned_to: RBRi
    • milestone: 1.0 --> 1.0.0
     
  • RBRi

    RBRi - 2012-11-25
    • status: open --> closed
     
  • RBRi

    RBRi - 2012-11-25

    Now fixed in SVN. Thanks for the patch.

     

Anonymous
Anonymous

Cancel  Add attachments