W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2012

Re: [whatwg] canvas miterLimit property

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 21 Sep 2012 00:18:45 +0000 (UTC)
To: Michael Day <mikeday@yeslogic.com>
Message-ID: <Pine.LNX.4.64.1209210017550.1904@ps20323.dreamhostps.com>
Cc: whatwg@lists.whatwg.org
On Fri, 21 Sep 2012, Michael Day wrote:
> > 
> > Its trivial to treat numbers 0.0 < q <= 1.0 as 1.0. No need to fail. 
> > Browsers (at least Opera, Safari, Firefox, and Chrome) consistently 
> > follow the spec here.
> 
> Yes, we can clamp it to 1.0 when we generate the PDF, just wanted to 
> point out another inconsistency with SVG, where miter limit values less 
> than 1.0 will be ignored as invalid.

The main thing driving this API is back-compat with canvas 
implementations, not consistency with SVG. :-)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 21 September 2012 00:19:10 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:45 UTC