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

Script context problem

    XMLWordPrintableJSON

Details

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

    Description

      <?xml version="1.0" standalone="no"?>
      <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
      "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">

      <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
      width="450" height="500" viewBox="0 0 450 500" onmouseover="alert('Hello')">

      <rect x="0" y="0" width="100%" height="100%" fill="crimson" />
      <circle cx="50%" cy="50%" r="150" fill="gold" />

      <script type="text/ecmascript">

      function showDialog(msg)

      { alert(msg); }

      </script>
      </svg>

      Attachments

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            vincent.hardy@sun.com Vincent Hardy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: