Bug 30388
Summary: | Support SVG-in-HTML5 syntax | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jeff Schiller <jeffschiller> |
Component: | SVG | Assignee: | 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 |
Jeff Schiller
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Nomis101
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).
Ms2ger (he/him; ⌚ UTC+1/+2)
Looks like IE9 will support this as well. See <http://ie.microsoft.com/testdrive/info/ReleaseNotes/Default.html#WPGN>
Tony Gentilcore
http://webkit.org/blog/1273/the-html5-parsing-algorithm/