W3C home > Mailing lists > Public > www-svg@w3.org > June 2007

Re: Default behavior for not mentioning 'preserveAspectRatio' attribute

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Thu, 28 Jun 2007 17:45:14 +0200
To: www-svg@w3.org, mustaf.here@gmail.com
Message-Id: <200706281745.14416.Dr.O.Hoffmann@gmx.de>

The default for preserveAspectRatio is 

xMidYMid meet

see in the specification:

meet means roughly that the viewBox is scaled with 
preserved aspect ratio until it fits at one side to the
viewport and the other side is not larger as the 

xMidYMid means roughly, that the result is centered.

I think, this explains already your examples
Received on Thursday, 28 June 2007 16:04:44 UTC

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