Re: [whatwg] Offscreen canvas (or canvas for web workers).

2010-03-12 Thread Maciej Stachowiak
On Mar 12, 2010, at 6:20 PM, Jonas Sicking wrote: On Fri, Mar 12, 2010 at 4:19 PM, Jonas Sicking wrote: On Fri, Mar 12, 2010 at 3:38 PM, David Levin wrote: On Fri, Mar 12, 2010 at 2:35 PM, Jonas Sicking wrote: On Fri, Mar 12, 2010 at 12:46 PM, Oliver Hunt wrote: On Mar 12, 201

Re: [whatwg] Offscreen canvas (or canvas for web workers).

2010-03-12 Thread Jonas Sicking
On Fri, Mar 12, 2010 at 4:19 PM, Jonas Sicking wrote: > On Fri, Mar 12, 2010 at 3:38 PM, David Levin wrote: >> >> >> On Fri, Mar 12, 2010 at 2:35 PM, Jonas Sicking wrote: >>> >>> On Fri, Mar 12, 2010 at 12:46 PM, Oliver Hunt wrote: >>> > >>> > On Mar 12, 2010, at 12:16 PM, Jonas Sicking wrote:

Re: [whatwg] Offscreen canvas (or canvas for web workers).

2010-03-12 Thread Maciej Stachowiak
On Mar 12, 2010, at 2:35 PM, Jonas Sicking wrote: On Fri, Mar 12, 2010 at 12:46 PM, Oliver Hunt wrote: On Mar 12, 2010, at 12:16 PM, Jonas Sicking wrote: I'm not saying that the proposed API is bad. It just doesn't seem to solve the (seemingly most commonly requested) use case of rotating/

Re: [whatwg] Offscreen canvas (or canvas for web workers).

2010-03-12 Thread Jonas Sicking
On Fri, Mar 12, 2010 at 3:38 PM, David Levin wrote: > > > On Fri, Mar 12, 2010 at 2:35 PM, Jonas Sicking wrote: >> >> On Fri, Mar 12, 2010 at 12:46 PM, Oliver Hunt wrote: >> > >> > On Mar 12, 2010, at 12:16 PM, Jonas Sicking wrote: >> >> I'm not saying that the proposed API is bad. It just doesn

Re: [whatwg] Offscreen canvas (or canvas for web workers).

2010-03-12 Thread David Levin
On Fri, Mar 12, 2010 at 2:35 PM, Jonas Sicking wrote: > On Fri, Mar 12, 2010 at 12:46 PM, Oliver Hunt wrote: > > > > On Mar 12, 2010, at 12:16 PM, Jonas Sicking wrote: > >> I'm not saying that the proposed API is bad. It just doesn't seem to > >> solve the (seemingly most commonly requested) use

Re: [whatwg] Offscreen canvas (or canvas for web workers).

2010-03-12 Thread Jonas Sicking
On Fri, Mar 12, 2010 at 12:46 PM, Oliver Hunt wrote: > > On Mar 12, 2010, at 12:16 PM, Jonas Sicking wrote: >> I'm not saying that the proposed API is bad. It just doesn't seem to >> solve the (seemingly most commonly requested) use case of >> rotating/scaling images. So if we want to solve those

Re: [whatwg] Offscreen canvas (or canvas for web workers).

2010-03-12 Thread Oliver Hunt
On Mar 12, 2010, at 12:16 PM, Jonas Sicking wrote: > I'm not saying that the proposed API is bad. It just doesn't seem to > solve the (seemingly most commonly requested) use case of > rotating/scaling images. So if we want to solve those use cases we > need to either come up with a separate API fo

Re: [whatwg] Offscreen canvas (or canvas for web workers).

2010-03-12 Thread David Levin
On Fri, Mar 12, 2010 at 12:16 PM, Jonas Sicking wrote: > On Fri, Mar 12, 2010 at 11:57 AM, David Levin wrote: > > On Mon, Feb 22, 2010 at 3:10 PM, Jonas Sicking wrote: > >> > >> What is the use case for this? It seems like in most cases you'll want > >> to display something on screen to the use

Re: [whatwg] Offscreen canvas (or canvas for web workers).

2010-03-12 Thread Jonas Sicking
On Fri, Mar 12, 2010 at 11:57 AM, David Levin wrote: > On Mon, Feb 22, 2010 at 3:10 PM, Jonas Sicking  wrote: >> >> What is the use case for this? It seems like in most cases you'll want >> to display something on screen to the user, and so the difference >> comes down to shipping drawing commands

Re: [whatwg] feedback

2010-03-12 Thread David Levin
On Thu, Mar 11, 2010 at 9:16 PM, Ian Hickson wrote: > > > On Mon, 22 Feb 2010, David Levin wrote: > > > > I've talked with some other folks on WebKit (Maciej and Oliver) about > > having a canvas that is available to workers. They suggested some nice > > modifications to make it an offscreen canva

Re: [whatwg] Offscreen canvas (or canvas for web workers).

2010-03-12 Thread David Levin
On Mon, Feb 22, 2010 at 11:57 AM, Drew Wilson wrote: > Do we feel that text APIs are, in general, difficult to implement in a > multi-thread safe manner? > On Mon, Feb 22, 2010 at 11:51 AM, Michael Nordman wrote: > The lack of support for text drawing in the worker context seems like a > shor

Re: [whatwg] XSS safe templating

2010-03-12 Thread Mike Samuel
2010/3/12 Henri Sivonen : > On Mar 11, 2010, at 20:18, Mike Samuel wrote: > >> I think I can probably do without new HTML5 stuff. > > OK. One supplemental point: > > On Mar 10, 2010, at 20:15, Mike Samuel wrote: > >> document.write can be wrapped.  But the wrapper would still need to >> know the in

Re: [whatwg] XSS safe templating

2010-03-12 Thread Henri Sivonen
On Mar 11, 2010, at 20:18, Mike Samuel wrote: > I think I can probably do without new HTML5 stuff. OK. One supplemental point: On Mar 10, 2010, at 20:15, Mike Samuel wrote: > document.write can be wrapped. But the wrapper would still need to > know the insertion-mode. > If the insertion mode w

Re: [whatwg] Lifting cross-origin XMLHttpRequest restrictions?

2010-03-12 Thread Ashley Sheridan
On Thu, 2010-03-11 at 23:50 -0800, Michal Zalewski wrote: > > Servers are already free to obtain and mix in content from other sites, so > > why can't client-side HTML JavaScript be similarly empowered? > > I can see two reasons: > > 1) Users may not be happy about the ability for web applicatio