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

CSS identifiers for vendor-specific extensions fail to parse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.17
    • None
    • CSS
    • None

    Description

      <svg xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" version="1.1" width="100" height="100">
        <rect x="20" y="20" width="20" height="20" style="-a:1; fill: yellow;" />
      </svg>
      

      The '-a' fails to parse as an identifier. As a result of this, the whole style of the 'rect' is not applied. Hence, the rectangle does not appear as yellow.

      CSS identifiers may start with a dash, see https://www.w3.org/TR/CSS2/syndata.html#vendor-keywords.

      Batik should properly parse such identifiers.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            dhendriks Dennis Hendriks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: