[whatwg] Comments on <canvas> tag

Ian Hickson ian at hixie.ch
Wed May 17 06:34:27 PDT 2006

On Fri, 17 Jun 2005, David Flanagan wrote:
> Does the <canvas> tag really have no way to draw dashed and dotted 
> lines?  It seems to have everything else.  Is this an oversight in the 
> spec?

Correct, it doesn't have stroke styles other than gradients, patterns, and 
solid colours. It was an intentional omission since it was not considered 
a high-use feature. (Similarly, text is not available in Canvas; you have 
to overlay HTML if you want to mix text with the graphics.)

> Also. in of the current-work spec, you've got the rgba() format 
> specified with the space comming before the comma.  (Third paragraph). I 
> imagine that this is a mistake, right?

Fixed. Thanks!

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list