Re: querySelectorAll() -- selecting _immediate_ children of element

2012-01-10 Thread Roland Steiner
This has actually been discussed quite a bit on this list, in various contexts - for example see http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/0277.html(except that you have to substitute :scope for your proposed :this). Cheers, - Roland On Mon, Jan 9, 2012 at 23:46, Marat

Worry on Enum type - binding seems inconsistently defined

2012-01-10 Thread Harald Alvestrand
Hello, the WebRTC WG is currently contemplating following the WebApps WG's advice on avoiding use of integers in APIs, and switching to enums whenever possible. However, one detail makes the spec at this time a bit hard to understand: In section 3.5, the following is said: Note In the

[Bug 15494] New: author request headers: Content-Transfer-Encoding

2012-01-10 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15494 Summary: author request headers: Content-Transfer-Encoding Product: WebAppsWG Version: unspecified Platform: All URL: http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#t

[Bug 15495] New: I need some way of recovering from longer but still temporary failures, without requiring a complete page refresh, and without requiring every all events of interest to be rebound,

2012-01-10 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15495 Summary: I need some way of recovering from longer but still temporary failures, without requiring a complete page refresh, and without requiring every all events of

Re: Speech Recognition and Text-to-Speech Javascript API - seeking feedback for eventual standardization

2012-01-10 Thread Glen Shires
Art, Per #2 Editor commitment(s): we confirm that Bjorn Bringert, Satish Sampath and Glen Shires volunteer as editors. If others would like to help, we welcome them. Per #4 Testing commitment(s): can you elaborate on what you would like to see at this point? Also, what is the next step? On Mon,

[Bug 15134] Please explain what the proper behavior of getSelection on a display:none iframe is

2012-01-10 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15134 Aryeh Gregor a...@aryeh.name changed: What|Removed |Added Status|NEW |RESOLVED

Re: [editing] tab in an editable area WAS: [whatwg] behavior when typing in contentEditable elements

2012-01-10 Thread Aryeh Gregor
On Fri, Jan 6, 2012 at 10:12 PM, Ojan Vafai o...@chromium.org wrote: There are strong use-cases for both. In an app like Google Docs you certainly want tab to act like indent. In a mail app, it's more of a toss-up. In something like the Google+ sharing widget, you certainly want it to maintain

Re: [FileAPI] Blob protocol version - is this needed?

2012-01-10 Thread Arun Ranganathan
Greetings Adrian, Sorry for the delay in responding to this email. Strictly speaking, we could remove the Blob Protocol Version (BLV) [1]. It isn't returned in getAllResponseHeaders. BLV 's purpose was in case the protocol changes, and to differentiate between versions. But the protocol

Re: Pressing Enter in contenteditable: p or br or div?

2012-01-10 Thread Ryosuke Niwa
On Sun, Jan 8, 2012 at 11:57 PM, Simon Pieters sim...@opera.com wrote: On Sat, 07 Jan 2012 03:57:33 +0100, Ojan Vafai o...@chromium.org wrote: Different apps have different needs and it's crappy for them to have to handle enter themselves just to get a different block type on enter.

[Bug 15509] New: Define HTTP handling of data URLs (and maybe other URLs)

2012-01-10 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15509 Summary: Define HTTP handling of data URLs (and maybe other URLs) Product: WebAppsWG Version: unspecified Platform: PC OS/Version: All Status: NEW

Re: Pressing Enter in contenteditable: p or br or div?

2012-01-10 Thread Aryeh Gregor
On Fri, Jan 6, 2012 at 9:57 PM, Ojan Vafai o...@chromium.org wrote: I'm OK with this conclusion, but I still strongly prefer div to be the default single-line container name. Why? I don't like using div as a line separator at all, because it's also used as a block-level wrapper, while p is

Re: [editing] Feedback Link?

2012-01-10 Thread Aryeh Gregor
On Sun, Jan 8, 2012 at 2:28 PM, Doug Schepers schep...@w3.org wrote: In the status section of the HTML Editing APIs spec [1], you have detailed instructions for how people should provide feedback, but the links you provide are to the pubic-webapps archive and to your personal email, rather

Re: Pressing Enter in contenteditable: p or br or div?

2012-01-10 Thread Ryosuke Niwa
On Tue, Jan 10, 2012 at 12:46 PM, Aryeh Gregor a...@aryeh.name wrote: On Tue, Jan 10, 2012 at 3:40 PM, Ryosuke Niwa rn...@webkit.org wrote: Single br tag is shorter than pairs of div tags when serialized. True, but only slightly, and the difference is even smaller if you use p instead of

Colliding FileWriters

2012-01-10 Thread Jonas Sicking
Hi All, We've been looking at implementing FileWriter and had a couple of questions. First of all, what happens if multiple pages create a FileWriter for the same FileEntry at the same time? Will both be able to write to the file at the same time and whoever writes lasts to a given byte wins?

File modification

2012-01-10 Thread Charles Pritchard
Modern operating systems have efficient mechanisms to send a signal when a watched file or directory is modified. File and FileEntry have a last modified date-- currently we must poll entries to see if the modification date changes. That works completely fine in practice, but it doesn't give

Re: [editing] tab in an editable area WAS: [whatwg] behavior when typing in contentEditable elements

2012-01-10 Thread Charles Pritchard
On Jan 10, 2012, at 12:30 PM, Aryeh Gregor a...@aryeh.name wrote: On Fri, Jan 6, 2012 at 10:12 PM, Ojan Vafai o...@chromium.org wrote: There are strong use-cases for both. In an app like Google Docs you certainly want tab to act like indent. In a mail app, it's more of a toss-up. In something

Re: File modification

2012-01-10 Thread Eric U
On Tue, Jan 10, 2012 at 1:29 PM, Charles Pritchard ch...@visc.us wrote: Modern operating systems have efficient mechanisms to send a signal when a watched file or directory is modified. File and FileEntry have a last modified date-- currently we must poll entries to see if the modification

Re: File modification

2012-01-10 Thread Charles Pritchard
On Jan 10, 2012, at 1:53 PM, Eric U er...@google.com wrote: On Tue, Jan 10, 2012 at 1:29 PM, Charles Pritchard ch...@visc.us wrote: Modern operating systems have efficient mechanisms to send a signal when a watched file or directory is modified. File and FileEntry have a last modified

Re: Pressing Enter in contenteditable: p or br or div?

2012-01-10 Thread Charles Pritchard
On Jan 10, 2012, at 12:50 PM, Ryosuke Niwa rn...@webkit.org wrote: On Tue, Jan 10, 2012 at 12:46 PM, Aryeh Gregor a...@aryeh.name wrote: On Tue, Jan 10, 2012 at 3:40 PM, Ryosuke Niwa rn...@webkit.org wrote: Single br tag is shorter than pairs of div tags when serialized. True, but only

Re: Colliding FileWriters

2012-01-10 Thread Eric U
On Tue, Jan 10, 2012 at 1:08 PM, Jonas Sicking jo...@sicking.cc wrote: Hi All, We've been looking at implementing FileWriter and had a couple of questions. First of all, what happens if multiple pages create a FileWriter for the same FileEntry at the same time? Will both be able to write to

Re: [editing] tab in an editable area WAS: [whatwg] behavior when typing in contentEditable elements

2012-01-10 Thread Ojan Vafai
On Tue, Jan 10, 2012 at 12:30 PM, Aryeh Gregor a...@aryeh.name wrote: On Fri, Jan 6, 2012 at 10:12 PM, Ojan Vafai o...@chromium.org wrote: We should make this configurable via execCommand: document.execCommand(TabBehavior, false, bitmask); I'm leery of global flags like that, because they

[xhr] responseType for sync requests in window context

2012-01-10 Thread Jarred Nicholls
Got some reports of broken C/C++ = JS compilers that relied on sync XHR to load resources into an ArrayBuffer (simulating fopen), e.g. Mandreel and Enscripten. https://bugzilla.mozilla.org/show_bug.cgi?id=716765 https://bugs.webkit.org/show_bug.cgi?id=72154#c43 Is there additional scoping of