[whatwg] Canvas API: What should happen if non-finite floats are used

On Wed, Sep 8, 2010 at 10:33 AM, Oliver Hunt <oliver at apple.com> wrote:
> In a lot of cases all you want to do is ignore NaN and Infinite values, otherwise you basically have to prepend every call to canvas with NaN and Infinity checks if you're computing values unless you can absolutely guarantee your values won't have gone nuts at any point in the computation -- otherwise you're going to get reports that occasionally your content breaks but with no repro case (typical users will not be seeing error messages, it just "doesn't work").

Does this mean that you're expecting that the ignored calls didn't
matter?  Surely having parts of the drawing be missing will often be
noticed by users as well!

Mike

Received on Wednesday, 8 September 2010 11:02:46 UTC