Re: Clipboard API spec should specify beforecopy, beforecut, and beforepaste events

2012-05-02 Thread Aryeh Gregor
On Wed, May 2, 2012 at 3:56 AM, Ryosuke Niwa rn...@webkit.org wrote: That might make sense given how confusing these before* are. On the other hand, there are use cases to communicate enabledness of cut, copy, paste with UA. Maybe we can address this use case by letting websites override

Re: Clipboard API spec should specify beforecopy, beforecut, and beforepaste events

2012-05-02 Thread Ryosuke Niwa
On Tue, May 1, 2012 at 11:02 PM, Aryeh Gregor a...@aryeh.name wrote: On Wed, May 2, 2012 at 3:56 AM, Ryosuke Niwa rn...@webkit.org wrote: That might make sense given how confusing these before* are. On the other hand, there are use cases to communicate enabledness of cut, copy, paste

Re: Clipboard API spec should specify beforecopy, beforecut, and beforepaste events

2012-05-02 Thread Aryeh Gregor
On Wed, May 2, 2012 at 9:04 AM, Ryosuke Niwa rn...@webkit.org wrote: That's a good point. What would be a viable alternative then? The use-case is disable cut/copy/paste and also hide those options from context menus, right? I think these are two separate features. First, you want to prevent

Re: Clipboard API spec should specify beforecopy, beforecut, and beforepaste events

2012-05-02 Thread Ryosuke Niwa
On Tue, May 1, 2012 at 11:23 PM, Aryeh Gregor a...@aryeh.name wrote: For the former, I'd suggest onbeforecontextmenu, with some way to disable specific options, like extra boolean parameters (or a dictionary) on the event. So you'd do something like addEventListener(beforecontextmenu,

Re: Clipboard API spec should specify beforecopy, beforecut, and beforepaste events

2012-05-02 Thread Aryeh Gregor
On Wed, May 2, 2012 at 9:27 AM, Ryosuke Niwa rn...@webkit.org wrote: Sounds like beforecut, beforecopy, and beforepaste suffice then... Maybe these events are useful after all. I think they're useful, but very badly named -- authors will think they fire before every cut, copy, and paste. So

Re: [webcomponents] HTML Parsing and the template element

2012-05-02 Thread Alex Russell
What Tab said. On Tue, Apr 24, 2012 at 5:45 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, Apr 24, 2012 at 9:12 AM, Clint Hill clint.h...@gmail.com wrote: Hmm. I have to say that I disagree that your example below shows a template within a template. That is IMO 1 template wherein there

Re: CfC: to stop work on XBL2; deadline May 8

2012-05-02 Thread Anne van Kesteren
On Tue, 01 May 2012 21:35:45 -0700, Ian Hickson i...@hixie.ch wrote: What happens if it doesn't pass? I guess we'll reevaluate then. -- Anne van Kesteren http://annevankesteren.nl/

Re: Clipboard API spec should specify beforecopy, beforecut, and beforepaste events

2012-05-02 Thread Boris Zbarsky
On 5/2/12 2:23 AM, Aryeh Gregor wrote: For the former, I'd suggest onbeforecontextmenu, with some way to disable specific options I would think that disabling cut/copy/paste would apply to main menus too, not just context menus. Most people I know who use menus for this (which is precious

ReSpec biblio

2012-05-02 Thread SULLIVAN, BRYAN L
Hi Robin, I'm starting to edit the Push API spec per the Webapps meeting in progress: http://www.w3.org/2008/webapps/wiki/May2012F2FMeeting (Server-Sent Events extended to work with other push notification schemes such as Push SMS). Some questions on the ReSpec biblio: * Do you have a

Re: [webcomponents] Custom Elements Spec

2012-05-02 Thread Alex Russell
On Wed, May 2, 2012 at 12:42 AM, Dimitri Glazkov dglaz...@chromium.org wrote: Based on the hallway conversations at the F2F, here are some notes for the upcoming Custom Elements spec. Custom tags vs. is attribute - is attribute is awkward, overly verbose - custom tags introduce local

CfC: to stop work on From-Origin spec; deadline May 8

2012-05-02 Thread Arthur Barstow
During WebApps' May 1 f2f meeting, a proposal was made [1] to stop work on the From-Origin spec [2] and this is a Call for Consensus to do do. If you have any comments or concerns about this CfC, please send them to public-webapps@w3.org by May 8 at the latest. Positive response is preferred

Re: Clipboard API spec should specify beforecopy, beforecut, and beforepaste events

2012-05-02 Thread Bronislav Klučka
On 2.5.2012 15:57, Boris Zbarsky wrote: On 5/2/12 2:23 AM, Aryeh Gregor wrote: For the former, I'd suggest onbeforecontextmenu, with some way to disable specific options I would think that disabling cut/copy/paste would apply to main menus too, not just context menus. Most people I know

Re: Clipboard API spec should specify beforecopy, beforecut, and beforepaste events

2012-05-02 Thread Ryosuke Niwa
On Wed, May 2, 2012 at 8:55 AM, Bronislav Klučka bronislav.klu...@bauglir.com wrote: Bear with me... Delphi (Object Pascal) Visual Component Library has concept of Actions, some Actions can be assigned to Controls (those would be here menu/contextmenu items of the browser, would be great to

Re: Clipboard API spec should specify beforecopy, beforecut, and beforepaste events

2012-05-02 Thread Bronislav Klučka
On 2.5.2012 18:15, Ryosuke Niwa wrote: On Wed, May 2, 2012 at 8:55 AM, Bronislav Klučka bronislav.klu...@bauglir.com wrote: Bear with me... Delphi (Object Pascal) Visual Component Library has concept of Actions,

Re: CfC: to stop work on XBL2; deadline May 8

2012-05-02 Thread Ian Hickson
On Wed, 2 May 2012, Anne van Kesteren wrote: On Tue, 01 May 2012 21:35:45 -0700, Ian Hickson i...@hixie.ch wrote: What happens if it doesn't pass? I guess we'll reevaluate then. How would this be different than what we've been doing for the past year? As far as I can tell, the current

Re: CfC: to stop work on XBL2; deadline May 8

2012-05-02 Thread Tab Atkins Jr.
On Wed, May 2, 2012 at 10:00 AM, Ian Hickson i...@hixie.ch wrote: On Wed, 2 May 2012, Anne van Kesteren wrote: On Tue, 01 May 2012 21:35:45 -0700, Ian Hickson i...@hixie.ch wrote: What happens if it doesn't pass? I guess we'll reevaluate then. How would this be different than what we've

Re: Clipboard API spec should specify beforecopy, beforecut, and beforepaste events

2012-05-02 Thread Ryosuke Niwa
On Wed, May 2, 2012 at 9:44 AM, Bronislav Klučka bronislav.klu...@bauglir.com wrote: On 2.5.2012 18:15, Ryosuke Niwa wrote: On Wed, May 2, 2012 at 8:55 AM, Bronislav Klučka bronislav.klu...@bauglir.com wrote: Bear with me... Delphi (Object Pascal) Visual Component Library has concept of

Re: CfC: to stop work on XBL2; deadline May 8

2012-05-02 Thread Ian Hickson
On Wed, 2 May 2012, Tab Atkins Jr. wrote: So you're blocking the resolution on Process grounds? ^_^ Not blocking anything, I am just baffled by the concept that we need to agree to tell people the truth, and by the concept that if we agree to not work on something, we have to do more work

Re: CfC: to stop work on XBL2; deadline May 8

2012-05-02 Thread Charles McCathieNevile
On Wed, 02 May 2012 19:00:48 +0200, Ian Hickson i...@hixie.ch wrote: On Wed, 2 May 2012, Anne van Kesteren wrote: On Tue, 01 May 2012 21:35:45 -0700, Ian Hickson i...@hixie.ch wrote: What happens if it doesn't pass? I guess we'll reevaluate then. How would this be different than what we've

Re: Clipboard API spec should specify beforecopy, beforecut, and beforepaste events

2012-05-02 Thread Bronislav Klučka
On 2.5.2012 19:07, Ryosuke Niwa wrote: On Wed, May 2, 2012 at 9:44 AM, Bronislav Klučka bronislav.klu...@bauglir.com mailto:bronislav.klu...@bauglir.com wrote: On 2.5.2012 18:15, Ryosuke Niwa wrote: On Wed, May 2, 2012 at 8:55 AM, Bronislav Klučka bronislav.klu...@bauglir.com

Re: Clipboard API spec should specify beforecopy, beforecut, and beforepaste events

2012-05-02 Thread Boris Zbarsky
On 5/2/12 1:37 PM, Ojan Vafai wrote: With my used-to-maintain-a-rich-text-component hat on, I would have preferred a property to an event as an author. Most editing libraries already have code to update the depressed state of the toolbar buttons when the selection changes (e.g. depress the bold

Re: CfC: to stop work on XBL2; deadline May 8

2012-05-02 Thread Charles McCathieNevile
On Wed, 02 May 2012 06:26:26 +0200, Arthur Barstow art.bars...@nokia.com wrote: During WebApps' May 1 discussion about Web Components, a proposal was made ([1],[2]) to stop work on the XBL2 spec and this is a Call for Consensus to do do. please do. cheers If you have any comments or

[Bug 16714] IndexedDB: creating an object store with Array-type key path and key generator should be forbidden

2012-05-02 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16714 Jonas Sicking jo...@sicking.cc changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 15595] The abstract could be improved by pointing out that WebSocket protocol is defined by the IETF, while this API specifies the browser API to use that protocol. The send(data) method tra

2012-05-02 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15595 Ian 'Hixie' Hickson i...@hixie.ch changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 15400] WebSocket Protocol reference needs updating

2012-05-02 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15400 Ian 'Hixie' Hickson i...@hixie.ch changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug 16157] WebSocket shouldn't throw SyntaxError on unpaired surrogates

2012-05-02 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16157 Ian 'Hixie' Hickson i...@hixie.ch changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug 16703] I am suggesting a default value for the code argument to the close method. I am currently experimenting with this method and noticed that Chrome and Firefox seem to use different defa

2012-05-02 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16703 Ian 'Hixie' Hickson i...@hixie.ch changed: What|Removed |Added Status|NEW |RESOLVED

CfC: publish FPWD of Gamepad spec; deadline May 9

2012-05-02 Thread Arthur Barstow
As discussed during WebApps' May 1 f2f meeting [2], the Gamepad spec is ready for a First Public Working Draft (FPWD) publication and this a Call for Consensus (CfC) to do so: http://dvcs.w3.org/hg/gamepad/raw-file/tip/gamepad.html This CfC satisfies the group's requirement to record the

CfC: publish FPWD of Pointer Lock spec; deadline May 9

2012-05-02 Thread Arthur Barstow
As discussed during WebApps' May 1 f2f meeting [2], the Pointer Lock spec is ready for a First Public Working Draft (FPWD) publication and this a Call for Consensus (CfC) to do so: http://dvcs.w3.org/hg/pointerlock/raw-file/tip/index.html This CfC satisfies the group's requirement to record

[Bug 16708] s/ArrayBuffer/ArrayBufferView/ - See http://lists.w3.org/Archives/Public/public-webapps/2012AprJun/0177.html

2012-05-02 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16708 Ian 'Hixie' Hickson i...@hixie.ch changed: What|Removed |Added Status|NEW |RESOLVED

CfC: publish FPWD of Shadow DOM; deadline May 9

2012-05-02 Thread Arthur Barstow
As discussed during WebApps' May 1 f2f meeting [2], the Shadow DOM spec is ready for a First Public Working Draft (FPWD) publication and this a Call for Consensus (CfC) to do so: http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html This CfC satisfies the group's requirement

CfC: publish a FPWD of Web Components Explainer; deadline May 9

2012-05-02 Thread Arthur Barstow
As discussed during WebApps' May 1 f2f meeting [2], the Web Components Explainer document is ready for a First Public Working Draft (FPWD) publication and this a Call for Consensus (CfC) to do so: http://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/index.html This CfC satisfies the

Re: CfC: publish a FPWD of Web Components Explainer; deadline May 9

2012-05-02 Thread Olli Pettay
I don't understand this. The explainer doesn't look like something which should become a recommendation. It just, well, explains how the various proposed APIs work. So, why do we need explainer as FPWD? -Olli On 05/02/2012 11:22 PM, Arthur Barstow wrote: As discussed during WebApps' May 1

[IndexedDB] Checked in fix for ReSpec issue

2012-05-02 Thread Jonas Sicking
Hi All, I checked in a somewhat hacky fix for the ReSpec issue that has caused a lot of the exception definitions to fall out of the spec text. This means that the spec now again show which exceptions should be thrown when. I certainly agree that it would be better to move the definition of

Re: [IndexedDB] Checked in fix for ReSpec issue

2012-05-02 Thread Anne van Kesteren
On Wed, 02 May 2012 13:46:27 -0700, Jonas Sicking jo...@sicking.cc wrote: I certainly agree that it would be better to move the definition of when to throw exceptions into the prose for each function and attribute, but that's a big change that I don't think we should block on. (In fact, it might

[Bug 16465] [IndexedDB] Error handling of db.transaction('mystore', 'some invalid value here') should be defined

2012-05-02 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16465 Jonas Sicking jo...@sicking.cc changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 16715] IndexedDB: Spec nit in steps for evaluating key path

2012-05-02 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16715 Jonas Sicking jo...@sicking.cc changed: What|Removed |Added Status|NEW |RESOLVED

Re: [editing] input event should have a data property WAS: [D3E] Where did textInput go?

2012-05-02 Thread Ojan Vafai
On Thu, Apr 5, 2012 at 6:19 AM, Aryeh Gregor a...@aryeh.name wrote: On Wed, Apr 4, 2012 at 10:07 PM, Ojan Vafai o...@chromium.org wrote: The original proposal to drop textInput included that beforeInput/input would have a data property of the plain text being inserted. Aryeh, how does

GamepadObserver (ie. MutationObserver + Gamepad)

2012-05-02 Thread Rick Waldron
Instead of traditional DOM events being used for Other Events[1], and considering the high frequency of Gamepad state changes, it might make sense to provide an API similar to MutationObserver, where a MutationRecord is created that has snapshots of current and previous states of axes or

Re: GamepadObserver (ie. MutationObserver + Gamepad)

2012-05-02 Thread Olli Pettay
On 05/03/2012 12:48 AM, Rick Waldron wrote: Instead of traditional DOM events being used for Other Events[1], and considering the high frequency of Gamepad state changes, it might make sense to provide an API similar to MutationObserver, where a MutationRecord is created that has snapshots of

Re: CfC: publish a FPWD of Web Components Explainer; deadline May 9

2012-05-02 Thread Arthur Barstow
On 5/2/12 1:27 PM, ext Olli Pettay wrote: I don't understand this. The explainer doesn't look like something which should become a recommendation. And it may never become a Recommendation (f.ex. the group may later decide to publish it as a WG Note). It just, well, explains how the

Re: GamepadObserver (ie. MutationObserver + Gamepad)

2012-05-02 Thread Rick Waldron
On Wed, May 2, 2012 at 5:54 PM, Olli Pettay olli.pet...@helsinki.fi wrote: On 05/03/2012 12:48 AM, Rick Waldron wrote: Instead of traditional DOM events being used for Other Events[1], and considering the high frequency of Gamepad state changes, it might make sense to provide an API similar

Re: GamepadObserver (ie. MutationObserver + Gamepad)

2012-05-02 Thread Scott Graham
On Wed, May 2, 2012 at 3:12 PM, Rick Waldron waldron.r...@gmail.com wrote: On Wed, May 2, 2012 at 5:54 PM, Olli Pettay olli.pet...@helsinki.fi wrote: On 05/03/2012 12:48 AM, Rick Waldron wrote: Instead of traditional DOM events being used for Other Events[1], and considering the high

CfC: publish FPWD of Input Method Editor (IME); deadline May 9

2012-05-02 Thread Arthur Barstow
As discussed during WebApps' May 1 f2f meeting [2], the Input Method Editor (IME) spec is ready for a First Public Working Draft (FPWD) publication and this a Call for Consensus (CfC) to do so: http://dvcs.w3.org/hg/ime-api/raw-file/tip/Overview.html This CfC satisfies the group's

Re: GamepadObserver (ie. MutationObserver + Gamepad)

2012-05-02 Thread Rick Waldron
On Wed, May 2, 2012 at 7:01 PM, Scott Graham scot...@chromium.org wrote: On Wed, May 2, 2012 at 3:12 PM, Rick Waldron waldron.r...@gmail.com wrote: On Wed, May 2, 2012 at 5:54 PM, Olli Pettay olli.pet...@helsinki.fi wrote: On 05/03/2012 12:48 AM, Rick Waldron wrote: Instead of

CfC: publish FPWD of Screen Orientation ; deadline May 9

2012-05-02 Thread Arthur Barstow
As discussed during WebApps' May 1 f2f meeting [2], the Screen Orientation spec is ready for a First Public Working Draft (FPWD) publication and this a Call for Consensus (CfC) to do so: http://dvcs.w3.org/hg/screen-orientation/raw-file/tip/Overview.html This CfC satisfies the group's

CfC: publish FPWD of URL spec; deadline May 9

2012-05-02 Thread Arthur Barstow
As discussed during WebApps' May 1 f2f meeting [2], the URL spec is ready for a First Public Working Draft (FPWD) publication and this a Call for Consensus (CfC) to do so. Mike agreed to prepare the spec for publication using the following draft:

Re: GamepadObserver (ie. MutationObserver + Gamepad)

2012-05-02 Thread Scott Graham
On Wed, May 2, 2012 at 6:09 PM, Rick Waldron waldron.r...@gmail.com wrote: On Wed, May 2, 2012 at 7:01 PM, Scott Graham scot...@chromium.org wrote: On Wed, May 2, 2012 at 3:12 PM, Rick Waldron waldron.r...@gmail.com wrote: On Wed, May 2, 2012 at 5:54 PM, Olli Pettay olli.pet...@helsinki.fi