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

Bug on CSSStyleDeclaration on URI reference

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.5
    • None
    • CSS
    • None
    • Operating System: other
      Platform: Other

    Description

      Bug on CSSStyleDeclaration on URI reference on Batik1.5beta5

      CSSStyleDeclaration.setProperty(name,value) doesn't accept URI value url(abcd)

      ex:
      SVGStylable svgStylable = (SVGStylable)element;
      CSSStyleDeclaration cssStyle = svgStylable.getStyle();
      cssStyle.setProperty("fill", "url(" + newUri + ")", ""); // throw
      DOMException that say invalid css value

      Attachments

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            tonny@kiyut.com Tonny
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: