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

[PATCH] CSS scanner does not tokenize correctly vendor specific CSS properties (such as -moz-border-radius)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 1.8
    • None
    • CSS
    • Operating System: Linux
      Platform: PC

    Description

      CSS properties such as -moz-border-radius or -webkit-border-radius (all
      properties starting with '-') are not tokenized correctly by the CSS scanner.

      Instead of being tokenized as LexicalUnits.IDENTIFIER the first character is
      tokenized as LexicalUnits.MINUS and the rest of the properties fails to
      tokenize.

      Corrected version of the Scanner.java file is attached.

      Attachments

        1. Scanner.java
          45 kB
          Nicolas Garnier
        2. Scanner.java.PATCH
          2 kB
          Nicolas Garnier
        3. Scanner.java.PATCH
          2 kB
          Nicolas Garnier

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            nivco@google.com Nicolas Garnier
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: