Re: Inline HTML

On Fri, Nov 15, 2013 at 12:38 PM, Jelle Mulder <pjmulder@xs4all.nl> wrote:
> Thought
>
> If we cannot have nice new flow control <objects> in SVG as it would over
> complicate the language and we're working on using CSS to patch things up a
> bit.. Why not have Inline HTML? I can work the other way around with Inline
> SVG, so how about adding HTML code to be inline in SVG. I'd say that would
> solve quite some issues. It would also be vastly easier to maintain the
> standards and make sure things work in similar ways.
>
> I can just add whatever my fancy is from HTML and stick it into my SVG files
> rather than the other way around. I can keep my SVG nice and clean and don't
> have to bother creating a HTML framework just to get something to work, like
> it is now. <HTML> <DIV><DIV><DIV> </HTML> in my defs and low and behold, I
> have flow control, use CSS to get it at the right positions and using
> overflow and Z orders to make it do all the visual nice stuff.
>
> Most parsers can already handle both HTML and SVG and those that do not do
> SVG will not be breaking my code anyway. I guess it could be made useful in
> just a few iterations of browsers.

Yup, this is already the plan of record.  At minimum, we'd like to
allow the <html> element directly in SVG, with HTML inside of it.  We
might do a more complete merging and allow HTML elements like <p> to
just be inserted directly.

~TJ

Received on Friday, 15 November 2013 20:37:13 UTC