[whatwg] Including HTML more directly into SVG

Tab Atkins Jr. jackalmage at gmail.com
Tue Sep 11 09:10:07 PDT 2012


On Tue, Sep 11, 2012 at 1:23 AM, Elliott Sprehn <esprehn at gmail.com> wrote:
> On Tue, Sep 11, 2012 at 1:15 AM, Elliott Sprehn <esprehn at gmail.com> wrote:
>> On Mon, Sep 10, 2012 at 4:59 PM, Tab Atkins Jr. <jackalmage at gmail.com> wrote:
>>
>>...
>>>
>>> Another solution could be SVG inventing their own elements for these
>>> kinds of things.  For example, #1 could be solved with an <svg:span>
>>> or <svg:p> element.  Having duplicate elements in multiple namespaces
>>> is regarded as an antipattern, ...
>>
>> SVG has a totally different font and styling model, different kinds of
>> animations, filters, etc. The paragraph and span concept in SVG
>> wouldn't be the same thing so it's not an antipattern. You would have
>> to specify some kind of x/y coordinate and the width since SVG doesn't
>> have a flow concept so there would be nothing to size or place
>> against.
>>
>
> See also http://www.w3.org/TR/2004/WD-SVG12-20041027/flow.html

There is a reason why nobody implemented 1.2.  Reinventing inline
layout with a subtly different model is one of them.

~TJ



More information about the whatwg mailing list