- From: Mercurial notifier <cvsmail@w3.org>
- Date: Fri, 19 Apr 2013 11:13:46 +0000
- To: public-dap-commits@w3.org
changeset: 410:01830b0a209e user: Anssi Kostiainen <anssi.kostiainen@intel.com> date: Fri Apr 19 14:11:25 2013 +0300 files: proximity/Overview.html proximity/Overview.src.html description: change affiliation diff -r 321621cc6aa1 -r 01830b0a209e proximity/Overview.html --- a/proximity/Overview.html Fri Apr 19 14:09:41 2013 +0300 +++ b/proximity/Overview.html Fri Apr 19 14:11:25 2013 +0300 @@ -51,12 +51,6 @@ color: #ff4500; } - -/* --- --- */ -ol.algorithm { counter-reset:numsection; list-style-type: none; } -ol.algorithm li { margin: 0.5em 0; } -ol.algorithm li:before { font-weight: bold; counter-increment: numsection; content: counters(numsection, ".") ") "; } - /* --- TOC --- */ .toc a, .tof a { text-decoration: none; @@ -127,7 +121,7 @@ color: #b9ab2d; } div.issue-title { color: #e05252; } -div.note-title { color: #52e052; } +div.note-title { color: #2b2; } div.issue-title span, div.note-title span { text-transform: uppercase; } @@ -142,7 +136,7 @@ border-left-style: solid; } div.issue, div.note { - padding: 0.5em; + padding: 1em 1.2em 0.5em; margin: 1em 0; position: relative; clear: both; @@ -192,6 +186,11 @@ font-weight: bold; color: #005a9c; } +a.idlEnumItem { + color: #000; + border-bottom: 1px dotted #ccc; + text-decoration: none; +} .idlSuperclass { font-style: italic; @@ -224,6 +223,16 @@ text-decoration: none; } +/*.idlCtor*/ +.idlCtorName { + color: #ff4500; +} +.idlCtorName a { + color: #ff4500; + border-bottom: 1px dotted #ff4500; + text-decoration: none; +} + /*.idlParam*/ .idlParamType { color: #005a9c; @@ -236,6 +245,11 @@ color: #666; } +/*.idlSectionComment*/ +.idlSectionComment { + color: gray; +} + /*.idlConst*/ .idlConstType { color: #005a9c; @@ -283,15 +297,15 @@ font-weight: bold; } -dl.attributes, dl.methods, dl.constants, dl.fields, dl.dictionary-members { +dl.attributes, dl.methods, dl.constants, dl.constructors, dl.fields, dl.dictionary-members { margin-left: 2em; } -.attributes dt, .methods dt, .constants dt, .fields dt, .dictionary-members dt { +.attributes dt, .methods dt, .constants dt, .constructors dt, .fields dt, .dictionary-members dt { font-weight: normal; } -.attributes dt code, .methods dt code, .constants dt code, .fields dt code, .dictionary-members dt code { +.attributes dt code, .methods dt code, .constants dt code, .constructors dt code, .fields dt code, .dictionary-members dt code { font-weight: bold; color: #000; font-family: monospace; @@ -317,7 +331,11 @@ background: #ddffd2; } -.attributes dd, .methods dd, .constants dd, .fields dd, .dictionary-members dd { +.constructors dt code { + background: #cfc; +} + +.attributes dd, .methods dd, .constants dd, .constructors dd, .fields dd, .dictionary-members dd { margin-bottom: 1em; } @@ -364,7 +382,7 @@ border-collapse: collapse; width: 100%; } -</style><link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/W3C-ED"><!--[if lt IE 9]><script src='https://www.w3.org/2008/site/js/html5shiv.js'></script><![endif]--></head> +</style><link rel="stylesheet" href="//www.w3.org/StyleSheets/TR/W3C-ED"><!--[if lt IE 9]><script src='https://www.w3.org/2008/site/js/html5shiv.js'></script><![endif]--></head> <body><div class="head"> <p> @@ -373,7 +391,7 @@ </p> <h1 class="title" id="title">Proximity Events</h1> - <h2 id="w3c-editor-s-draft-06-february-2013"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft 06 February 2013</h2> + <h2 id="w3c-editor-s-draft-19-april-2013"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft 19 April 2013</h2> <dl> <dt>This version:</dt> @@ -396,7 +414,7 @@ <dt>Editors:</dt> - <dd><span>Anssi Kostiainen</span>, <a href="http://nokia.com/">Nokia</a></dd> + <dd><span>Anssi Kostiainen</span>, <a href="http://intel.com/">Intel</a></dd> <dd><span>Dzung D Tran</span>, <a href="http://intel.com/">Intel</a></dd> @@ -536,8 +554,8 @@ normative. </p> <p> - The key words <em class="rfc2119" title="must">must</em>, <em class="rfc2119" title="must not">must not</em>, <em class="rfc2119" title="required">required</em>, <em class="rfc2119" title="should">should</em>, <em class="rfc2119" title="should not">should not</em>, <em class="rfc2119" title="recommended">recommended</em>, <em class="rfc2119" title="may">may</em>, - and <em class="rfc2119" title="optional">optional</em> in this specification are to be interpreted as described in [<cite><a class="bibref" href="#bib-RFC2119">RFC2119</a></cite>]. + The key words <em class="rfc2119" title="MUST">MUST</em>, <em class="rfc2119" title="MUST NOT">MUST NOT</em>, <em class="rfc2119" title="REQUIRED">REQUIRED</em>, <em class="rfc2119" title="SHOULD">SHOULD</em>, <em class="rfc2119" title="SHOULD NOT">SHOULD NOT</em>, <em class="rfc2119" title="RECOMMENDED">RECOMMENDED</em>, <em class="rfc2119" title="MAY">MAY</em>, + and <em class="rfc2119" title="OPTIONAL">OPTIONAL</em> in this specification are to be interpreted as described in [<cite><a class="bibref" href="#bib-RFC2119">RFC2119</a></cite>]. </p> <p> @@ -609,11 +627,11 @@ which this specification extends: </p> <pre class="idl"><span class="idlInterface" id="idl-def-Window">partial interface <span class="idlInterfaceID">Window</span> { -<span class="idlAttribute"> attribute <span class="idlAttrType"><a>EventHandler</a></span> <span class="idlAttrName"><a href="#widl-Window-ondeviceproximity">ondeviceproximity</a></span>;</span> +<span class="idlAttribute"> attribute <span class="idlAttrType"><a>EventHandler</a></span> <span class="idlAttrName"><a href="#widl-Window-ondeviceproximity">ondeviceproximity</a></span>;</span> };</span></pre> <p> The <code>ondeviceproximity</code> event handler and its corresponding - event handler event type <code>deviceproximity</code> <em class="rfc2119" title="must">must</em> be supported + event handler event type <code>deviceproximity</code> <em class="rfc2119" title="MUST">MUST</em> be supported as an IDL attribute by all objects implementing the <a href="#idl-def-Window" class="idlType"><code>Window</code></a> interface. </p> @@ -625,37 +643,37 @@ <span class="idlMember"> <span class="idlMemberType"><a>double</a></span> <span class="idlMemberName"><a href="#widl-DeviceProximityEventInit-max">max</a></span>;</span> };</span><br><br>[<span class="extAttr">Constructor (DOMString type, optional DeviceProximityEventInit eventInitDict)</span>] interface <span class="idlInterfaceID">DeviceProximityEvent</span> : <span class="idlSuperclass"><a>Event</a></span> { -<span class="idlAttribute"> readonly attribute <span class="idlAttrType"><a>double</a></span> <span class="idlAttrName"><a href="#widl-DeviceProximityEvent-value">value</a></span>;</span> -<span class="idlAttribute"> readonly attribute <span class="idlAttrType"><a>double</a></span> <span class="idlAttrName"><a href="#widl-DeviceProximityEvent-min">min</a></span>;</span> -<span class="idlAttribute"> readonly attribute <span class="idlAttrType"><a>double</a></span> <span class="idlAttrName"><a href="#widl-DeviceProximityEvent-max">max</a></span>;</span> +<span class="idlAttribute"> readonly attribute <span class="idlAttrType"><a>double</a></span> <span class="idlAttrName"><a href="#widl-DeviceProximityEvent-value">value</a></span>;</span> +<span class="idlAttribute"> readonly attribute <span class="idlAttrType"><a>double</a></span> <span class="idlAttrName"><a href="#widl-DeviceProximityEvent-min">min</a></span>;</span> +<span class="idlAttribute"> readonly attribute <span class="idlAttrType"><a>double</a></span> <span class="idlAttrName"><a href="#widl-DeviceProximityEvent-max">max</a></span>;</span> };</span></pre> <p> The <code>value</code> attribute of the <a href="#idl-def-DeviceProximityEvent" class="idlType"><code>DeviceProximityEvent</code></a> - interface <em class="rfc2119" title="must">must</em> return the value it was initialized to. When the - object is created, this attribute <em class="rfc2119" title="must">must</em> be initialized to positive + interface <em class="rfc2119" title="MUST">MUST</em> return the value it was initialized to. When the + object is created, this attribute <em class="rfc2119" title="MUST">MUST</em> be initialized to positive Infinity. It represents the <a href="#dfn-current-device-proximity" class="internalDFN">current device proximity</a>. </p> <p> The <code>min</code> attribute of the <a href="#idl-def-DeviceProximityEvent" class="idlType"><code>DeviceProximityEvent</code></a> - interface <em class="rfc2119" title="must">must</em> return the value it was initialized to. When the - object is created, this attribute <em class="rfc2119" title="must">must</em> be initialized to negative + interface <em class="rfc2119" title="MUST">MUST</em> return the value it was initialized to. When the + object is created, this attribute <em class="rfc2119" title="MUST">MUST</em> be initialized to negative Infinity. It represents the <a href="#dfn-minimum-sensing-distance" class="internalDFN">minimum sensing distance</a>. </p> <p> The <code>max</code> attribute of the <a href="#idl-def-DeviceProximityEvent" class="idlType"><code>DeviceProximityEvent</code></a> - interface <em class="rfc2119" title="must">must</em> return the value it was initialized to. When the - object is created, this attribute <em class="rfc2119" title="must">must</em> be initialized to positive + interface <em class="rfc2119" title="MUST">MUST</em> return the value it was initialized to. When the + object is created, this attribute <em class="rfc2119" title="MUST">MUST</em> be initialized to positive Infinity. It represents the <a href="#dfn-maximum-sensing-distance" class="internalDFN">maximum sensing distance</a>. </p> <p> When a <dfn id="dfn-user-agent-1">user agent</dfn> is required to <dfn id="dfn-fire-a-device-proximity-event">fire a device - proximity event</dfn>, the <dfn id="dfn-user-agent-2">user agent</dfn> <em class="rfc2119" title="must">must</em> run the + proximity event</dfn>, the <dfn id="dfn-user-agent-2">user agent</dfn> <em class="rfc2119" title="MUST">MUST</em> run the following steps: </p> <ol class="rule"> <li> - <a>Create an event</a> that uses the <a href="#idl-def-DeviceProximityEvent" class="idlType"><code>DeviceProximityEvent</code></a> + <a href="#dfn-create-an-event" class="internalDFN">Create an event</a> that uses the <a href="#idl-def-DeviceProximityEvent" class="idlType"><code>DeviceProximityEvent</code></a> interface, with the name <code>deviceproximity</code>, which bubbles, is not cancelable, and has no default action, that also meets the following conditions: @@ -683,10 +701,10 @@ </ol> <p> When the <a href="#dfn-current-device-proximity" class="internalDFN">current device proximity</a> changes, the <dfn id="dfn-user-agent-3">user - agent</dfn> <em class="rfc2119" title="must">must</em> queue a task to <a href="#dfn-fire-a-device-proximity-event" class="internalDFN">fire a device proximity event</a> + agent</dfn> <em class="rfc2119" title="MUST">MUST</em> queue a task to <a href="#dfn-fire-a-device-proximity-event" class="internalDFN">fire a device proximity event</a> at each <a href="#dfn-browsing-context" class="internalDFN">browsing context</a>'s <a href="#idl-def-Window" class="idlType"><code>Window</code></a> object. </p> - <div class="note"><div class="note-title"><span>Note</span></div><div class=""> + <div class="note"><div class="note-title" role="heading" aria-level="4"><span>Note</span></div><div class=""> The definition of granularity i.e. how often the event is fired is left to the implementation. Implementations can fire the event if they have reason to believe that the page does not have sufficiently @@ -700,7 +718,7 @@ <h4><span class="secno">5.1.1 </span>Event handlers</h4> <p> The following are the <a href="#dfn-event-handlers" class="internalDFN">event handlers</a> (and their corresponding - <a href="#dfn-event-handler-event-types" class="internalDFN">event handler event types</a>) that <em class="rfc2119" title="must">must</em> be supported as + <a href="#dfn-event-handler-event-types" class="internalDFN">event handler event types</a>) that <em class="rfc2119" title="MUST">MUST</em> be supported as attributes by the <a href="#idl-def-Window" class="idlType"><code>Window</code></a> object: </p> <table class="simple"> @@ -728,11 +746,11 @@ which this specification extends: </p> <pre class="idl"><span class="idlInterface" id="idl-def-Window-1">partial interface <span class="idlInterfaceID">Window</span> { -<span class="idlAttribute"> attribute <span class="idlAttrType"><a>EventHandler</a></span> <span class="idlAttrName"><a href="#widl-Window-onuserproximity">onuserproximity</a></span>;</span> +<span class="idlAttribute"> attribute <span class="idlAttrType"><a>EventHandler</a></span> <span class="idlAttrName"><a href="#widl-Window-onuserproximity">onuserproximity</a></span>;</span> };</span></pre> <p> The <code>onuserproximity</code> event handler and its corresponding - event handler event type <code>userproximity</code> <em class="rfc2119" title="must">must</em> be supported + event handler event type <code>userproximity</code> <em class="rfc2119" title="MUST">MUST</em> be supported as an IDL attribute by all objects implementing the <a href="#idl-def-Window" class="idlType"><code>Window</code></a> interface. </p> @@ -742,23 +760,23 @@ <span class="idlMember"> <span class="idlMemberType"><a>boolean</a></span> <span class="idlMemberName"><a href="#widl-UserProximityEventInit-near">near</a></span>;</span> };</span><br><br>[<span class="extAttr">Constructor (DOMString type, optional UserProximityEventInit eventInitDict)</span>] interface <span class="idlInterfaceID">UserProximityEvent</span> : <span class="idlSuperclass"><a>Event</a></span> { -<span class="idlAttribute"> readonly attribute <span class="idlAttrType"><a>boolean</a></span> <span class="idlAttrName"><a href="#widl-UserProximityEvent-near">near</a></span>;</span> +<span class="idlAttribute"> readonly attribute <span class="idlAttrType"><a>boolean</a></span> <span class="idlAttrName"><a href="#widl-UserProximityEvent-near">near</a></span>;</span> };</span></pre> <p> The <code>near</code> attribute of the <a href="#idl-def-UserProximityEvent" class="idlType"><code>UserProximityEvent</code></a> - interface <em class="rfc2119" title="must">must</em> return the value it was initialized to. When the - object is created, this attribute <em class="rfc2119" title="must">must</em> be initialized to false. + interface <em class="rfc2119" title="MUST">MUST</em> return the value it was initialized to. When the + object is created, this attribute <em class="rfc2119" title="MUST">MUST</em> be initialized to false. It represents the <a href="#dfn-current-user-proximity-state" class="internalDFN">current user proximity state</a>. </p> <p> When a <dfn id="dfn-user-agent-4">user agent</dfn> is required to <dfn id="dfn-fire-a-user-proximity-event">fire a user - proximity event</dfn>, the <dfn id="dfn-user-agent-5">user agent</dfn> <em class="rfc2119" title="must">must</em> run the + proximity event</dfn>, the <dfn id="dfn-user-agent-5">user agent</dfn> <em class="rfc2119" title="MUST">MUST</em> run the following steps: </p> <ol class="rule"> <li> - <a>Create an event</a> that uses the <a href="#idl-def-UserProximityEvent" class="idlType"><code>UserProximityEvent</code></a> + <a href="#dfn-create-an-event" class="internalDFN">Create an event</a> that uses the <a href="#idl-def-UserProximityEvent" class="idlType"><code>UserProximityEvent</code></a> interface, with the name <code>userproximity</code>, which bubbles, is not cancelable, and has no default action, that also meets the following conditions: @@ -774,14 +792,14 @@ </ol> <p> When the <a href="#dfn-current-user-proximity-state" class="internalDFN">current user proximity state</a> changes, the <dfn id="dfn-user-agent-6">user - agent</dfn> <em class="rfc2119" title="must">must</em> queue a task to <a href="#dfn-fire-a-user-proximity-event" class="internalDFN">fire a user proximity event</a> + agent</dfn> <em class="rfc2119" title="MUST">MUST</em> queue a task to <a href="#dfn-fire-a-user-proximity-event" class="internalDFN">fire a user proximity event</a> at each <a href="#dfn-browsing-context" class="internalDFN">browsing context</a>'s <a href="#idl-def-Window" class="idlType"><code>Window</code></a> object. </p> <section id="event-handlers-1"> <h4><span class="secno">6.1.1 </span>Event handlers</h4> <p> The following are the <a href="#dfn-event-handlers" class="internalDFN">event handlers</a> (and their corresponding - <a href="#dfn-event-handler-event-types" class="internalDFN">event handler event types</a>) that <em class="rfc2119" title="must">must</em> be supported as + <a href="#dfn-event-handler-event-types" class="internalDFN">event handler event types</a>) that <em class="rfc2119" title="MUST">MUST</em> be supported as attributes by the <a href="#idl-def-Window" class="idlType"><code>Window</code></a> object: </p> <table class="simple"> diff -r 321621cc6aa1 -r 01830b0a209e proximity/Overview.src.html --- a/proximity/Overview.src.html Fri Apr 19 14:09:41 2013 +0300 +++ b/proximity/Overview.src.html Fri Apr 19 14:11:25 2013 +0300 @@ -14,7 +14,7 @@ edDraftURI: "http://dvcs.w3.org/hg/dap/raw-file/default/proximity/Overview.html", //lcEnd: "yyyy-mm-dd", editors: [ - { name: "Anssi Kostiainen", company: "Nokia", companyURL: "http://nokia.com/" }, + { name: "Anssi Kostiainen", company: "Intel", companyURL: "http://intel.com/" }, { name: "Dzung D Tran", company: "Intel", companyURL: "http://intel.com/" } ], inlineCSS: true,
Received on Friday, 19 April 2013 11:13:48 UTC