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

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Component/s: CSS
    • Labels:
    • Environment:
      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

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

              Dates

              • Created:
                Updated: