Re: [whatwg] Uploading directories of files

2009-12-11 Thread Markus Ernst
Ian Fette (イアンフェッティ) schrieb: I would think it preferable if .name also were allowed to contain that extra information -- currently we say The name of the file. There are numerous file name variations on different systems; this is merely the name of the file, without path information. [1]. I

Re: [whatwg] Uploading directories of files

2009-12-11 Thread Anne van Kesteren
On Fri, 11 Dec 2009 09:13:52 +0100, Markus Ernst derer...@gmx.ch wrote: I have no idea how to handle such inconsistent behaviour on the server side (except adding extra code to flatten all uploaded directory structures before handling). I assume that HTTP upload should be kept simple, and

Re: [whatwg] Uploading directories of files

2009-12-11 Thread Markus Ernst
Anne van Kesteren schrieb: On Fri, 11 Dec 2009 09:13:52 +0100, Markus Ernst derer...@gmx.ch wrote: I have no idea how to handle such inconsistent behaviour on the server side (except adding extra code to flatten all uploaded directory structures before handling). I assume that HTTP upload

Re: [whatwg] offscreen canvas /Access to canvas functionality from a worker

2009-12-11 Thread Jonas Sicking
On Thu, Dec 10, 2009 at 1:36 PM, Oliver Hunt oli...@apple.com wrote: Ideally if we were to have a graphics context in a worker we'd want it to be the standard CanvasRenderingContext2D, the only real problem is that CanvasRenderingContext2D references the parent canvas element which clearly

Re: [whatwg] Uploading directories of files

2009-12-11 Thread Jeremy Orlow
On Fri, Dec 11, 2009 at 12:47 AM, Anne van Kesteren ann...@opera.comwrote: On Fri, 11 Dec 2009 09:33:06 +0100, Markus Ernst derer...@gmx.ch wrote: Anne van Kesteren schrieb: On Fri, 11 Dec 2009 09:13:52 +0100, Markus Ernst derer...@gmx.ch wrote: I have no idea how to handle such

Re: [whatwg] Uploading directories of files

2009-12-11 Thread Markus Ernst
Anne van Kesteren schrieb: On Fri, 11 Dec 2009 09:33:06 +0100, Markus Ernst derer...@gmx.ch wrote: Anne van Kesteren schrieb: On Fri, 11 Dec 2009 09:13:52 +0100, Markus Ernst derer...@gmx.ch wrote: I have no idea how to handle such inconsistent behaviour on the server side (except adding

Re: [whatwg] Uploading directories of files

2009-12-11 Thread Markus Ernst
Jeremy Orlow schrieb: On Fri, Dec 11, 2009 at 12:47 AM, Anne van Kesteren ann...@opera.com And I mean that if it is important to application developers we should make it available as a feature and not endorse some plug-in dependency. I (and I think most of us) strongly agree.

Re: [whatwg] offscreen canvas /Access to canvas functionality from a worker

2009-12-11 Thread Jeremy Orlow
On Fri, Dec 11, 2009 at 12:49 AM, Jonas Sicking jo...@sicking.cc wrote: On Thu, Dec 10, 2009 at 1:36 PM, Oliver Hunt oli...@apple.com wrote: Ideally if we were to have a graphics context in a worker we'd want it to be the standard CanvasRenderingContext2D, the only real problem is that

Re: [whatwg] Uploading directories of files

2009-12-11 Thread Jeremy Orlow
On Fri, Dec 11, 2009 at 2:30 AM, Markus Ernst derer...@gmx.ch wrote: Jeremy Orlow schrieb: On Fri, Dec 11, 2009 at 12:47 AM, Anne van Kesteren ann...@opera.com And I mean that if it is important to application developers we should make it available as a feature and not endorse some

Re: [whatwg] Text-To-Speech (TTS) Web API for JavaScript

2009-12-11 Thread Ian Hickson
On Thu, 10 Dec 2009, Weston Ruter wrote: I've been working on a web app which reads text in a web page, highlighting each word as it is read. For this to be possible, a Text-To-Speech API is needed which is able to: (1) generate the speech audio from some text, and (2) include the time

Re: [whatwg] Psuedo classes based on DOM Events

2009-12-11 Thread Ian Hickson
On Tue, 5 Dec 2006, Rohan Prabhu wrote: i was just wondering, that in the Web Controls 1.0 specifications, in the psuedo classes specifications, could it be that the psuedo classes could also be the DOM Events which would modify the style information attached to it. Like for ex:

Re: [whatwg] Web API for speech recognition and synthesis

2009-12-11 Thread Bjorn Bringert
Thanks for the discussion - cool to see more interest today also (http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-December/024453.html) I've hacked up a proof-of-concept JavaScript API for speech recognition and synthesis. It adds a navigator.speech object with these functions: void

Re: [whatwg] Uploading directories of files

2009-12-11 Thread イアンフェッティ
Ok, I sense resistance to putting it in .name. What about .path, undefined in most cases except where there is an upload including files from multiple directories, in which case .path contains the path less any path components common to all 3 (sorry, it's early morning and I can't write well

Re: [whatwg] Uploading directories of files

2009-12-11 Thread Anne van Kesteren
On Fri, 11 Dec 2009 15:24:37 +0100, Ian Fette (イアンフェッティ) ife...@google.com wrote: Ok, I sense resistance to putting it in .name. What about .path, undefined in most cases except where there is an upload including files from multiple directories, in which case .path contains the path less any

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-11 Thread Nicholas Zakas
I agree, automatic downloads are the real issue. a href= is fine because a user must initiate the action (and thus generate a real pageview). I'd think that the behavior should be the same in CSS and SVG for resources that are automatically downloaded. -Nicholas

[whatwg] Switching to an unversioned development model

2009-12-11 Thread Ian Hickson
Hi, I just checked in a change which moves the WHATWG from working on versioned specifications (HTML5) to just working on technology without trying to version it (HTML). This doesn't really mean much from the point of view of how the WHATWG operates, since we've never really paid much

Re: [whatwg] offscreen canvas /Access to canvas functionality from a worker

2009-12-11 Thread Robert O'Callahan
On Fri, Dec 11, 2009 at 2:30 AM, Jeremy Orlow jor...@chromium.org wrote: CanvasRenderingContext2Ds would never need to be shared between threads because they're cloned when passed...so is your concern that the libraries are only meant to ever be used from one thread? Maybe I'm being naive,

Re: [whatwg] Uploading directories of files

2009-12-11 Thread Franz Buchinger
Hi Ian, thanks for suggesting recursive directory selection! This comes almost a bit surprising to me, since Gears decided to deny this feature ( http://code.google.com/p/gears/wiki/FileSystemAPI). One of the reasons for the denial still applies: how can the user be sure what he is uploading? If

Re: [whatwg] offscreen canvas /Access to canvas functionality from a worker

2009-12-11 Thread Jeremy Orlow
On Fri, Dec 11, 2009 at 10:29 AM, Robert O'Callahan rob...@ocallahan.orgwrote: On Fri, Dec 11, 2009 at 2:30 AM, Jeremy Orlow jor...@chromium.org wrote: CanvasRenderingContext2Ds would never need to be shared between threads because they're cloned when passed...so is your concern that the

Re: [whatwg] Uploading directories of files

2009-12-11 Thread Ojan Vafai
2009/12/11 Ian Fette (イアンフェッティ) ife...@google.com Ok, I sense resistance to putting it in .name. What about .path, undefined in most cases except where there is an upload including files from multiple directories, in which case .path contains the path less any path components common to all 3

Re: [whatwg] Web API for speech recognition and synthesis

2009-12-11 Thread Weston Ruter
I was just alerted about this thread from my post Text-To-Speech (TTS) Web API for JavaScript at http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-December/024453.html. Amazing how shared ideas like these seem to arise independently at the same time. I have a use-case and an additional

Re: [whatwg] Web API for speech recognition and synthesis

2009-12-11 Thread Olli Pettay
(Sending this 2nd time. Hopefully whatwg list doesn't bounce it back.) On 12/11/09 6:05 AM, Bjorn Bringert wrote: Thanks for the discussion - cool to see more interest today also (http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-December/024453.html) I've hacked up a proof-of-concept

Re: [whatwg] Uploading directories of files

2009-12-11 Thread Jonas Sicking
2009/12/11 ddailey ddai...@zoominternet.net: Circa 1999 I built a little thingy: a client-side animation studio. It allowed users to point to an image file in local file space. Then I would preload the file, parse the path name and go looking for images with consecutively numbered filenames in

Re: [whatwg] Uploading directories of files

2009-12-11 Thread ddailey
on Friday, December 11, 2009 6:11 PM Jonas Sicking wrote: I'm fairly certain that any of the major browser vendors would be quite horrified if this worked today. I.e. if the page could just grab arbitrary files from the users file system. Occasionally people store private data there ;)

[whatwg] some thoughts on sandboxed IFRAMEs

2009-12-11 Thread Michal Zalewski
Hi folks, So, we were having some internal discussions about the IFRAME sandbox attribute; Adam Barth suggested it would be more productive to bring some of the points I was making on the mailing list instead. I think the attribute is an excellent idea, and close to the dream design we talked