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

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:08 UTC