Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-767

error in parsing pseudo element

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.7
    • None
    • CSS
    • None
    • Operating System: other
      Platform: Other

    Description

      the css parser fails to handle selectors that have pseudo element in them.
      for example: .content:after

      {...}

      will return *.content as the selector.
      I think you should have a look at the class org.apache.batik.css.parser.Parser.
      In method parseSelector() on line 637 the pesudoElement field is set to null,
      which will effectively make the test on line 667 fail, thus no
      createPseudoElementSelector() invocation.

      Attachments

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            mouseleeky@gmail.com Ruohao Li
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: