Safari SVG Script problem - help needed

"dunbankin" <[email protected]>
Newsgroups gmane.text.xml.svg.devel
Message-ID <[email protected]>
Safari 5.1 doesn't seem to like javascript inside an SVG figure.
For example, try this code.  It works in IE9, FF, Opera, Chrome, but NOT in Safari.  It just refuses to execute the js.  Can anybody help me to get this working in Safari? (My script writes a calculated  <text> string to the SVG group.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<!doctype html>
<html>
  <head>
  <meta charset="utf-8">
  <title>Safari Test</title>
  </head>
  <body>
    <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="500px" height="130px">
      <g id="topline">
        <polygon points="0,0 400,0 400,100 0,100" style="fill:#d0c8c0;stroke:black;stroke-width:2" />
      </g>
      <script type="text/javascript">
        alert("Safari doesn't get here");
      </script>
    </svg>
  </body>
</html>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.