[whatwg] Canvas feedback

2009-03-25 Thread Ian Hickson
On Fri, 13 Mar 2009, Hans Schmucker wrote: This problem recently became apparent while trying to process a public video on tinyvid.tv: In article 4.8.11.3 Security with canvas elements, the origin-clean flag is only set depending on an element's origin. However there are many scenarios

[whatwg] video feedback

2009-03-25 Thread Ian Hickson
On Wed, 4 Mar 2009, Chris Pearce wrote: The media element spec says: If a media element whose |networkState| has the value |NETWORK_EMPTY| is inserted into a document, the user agent must asynchronously invoke the media element's resource selection algorithm. The resource selection

Re: [whatwg] Link.onload; defer on style, depends

2009-03-25 Thread Sean Hogan
Ian Hickson wrote: On Sun, 15 Mar 2009, Boris Zbarsky wrote: Sean Hogan wrote: This is a request for the link element to be given an onload attribute. And presumably a readyState property. At least in Gecko, you can already detect whether the sheet is done loading: if

Re: [whatwg] Link.onload; defer on style, depends

2009-03-25 Thread Boris Zbarsky
Ian Hickson wrote: So testing this: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/44 http://software.hixie.ch/utilities/js/live-dom-viewer/saved/45 (44 uses currentStyle, for IE/Opera, 45 uses getComputedStyle, for Opera/ Firefox/Safari) It seems Gecko is the only engine

Re: [whatwg] Link.onload; defer on style, depends

2009-03-25 Thread Boris Zbarsky
Boris Zbarsky wrote: No. What's paused is execution of new scripts, not of existing ones. So in this case, b() executes immediately, while a() executes after the stylesheet loads. Woah, so this can affect the order of script execution? Yes, just like document.write(script src=...) would,

[whatwg] Fwd: AppCache and SharedWorkers?

2009-03-25 Thread Michael Nordman
There hasn't been much discussion of this yet... a few comments on the list between august and november of 2008... [michaeln] How do workers and appCaches interact? [ian] workers are associated with browsing contexts, so they go through the normal app cache networking changes. This

Re: [whatwg] AppCache and SharedWorkers?

2009-03-25 Thread Michael Nordman
The appcache spec has changed since the ian and i sent these old messages. Child browsing contexts (nested iframes) no longer inherit the appcache of their parent context (frame) by default. How's this for a starting point for how these things intereract... * Dedicated worker contexts should be

Re: [whatwg] C:\fakepath\ in HTML5

2009-03-25 Thread Ian Hickson
The long and short of it with the c:\fakepath\ issue is that some browser vendors have reported compatibility problems with not having this. I acknowledge that there is some skepticism about whether this is a serious enough issue to warrant this ugly hack, but given that the concerns were

Re: [whatwg] AppCache and SharedWorkers?

2009-03-25 Thread Drew Wilson
On Wed, Mar 25, 2009 at 2:11 PM, Michael Nordman micha...@google.comwrote: The appcache spec has changed since the ian and i sent these old messages. Child browsing contexts (nested iframes) no longer inherit the appcache of their parent context (frame) by default. How's this for a starting

Re: [whatwg] C:\fakepath\ in HTML5

2009-03-25 Thread ddailey
While on the topic, something vaguely similar came to mind. If we make a puzzle of 2n-squared minus 1 (e.g. a puzzle of 15) in which web site visitors can slide tiles around through a grid, we might wish to detect, through script, when the puzzle has been solved. This means interrogating the

Re: [whatwg] Link.onload; defer on style, depends

2009-03-25 Thread Jonas Sicking
On Tue, Mar 24, 2009 at 7:24 PM, Ian Hickson i...@hixie.ch wrote: On Sun, 15 Feb 2009, Boris Zbarsky wrote: So in this:    !DOCTYPE html    ...    script     document.write('link rel=stylesheet href=style');     document.write('scripta();\/script');     b();    /script

Re: [whatwg] AppCache and SharedWorkers?

2009-03-25 Thread David Levin
On Wed, Mar 25, 2009 at 3:01 PM, Drew Wilson atwil...@google.com wrote: On Wed, Mar 25, 2009 at 2:11 PM, Michael Nordman micha...@google.comwrote: The appcache spec has changed since the ian and i sent these old messages. Child browsing contexts (nested iframes) no longer inherit the appcache

Re: [whatwg] AppCache and SharedWorkers?

2009-03-25 Thread Drew Wilson
Good point - I like the idea of nested workers, especially if the SharedWorker uses the pattern where it just passes off all incoming message ports directly to the nested worker so it doesn't have to proxy messages. It'd have to have some app-specific mechanism to get them all back when it wants

Re: [whatwg] video feedback

2009-03-25 Thread Matthew Gregan
At 2009-03-25T10:16:32+, Ian Hickson wrote: On Fri, 13 Mar 2009, Matthew Gregan wrote: It's possible that neither a 'play' nor 'playing' event will be fired when a media element that has ended playback is played again. When first played, paused is set to false. When played again,

Re: [whatwg] Canvas feedback

2009-03-25 Thread Biju
On Wed, Mar 25, 2009 at 3:11 AM, Ian Hickson i...@hixie.ch wrote: On Sat, 14 Mar 2009, Biju wrote: Just like canvas.getImageData() and canvas.putImageData() Why canvas.getImageHSLData() and canvas.putImageHSLData() API are not provide? Is it something discussed and planned not have? In