W3C home > Mailing lists > Public > public-device-apis@w3.org > May 2012

Re: [sensors] Proximity Events

From: Marcos Caceres <w3c@marcosc.com>
Date: Tue, 22 May 2012 19:22:20 +0100
Message-ID: <4FBBD95C.8030800@marcosc.com>
To: Doug Turner <dougt@mozilla.com>
CC: "N.V.Balaji" <nv.balaji@samsung.com>, ext Jonas Sicking <jonas@sicking.cc>, public-device-apis@w3.org, Anssi Kostiainen <anssi.kostiainen@nokia.com>, Dzung D ext Tran <dzung.d.tran@intel.com>
On 22/05/2012 18:13, Doug Turner wrote:
>> The reason for the event to bubble is also unclear.
> These APIs are based on DOM events.  See http://www.w3.org/TR/DOM-Level-2-Events/events.html
Not sure what you mean, but the event has nothing to "bubble" up to 
(hence, bubbling has no use case). This also seems to contradict the 
defaults in DOM4:

" The bubbles and cancelable attributes must return the values they were 
initialized to. When an event is created the attributes must be 
initialized to false."

Can we just agree to leave it to the DOM4 defaults and not worry about it?
Received on Tuesday, 22 May 2012 18:23:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:54 UTC