Re: [whatwg] Including HTML more directly into SVG

2013-01-09 Thread Rik Cabanier
On Fri, Dec 28, 2012 at 8:59 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 10 Sep 2012, Tab Atkins Jr. wrote: 1. Check out http://www.xanthir.com/etc/railroad-diagrams/example.html . See all those boxes full of text in the diagrams? Looks simple, right? Just a box filled with text, with

Re: [whatwg] Including HTML more directly into SVG

2013-01-09 Thread Dirk Schulze
On Jan 9, 2013, at 2:18 PM, Rik Cabanier caban...@gmail.com wrote: On Fri, Dec 28, 2012 at 8:59 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 10 Sep 2012, Tab Atkins Jr. wrote: 1. Check out http://www.xanthir.com/etc/railroad-diagrams/example.html . See all those boxes full of text in

Re: [whatwg] Including HTML more directly into SVG

2013-01-09 Thread Rik Cabanier
On Wed, Jan 9, 2013 at 3:26 PM, Dirk Schulze dschu...@adobe.com wrote: On Jan 9, 2013, at 2:18 PM, Rik Cabanier caban...@gmail.com wrote: On Fri, Dec 28, 2012 at 8:59 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 10 Sep 2012, Tab Atkins Jr. wrote: 1. Check out

Re: [whatwg] Including HTML more directly into SVG

2012-12-28 Thread Ian Hickson
On Mon, 10 Sep 2012, Tab Atkins Jr. wrote: 1. Check out http://www.xanthir.com/etc/railroad-diagrams/example.html. See all those boxes full of text in the diagrams? Looks simple, right? Just a box filled with text, with a border and background set on it. Wrong! SVG doesn't have any

Re: [whatwg] Including HTML more directly into SVG

2012-09-13 Thread Tab Atkins Jr.
On Tue, Sep 11, 2012 at 12:37 PM, Elliott Sprehn espr...@gmail.com wrote: On Sep 11, 2012 11:35 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, Sep 11, 2012 at 11:29 AM, Elliott Sprehn espr...@gmail.com wrote: On Tue, Sep 11, 2012 at 9:09 AM, Tab Atkins Jr. jackalm...@gmail.com

Re: [whatwg] Including HTML more directly into SVG

2012-09-11 Thread Robin Berjon
On 11/09/2012 10:15 , Elliott Sprehn wrote: On Mon, Sep 10, 2012 at 4:59 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: This would be a lot easier if I could somehow invoke the CSS box model inside of SVG, ... This tightly binds the list of element names in SVG to HTML Which isn't that big

Re: [whatwg] Including HTML more directly into SVG

2012-09-11 Thread Benjamin Hawkes-Lewis
On Tue, Sep 11, 2012 at 9:32 AM, Robin Berjon ro...@w3.org wrote: foreignObject size=auto Bikeshedding: @seamless (q.v. iframe) -- Benjamin Hawkes-Lewis

Re: [whatwg] Including HTML more directly into SVG

2012-09-11 Thread David Carlisle
On 11/09/2012 09:32, Robin Berjon wrote: . MathML has similar issues of course (but simpler probably as it doesn't have the separate font and layout issues that svg has). In its html(5) incarnation, as well as annotation-xml (which is the traditional mathml element for foreign stuff (cf

Re: [whatwg] Including HTML more directly into SVG

2012-09-11 Thread Tab Atkins Jr.
On Tue, Sep 11, 2012 at 1:23 AM, Elliott Sprehn espr...@gmail.com wrote: On Tue, Sep 11, 2012 at 1:15 AM, Elliott Sprehn espr...@gmail.com wrote: On Mon, Sep 10, 2012 at 4:59 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: ... Another solution could be SVG inventing their own elements for

Re: [whatwg] Including HTML more directly into SVG

2012-09-11 Thread Elliott Sprehn
On Tue, Sep 11, 2012 at 9:09 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: ... 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

Re: [whatwg] Including HTML more directly into SVG

2012-09-11 Thread Tab Atkins Jr.
On Tue, Sep 11, 2012 at 11:29 AM, Elliott Sprehn espr...@gmail.com wrote: On Tue, Sep 11, 2012 at 9:09 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: ... 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

Re: [whatwg] Including HTML more directly into SVG

2012-09-11 Thread Elliott Sprehn
On Sep 11, 2012 11:35 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, Sep 11, 2012 at 11:29 AM, Elliott Sprehn espr...@gmail.com wrote: On Tue, Sep 11, 2012 at 9:09 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: ... Also, how does your proposal address flowing text inside of a

[whatwg] Including HTML more directly into SVG

2012-09-10 Thread Tab Atkins Jr.
This is a continuation of a discussion started in the #whatwg IRC room, so I'll start somewhat abruptly. 1. Check out http://www.xanthir.com/etc/railroad-diagrams/example.html. See all those boxes full of text in the diagrams? Looks simple, right? Just a box filled with text, with a border and