W3C home > Mailing lists > Public > www-svg@w3.org > July 2010

Re: HTML5 and SVG

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 20 Jul 2010 14:22:41 +1200
Message-ID: <AANLkTims29E-31VoZALp1WIku-jSBVu6pi2xS4I-7RB3@mail.gmail.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: Patrick Dengler <patd@microsoft.com>, Alex Danilo <alex@abbra.com>, "www-svg@w3.org" <www-svg@w3.org>, Jennifer Yu <Jennifer.Yu@microsoft.com>, Tony Schreiner <tonyschr@microsoft.com>, Sylvain Galineau <sylvaing@microsoft.com>
It would be nice to have <svg> automatically size to the bounding-box of the
contents, but that's not really feasible IMHO because the geometry of the
contents often depends on the viewport size. For most drawings I think
authors will have to give a nominal 'width' and 'height', or style the <svg>
with CSS.

I suppose we could define a new intrinsic size algorithm for <svg> subtrees
that ignores elements whose geometry depends on the viewport size. Would it
be worth it?

"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
Received on Tuesday, 20 July 2010 02:23:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:27 UTC