W3C home > Mailing lists > Public > www-svg@w3.org > December 2005

Re: SVG12: 5.1.2 "referenced document"

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 27 Dec 2005 23:37:40 +0100
To: "Doug Schepers" <doug@schepers.cc>
Cc: www-svg@w3.org
Message-ID: <sdg3r1hd2i9lb5ueclc3kmnev1niivpj5n@hive.bjoern.hoehrmann.de>

* Doug Schepers wrote:
>| The new text has "To be scalable, SVG content must include a 'viewBox'
>| attribute on the 'svg' element." So SVG is really for 
>| scalable and un- scalable vector graphics?
>
>I suggest that the paragraph be revised to say:
>
>  "Normally, SVG content is designed to be scalable. In order for the SVG 
>  content to scale automatically to fill the available viewport, it must 
>  include a 'viewBox' attribute on the 'svg' element. This describes the 
>  region of world coordinate space (the initial user coordinate system) 
>  used by the graphic. This attribute thus provides a convenient way to 
>  design SVG documents to scale-to-fit into an arbitrary viewport."
>
>To be precise, the "available viewport" is the dimensions specified in a
>referencing element ('iframe', 'object', 'embed') in the case of a reference
>in a mixed document, the whole browser canvas for a standalone SVG document,
>or the dimensions specified in the 'svg' root for compound documents.
>
>Would something like this work for you, Bjoern_?

This is better, I am not fond of repeatedly saying that this enables
scale to fit to the viewport (well, it says scale-to-fill and scale-
to-fit...) though.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Tuesday, 27 December 2005 22:37:21 GMT

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