Bug 30388

Summary: Support SVG-in-HTML5 syntax
Product: WebKit Reporter: Jeff Schiller <jeffschiller>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, ap, arv, divya, dvpdiner2, krit, mike, ml, Ms2ger, Nomis101, peter, proppy, sergeyreym, simon.fraser, tkent, tonyg, webmaster, yael
Priority: P2 Keywords: HTML5
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on: 39259    
Bug Blocks: 32934    

Description Jeff Schiller 2009-10-15 08:01:41 PDT
The HTML5 specification describes a syntax for SVG-in-HTML5:

http://dev.w3.org/html5/spec/the-canvas-element.html#svg-0
http://dev.w3.org/html5/spec/embedded-content-0.html#embedded-content
etc

Firefox has a HTML5 parser that is disabled by default, but will presumably be enabled by default in the future: https://bugzilla.mozilla.org/show_bug.cgi?id=373864
Comment 1 Nomis101 2010-03-19 05:03:35 PDT
If you take this HTML5 test http://gk.lka.hu/old2/html5/ it fails in Webkit for the SVG test (no green circle). But you see a green circle if you take the same test with Firefox 3.7a3 (and html5 enabled).
Comment 2 Ms2ger (he/him; ⌚ UTC+1/+2) 2010-03-19 06:44:37 PDT
Looks like IE9 will support this as well. See <http://ie.microsoft.com/testdrive/info/ReleaseNotes/Default.html#WPGN>