W3C home > Mailing lists > Public > www-svg@w3.org > July 2004

percentage values

From: Alex Fritze <alex@croczilla.com>
Date: Wed, 21 Jul 2004 09:19:16 +0100
Message-ID: <40FE2704.80600@croczilla.com>
To: www-svg@w3.org


It says in the specs:

http://www.croczilla.com/~alex/reference/SVG/REC-SVG11-20030114/coords.html#Units <http://www.croczilla.com/%7Ealex/reference/SVG/REC-SVG11-20030114/coords.html#Units>:
For percentage values that are defined to be relative to the size of viewport:

    * For any x-coordinate value or width value expressed as a percentage of the
viewport, the value to use is the specified percentage of the actual-width in
user units for the nearest containing viewport, where actual-width is the width
dimension of the viewport element WITHIN THE USER COORDINATE SYSTEM for the
viewport element.

... and similarly for y-coordinates.

Is it really the intention of the specs to have lengths be relative to 
the viewport size? It seems to make more sense to have them relative to 
the viewbox.

Received on Wednesday, 21 July 2004 04:19:35 UTC

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