- From: Mercurial notifier <cvsmail@w3.org>
- Date: Thu, 20 Dec 2012 09:34:56 +0000
- To: public-dap-commits@w3.org
changeset: 317:52acb4877e86 tag: tip user: Anssi Kostiainen <anssi.kostiainen@nokia.com> date: Thu Dec 20 11:31:22 2012 +0200 files: proximity/Overview.html description: define default values for the event interface members <http://lists.w3.org/Archives/Public/public-device-apis/2012Dec/0055.html> diff -r caccec1ce94f -r 52acb4877e86 proximity/Overview.html --- a/proximity/Overview.html Thu Dec 20 11:17:48 2012 +0200 +++ b/proximity/Overview.html Thu Dec 20 11:31:22 2012 +0200 @@ -192,6 +192,24 @@ <dd></dd> </dl> <p> + The <code>value</code> attribute MUST return the value it was + initialized to. When the object is created, this attribute MUST be + initialized to positive Infinity. It represents the <a>current device + proximity</a>. + </p> + <p> + The <code>min</code> attribute MUST return the value it was + initialized to. When the object is created, this attribute MUST be + initialized to negative Infinity. It represents the <a>minimum sensing + distance</a>. + </p> + <p> + The <code>max</code> attribute MUST return the value it was + initialized to. When the object is created, this attribute MUST be + initialized to positive Infinity. It represents the <a>maximum sensing + distance</a>. + </p> + <p> When a <dfn>user agent</dfn> is required to <dfn>fire a device proximity event</dfn>, the <dfn>user agent</dfn> MUST run the following steps: @@ -298,6 +316,12 @@ <dd></dd> </dl> <p> + The <code>near</code> attribute MUST return the value it was + initialized to. When the object is created, this attribute MUST be + initialized to false. It represents the <a>current user proximity + state</a>. + </p> + <p> When a <dfn>user agent</dfn> is required to <dfn>fire a user proximity event</dfn>, the <dfn>user agent</dfn> MUST run the following steps:
Received on Thursday, 20 December 2012 09:34:58 UTC