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

SVGPaint::rgbColor vs SVGPaint::RGBColor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: None
    • Component/s: CSS
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other

      Description

      With e.g.

      <rect id="t" width="100" height="100" fill="#fff" />

      ECMAScript such as

      document
      .getElementById("t")
      .getPresentationAttribute("fill")
      .RGBColor

      returns the css::RGBColor,

      document
      .getElementById("t")
      .getPresentationAttribute("fill")
      .rgbColor

      returns null. Per http://www.w3.org/TR/SVG11/ecmascript-binding.html it should
      be the other way round.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: