Bug 12169
Summary: | Add support for XHTML text processing within SVG | ||
---|---|---|---|
Product: | WebKit | Reporter: | Nicholas Shanks <nickshanks> |
Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Enhancement | ||
Priority: | P4 | ||
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 |
Nicholas Shanks
I would like to see some of the text support available to XHTML documents be made available to SVG too.
I suggest doing this by allowing all xhtml-namespaced inline elements within compound SVG+XHTML documents, e.g.
<svg xmlns="&svgNS;" xmlns:xhtml="&xhtmlNS;" version="1.1">
<text>This <xhtml:em>exciting</xhtml:em> text can <xhtml:br/>flow onto several lines!</text>
</svg>
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
Interesting.
We've certainly talked about going the other way (allowing SVG inline in HTML w/o namespacing), but not HTML inline in SVG.
Ian 'Hixie' Hickson
That would be invalid according to SVG, and I wouldn't want to suggest supporting that.
However, you could do this with <foreignObject>, where it would be valid per specs and already supported in other UAs.