W3C home > Mailing lists > Public > www-svg@w3.org > June 2012

Re: [css3-syntax] stroke-dasharray unit less values

From: Cameron McCormack <cam@mcc.id.au>
Date: Sun, 10 Jun 2012 10:51:31 +1000
Message-ID: <4FD3EF93.6000004@mcc.id.au>
To: Dirk Schulze <dschulze@adobe.com>
CC: "www-style@w3.org list" <www-style@w3.org>, "www-svg@w3.org list" <www-svg@w3.org>
Dirk Schulze:
> This example uses a dash array with unit less values for the inline
> style. According to the current CSS rules, it should be invalid but
> works on all UAs. Looking at the source code of WebKit, the following
> further properties have the same behavior 'kerning' (removed from
> SVG2) and 'baseline-shift'. Does the CSS3 Syntax take this into
> account already? Is it possible to allow <number> for these
> properties as well, to specify the current behavior of UAs (might be
> against the rules according to CSS2.1 as well)?

I think we should just add <number> to the definition of 
stroke-dasharray.  We will be defining in SVG 2 which presentation 
attributes have the "<length>s can be specified as unitless numbers" 
behaviour, and stroke-dasharray then would be one that opts out of this.
Received on Sunday, 10 June 2012 00:52:07 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:51 GMT