Re: Unitless lengths in SVG and CSS

On Wednesday, May 26, 2010, 5:53:52 PM, Boris wrote:

BZ> Note that in practice what UAs do is to parse things like @font-size 
BZ> without a required unit but to require the unit in actual CSS (inline 
BZ> style, linked stylesheets, etc).  

That is handy, since this is exactly what the SVG specification requires that they do.

BZ> I seem to recall there was some draft of some svg spec 

SVG 1.0, 1.1, 1.2T all have this behaviour. Its most clearly expressed in 1.1SE

BZ> that mentioned this behavior, but can't find it at the
BZ> moment.

The link you cited is it.

BZ> [1]
BZ> http://dev.w3.org/SVG/profiles/1.1F2/publish/types.html#DataTypeLength




-- 
 Chris Lilley                    mailto:chris@w3.org
 Technical Director, Interaction Domain
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG

Received on Monday, 7 June 2010 12:13:34 UTC