W3C home > Mailing lists > Public > www-style@w3.org > August 2010

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 12 Aug 2010 13:58:35 -0700
Message-ID: <AANLkTintW2Dr8pW2JOS4B334dr-rVqMxuoW7gihpn3_X@mail.gmail.com>
To: "Dr. Olaf Hoffmann" <Dr.O.Hoffmann@gmx.de>
Cc: public-fx@w3.org, www-style@w3.org
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'.

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:37 UTC