W3C home > Mailing lists > Public > www-svg@w3.org > April 2006

Re: SVG12: 5.1.2 "referenced document"

From: Ola Andersson <Ola.Andersson@ikivo.com>
Date: Wed, 5 Apr 2006 12:42:37 +0200
Message-ID: <234EB4699C751A4A95DF4FD8D041BBFD0534EC@SESTHSRV10.zoomon.local>
To: <www-svg@w3.org>
Cc: <derhoermi@gmx.net>

The wording proposed by Doug is now added to the spec.

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 Wednesday, 5 April 2006 10:40:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:07 UTC