Re: Should events be preferably sent to the Window or the nearest object?

2014-04-10 Thread Mounir Lamouri
On Thu, 10 Apr 2014, at 0:01, Arthur Barstow wrote: Perhaps it would be good then to file a bug for the Screen Orientation spec and/or to add a related note to the ED. WDYT? https://www.w3.org/Bugs/Public/show_bug.cgi?id=25310 -- Mounir

Re: Should events be preferably sent to the Window or the nearest object?

2014-04-09 Thread Arthur Barstow
On 4/7/14 5:33 PM, ext Mounir Lamouri wrote: On Tue, 8 Apr 2014, at 8:37, Ian Hickson wrote: On Mon, 7 Apr 2014, Marcos Caceres wrote: On March 20, 2014 at 2:30:55 PM, Marcos Caceres (w...@marcosc.com) wrote: On March 20, 2014 at 12:58:44 PM, Tab Atkins Jr. wrote: Agreed. The exact target

Re: Should events be preferably sent to the Window or the nearest object?

2014-04-07 Thread Ian Hickson
On Mon, 7 Apr 2014, Marcos Caceres wrote: On March 20, 2014 at 2:30:55 PM, Marcos Caceres (w...@marcosc.com) wrote: On March 20, 2014 at 12:58:44 PM, Tab Atkins Jr. wrote: Agreed. The exact target isn't very important here, and so being consistent with legacy event firing for the same

Re: Should events be preferably sent to the Window or the nearest object?

2014-04-07 Thread Mounir Lamouri
On Tue, 8 Apr 2014, at 8:37, Ian Hickson wrote: On Mon, 7 Apr 2014, Marcos Caceres wrote: On March 20, 2014 at 2:30:55 PM, Marcos Caceres (w...@marcosc.com) wrote: On March 20, 2014 at 12:58:44 PM, Tab Atkins Jr. wrote: Agreed. The exact target isn't very important here, and so being

Should events be preferably sent to the Window or the nearest object?

2014-03-20 Thread Mounir Lamouri
Hi, I would love to gather the opinion of public-webapps on a discussion Hixie and I had for two different APIs recently: if an array |foo| can change, should the change event be fired on its parent or the window (its grandparent)? The two cases we discussed with Hixie were navigator.languages

Re: Should events be preferably sent to the Window or the nearest object?

2014-03-20 Thread Ian Hickson
On Fri, 21 Mar 2014, Mounir Lamouri wrote: I would love to gather the opinion of public-webapps on a discussion Hixie and I had for two different APIs recently: if an array |foo| can change, should the change event be fired on its parent or the window (its grandparent)? The two cases we

Re: Should events be preferably sent to the Window or the nearest object?

2014-03-20 Thread Tab Atkins Jr.
On Thu, Mar 20, 2014 at 8:33 AM, Ian Hickson i...@hixie.ch wrote: On Fri, 21 Mar 2014, Mounir Lamouri wrote: I would love to gather the opinion of public-webapps on a discussion Hixie and I had for two different APIs recently: if an array |foo| can change, should the change event be fired on

Re: Should events be preferably sent to the Window or the nearest object?

2014-03-20 Thread Marcos Caceres
On March 20, 2014 at 12:58:44 PM, Tab Atkins Jr. (jackalm...@gmail.com) wrote: Agreed. The exact target isn't very important here, and so being consistent with legacy event firing for the same system is probably a good idea. Agree. Let's go with consistency, even though it feels a bit