- From: Nick Hofstede <Nick.Hofstede@inventivegroup.com>
- Date: Wed, 12 Sep 2012 11:53:45 +0000
- To: "www-svg@w3.org" <www-svg@w3.org>
- Message-ID: <BC885F9E3DB48248A4C9FC7F2C57215C2DAC08DF@Hoefnix.dc.intranet>
The longer I'm looking at this, the more confused I get ... http://www.w3.org/TR/SVG/struct.html#SVGElementWidthAttribute says that if width or height aren't specified, 100% should be used. However, when I test this (test case attached), there is a difference between referencing an svg with width and height set to 100% and an svg with width and height omitted. Are all three browsers misinterpreting the specification in a consistent way, or is there a part of the specification I'm missing? (probably the latter) With kind regards, Nick Hofstede From: Nick Hofstede Sent: dinsdag 11 september 2012 10:23 To: www-svg@w3.org Subject: Initial Viewport 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 -- This message has been scanned for viruses and dangerous content by MailScanner<http://www.mailscanner.info/>, and is believed to be clean. ________________________________ Inventive Designers' Email Disclaimer: http://www.inventivedesigners.com/email-disclaimer
Attachments
- application/octet-stream attachment: 1.svg
- application/octet-stream attachment: 2.svg
- application/octet-stream attachment: 3.svg
- text/html attachment: referenced.html
Received on Wednesday, 12 September 2012 11:54:03 UTC