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

Incorrect paintType for color keywords

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.5
    • None
    • CSS
    • None
    • Operating System: Windows 2000
      Platform: PC

    Description

      For e.g.

      <svg ...>
      <rect x="100" height="100" width="100" fill="#00f" onmouseover="alert
      (evt.target.getPresentationAttribute('fill').paintType)"/>
      <rect x="200" height="100" width="100" fill="blue" onmouseover="alert
      (evt.target.getPresentationAttribute('fill').paintType)"/>
      <rect x="300" height="100" width="100" fill="currentColor" onmouseover="alert
      (evt.target.getPresentationAttribute('fill').paintType)"/>
      </svg>

      Batik 1.5.x alerts (the numerical value for)

      SVG_PAINTTYPE_RGBCOLOR
      SVG_PAINTTYPE_URI_CURRENTCOLOR
      SVG_PAINTTYPE_URI_CURRENTCOLOR

      The second case should be SVG_PAINTTYPE_RGBCOLOR.

      Attachments

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            bjoern@hoehrmann.de Bj
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: