W3C home > Mailing lists > Public > www-svg@w3.org > September 2012

Initial Viewport

From: Nick Hofstede <Nick.Hofstede@inventivegroup.com>
Date: Tue, 11 Sep 2012 08:23:22 +0000
To: "www-svg@w3.org" <www-svg@w3.org>
Message-ID: <BC885F9E3DB48248A4C9FC7F2C57215C2DAC019E@Hoefnix.dc.intranet>
Hi,

I'm trying to figure out what the initial viewport should be of an embedded/referenced svg in the following case:

-        The parent user agent doesn't provide a size for the referenced svg document (only a coordinate where it should be placed)

-        The referenced svg document has width and height on the outermost svg element set to 100%

Browser tests using <img src="test.svg" /> result in creative behavior (the results might be muddied by having to follow CSS rules anyway - the parent user agent I'm thinking of isn't using CSS to specify width/height).

I've been looking at
http://www.w3.org/TR/SVGTiny12/coords.html#transform-viewport
http://www.w3.org/TR/SVGTiny12/coords.html#IntrinsicSizing

Kind regards,
Nick Hofstede


________________________________

Inventive Designers' Email Disclaimer:
http://www.inventivedesigners.com/email-disclaimer
Received on Tuesday, 11 September 2012 08:23:29 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:52 GMT