W3C home > Mailing lists > Public > public-html@w3.org > March 2009

Re: SVG as Root (was: SVG Feedback on HTML5 SVG Proposal)

From: Erik Dahlström <ed@opera.com>
Date: Tue, 24 Mar 2009 15:58:16 +0100
To: "Robin Berjon" <robin@berjon.com>, "Doug Schepers" <schepers@w3.org>
Cc: public-html@w3.org, www-svg <www-svg@w3.org>
Message-ID: <op.uraw7erdgqiacl@gnorps.linkoping.osa>
On Wed, 11 Mar 2009 15:28:25 +0100, Robin Berjon <robin@berjon.com> wrote:

> On Mar 11, 2009, at 01:58 , Doug Schepers wrote:
>> Personally, I agree with you here.  But I don't have any grand
>> suggestion for fixing the case where SVG is served with the wrong
>> MIME Type, or where authors got lazy or made some other mistake.
>> Does your current proposal deal with this, and if so, how?
>
> I would propose deferring any decision on this until we've reached
> agreement on how SVG inside HTML behaves. That way there's a chance
> that we could simply decide that if SVG if served as text/html then it
> ought to be treated in the exact same way as any HTML element that
> might appear at the root of the document.

Right, as can be seen in the latest proposal[1] this particular case has not been addressed, or in other words an svg element found before the body would behave as any other element found before the body. It's been suggested that a bit of CSS can be used to "fix" the sizing issues that arise, and it may well be that that's a good enough solution.

[1] http://dev.w3.org/SVG/proposals/svg-html/html5-mod.html

-- 
Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed
Received on Tuesday, 24 March 2009 14:57:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:33 GMT