Re: [whatwg] Canvas patterns, and miscellaneous other things

2008-02-10 Thread Ian Hickson
On Sat, 2 Feb 2008, Philip Taylor wrote: On 31/01/2008, Ian Hickson [EMAIL PROTECTED] wrote: I've made toDataURL() return data:, if it's faced with a 0-pixel image. It's arbitrary, but I guess it represents the image, at least! That makes the Note: When trying to use types other than

Re: [whatwg] Canvas patterns, and miscellaneous other things

2008-02-02 Thread Philip Taylor
On 31/01/2008, Ian Hickson [EMAIL PROTECTED] wrote: I've made toDataURL() return data:, if it's faced with a 0-pixel image. It's arbitrary, but I guess it represents the image, at least! That makes the Note: When trying to use types other than image/png, authors can check if the image was

Re: [whatwg] Canvas patterns, and miscellaneous other things

2008-01-31 Thread Krzysztof Żelechowski
Dnia 31-01-2008, Cz o godzinie 02:02 +, Ian Hickson pisze: On Sat, 23 Jun 2007, Philip Taylor wrote: Similarly, what should toDataURL do when the canvas is really large and the browser doesn't want to give you a data URI? (Opera returns 'undefined' if it's = 30001 pixels in any

Re: [whatwg] Canvas patterns, and miscellaneous other things

2008-01-30 Thread Ian Hickson
On Sat, 23 Jun 2007, Philip Taylor wrote: What should happen if you try drawing a 0x0-pixel repeating pattern? (I can't find a way to make a 0x0 image that any browser will load, but the spec says you can make a 0x0 canvas. Firefox and Opera can't make a 0x0 canvas - it acts like it's

[whatwg] Canvas patterns, and miscellaneous other things

2007-06-23 Thread Philip Taylor
What should happen if you try drawing a 0x0-pixel repeating pattern? (I can't find a way to make a 0x0 image that any browser will load, but the spec says you can make a 0x0 canvas. Firefox and Opera can't make a 0x0 canvas - it acts like it's 300x150 pixels instead. Safari returns null from