Re: [css21][css3][svg] SVG and unit-less length values

2010/8/7 Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>:
>>Going forward, if SVG needs coordinate units in addition to CSS lengths
>>for SVG 2.0, we could define an actual unit identifier for them. Maybe
>>"cu" for "coordinate system units". Unit identifiers are an important
>>extension point in CSS syntax; we should take advantage of that.
>
> This unit is already defined, it is called 'px'. This corresponds to one
> unit in the local coordinate system and is implicated, if a length value
> has no unit identifier.

This is not at all compatible with CSS.  'px' has a very specific
meaning, and it is not dependent on the local coordinate system.
Modulo visual-warping effects like zoom: and some transform: values,
1px is 1/96 of 1in.

The LCS-dependent lengths that SVG employs are a different unit than 'px'.

~TJ

Received on Thursday, 12 August 2010 20:59:27 UTC