On Sat, 16 Apr 2011 17:11:50 +0200, David Dailey  
<ddai...@zoominternet.net> wrote:

> Hmmm.. Sujana's suggestion doesn't do it for my Safari:  (5.04, windows)
>
>
> The following works in FF4, Chrome and IE9:
>
>
> <!DOCTYPE HTML>
>
> <html>
>
> <body>
>
> <svg width="400" height="400" xmlns="http://www.w3.org/2000/svg";>
>
> <circle cx="100" cy="50" r="40" stroke="black" stroke-width="2"  
> fill="green"
> />
>
> </svg>
>
> </body>
>
> </html>

...

> I can't seem to get Safari or Opera to render the SVG in this manner. So
> some questions:

For Opera the above won't work unless is served as XHTML, at least until  
the HTML5 parser becomes the default.

It should work just fine in the Opera Ragnarök builds[1] however (those  
that include the HTML5 parser with svg support). The old html parser only  
handles html elements, any svg elements will just be parsed as unknown  
html elements and won't render as svg.

Cheers
/Erik

[1] http://labs.opera.com/news/2011/02/22/

-- 
Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed


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

-----
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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:
    svg-developers-dig...@yahoogroups.com 
    svg-developers-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    svg-developers-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to