Re: [whatwg] onclose events for MessagePort

2013-10-02 Thread Andrew Wilson
On Tue, Oct 1, 2013 at 7:01 PM, Olli Pettay olli.pet...@helsinki.fi wrote: I don't understand what the lifetime of MessagePorts to the lifetime of their owner document means in case of workers. And we sure want to delete MessagePort objects if nothing from JS side is keeping it, or the port

Re: [whatwg] Script preloading

2013-10-02 Thread Bruno Racineux
On 8/27/13 2:55 PM, Ian Hickson i...@hixie.ch wrote: First, let's get down to use cases. Kyle did a great job of describing some key use cases: On Wed, 10 Jul 2013, Kyle Simpson wrote: [Use-case Q:] I am dynamically loading one of those social widgets that, upon load, automatically scans

Re: [whatwg] onclose events for MessagePort

2013-10-02 Thread Gene Lian
Hi guys, Not really be able to follow all the details and technical terms. However, I'd also highly agree it's worth adding an onclose event to imply the aliveness of the owner (on the other end). We can imagine in the future MessagePort will be a very generic structure utilised in lots of

Re: [whatwg] High-density canvases

2013-10-02 Thread Stephen White
On Fri, Sep 27, 2013 at 5:51 PM, Ian Hickson i...@hixie.ch wrote: On Tue, 10 Sep 2013, Stephen White wrote: For posterity, here were our objections to the original high-DPI canvas spec: - It doesn't scale well to non-integer devicePixelRatios Can you elaborate on this? I don't see

Re: [whatwg] Forms: input type=file and directory tree picking

2013-10-02 Thread Jonas Sicking
On Tue, Oct 1, 2013 at 1:44 PM, Ian Hickson i...@hixie.ch wrote: On Thu, 29 Aug 2013, Jonas Sicking wrote: On Thu, Aug 29, 2013 at 2:45 PM, Ian Hickson i...@hixie.ch wrote: On Thu, 29 Aug 2013, Jonas Sicking wrote: On Thu, Aug 29, 2013 at 1:20 PM, Ian Hickson i...@hixie.ch wrote: On Fri,

Re: [whatwg] Forms: input type=file and directory tree picking

2013-10-02 Thread Glenn Maynard
On Wed, Oct 2, 2013 at 1:02 PM, Jonas Sicking jo...@sicking.cc wrote: That's not the only alternative. For example, a third alternative is that the user's selection (e.g. a directory) is returned quickly, not pre-expanded, and then any uploading happens in the background with the author

Re: [whatwg] Forms: input type=file and directory tree picking

2013-10-02 Thread Jonas Sicking
On Wed, Oct 2, 2013 at 11:52 AM, Glenn Maynard gl...@zewt.org wrote: On Wed, Oct 2, 2013 at 1:02 PM, Jonas Sicking jo...@sicking.cc wrote: That's not the only alternative. For example, a third alternative is that the user's selection (e.g. a directory) is returned quickly, not

[whatwg] related subject -- access to local files RE: Forms: input type=file and directory tree picking

2013-10-02 Thread David Dailey
A few years ago, probably on www-html5, I remember posing a question about enabling the once-unbroken ability to allow JavaScript with user-consent, to insert an image file (as the src of an img into a web page, viewed in the browser). It all used to be easy and worked in the two relevant

Re: [whatwg] Forms: input type=file and directory tree picking

2013-10-02 Thread Glenn Maynard
On Wed, Oct 2, 2013 at 3:35 PM, Jonas Sicking jo...@sicking.cc wrote: Though of course you or anyone else is free to propose changes to the spec to improve that situation. That's what we're doing: suggesting that we expose an API to navigate the tree. (I'm not proposing actual APIs for this

Re: [whatwg] related subject -- access to local files RE: Forms: input type=file and directory tree picking

2013-10-02 Thread Glenn Maynard
(Dropped CC's, since this isn't really related to the thread you're replying to.) On Wed, Oct 2, 2013 at 5:38 PM, David Dailey ddai...@zoominternet.netwrote: A few years ago, probably on www-html5, I remember posing a question about enabling the once-unbroken ability to allow JavaScript with

Re: [whatwg] Forms: input type=file and directory tree picking

2013-10-02 Thread Jonas Sicking
On Oct 2, 2013 3:47 PM, Glenn Maynard gl...@zewt.org wrote: On Wed, Oct 2, 2013 at 3:35 PM, Jonas Sicking jo...@sicking.cc wrote: Though of course you or anyone else is free to propose changes to the spec to improve that situation. That's what we're doing: suggesting that we expose an API

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-10-02 Thread Rik Cabanier
Dominic, it would be great if we could resolve this soon since I'm trying to land this in mozilla and webkit. I think the spec is good as-is, and Rich and Hixie (right?) believe so as well. On Mon, Sep 30, 2013 at 11:48 PM, Dominic Mazzoni dmazz...@google.comwrote: On Mon, Sep 30, 2013 at

Re: [whatwg] Forms: input type=file and directory tree picking

2013-10-02 Thread Glenn Maynard
On Wed, Oct 2, 2013 at 7:48 PM, Jonas Sicking jo...@sicking.cc wrote: Proposals for filesystem is just part of what we need. We also need a way to expose it through HtMLInputElement. And a way to allow not exposing the files through .files. Assuming for now that we need separate modes for

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-10-02 Thread Rik Cabanier
Sorry for some reason this message didn't make it to my inbox On Mon, Sep 30, 2013 at 11:48 PM, Dominic Mazzoni dmazz...@google.comwrote: On Mon, Sep 30, 2013 at 5:42 PM, Rik Cabanier caban...@gmail.com wrote: Where does it say in the spec that if you have assistive technology enabled,

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-10-02 Thread Rik Cabanier
On Wed, Oct 2, 2013 at 7:42 PM, Rik Cabanier caban...@gmail.com wrote: Sorry for some reason this message didn't make it to my inbox On Mon, Sep 30, 2013 at 11:48 PM, Dominic Mazzoni dmazz...@google.comwrote: On Mon, Sep 30, 2013 at 5:42 PM, Rik Cabanier caban...@gmail.com wrote: Where