- From: CVS User akostiai <cvsmail@w3.org>
- Date: Wed, 19 Nov 2014 13:42:32 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/vibration In directory roscoe:/tmp/cvs-serv29128 Modified Files: Overview.html Overview.src.html PR.html PR.src.html Log Message: Removed named 'vibration pattern'; made 'perform vibration' work for other contexts. --- /sources/public/2009/dap/vibration/Overview.html 2014/11/19 11:42:24 1.59 +++ /sources/public/2009/dap/vibration/Overview.html 2014/11/19 13:42:31 1.60 @@ -438,7 +438,7 @@ </p> <h1 class="title p-name" id="title" property="dcterms:title">Vibration API</h1> - <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2014-11-19T09:38:59.000Z" id="w3c-editor-s-draft-19-november-2014"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft <time class="dt-published" datetime="2014-11-19">19 November 2014</time></h2> + <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2014-11-19T11:37:40.000Z" id="w3c-editor-s-draft-19-november-2014"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft <time class="dt-published" datetime="2014-11-19">19 November 2014</time></h2> <dl> <dt>This version:</dt> @@ -520,10 +520,7 @@ </p> <ul> <li> - The concept of a - <a href="#dfn-vibration-pattern">vibration pattern</a> was given a - name and a - <code><a href="#idl-def-VibratePattern">VibratePattern</a></code> + A <code><a href="#idl-def-VibratePattern">VibratePattern</a></code> shorthand was added. </li> <li> @@ -666,16 +663,13 @@ for <a href="#dfn-processing-vibration-patterns" class="internalDFN">processing vibration patterns</a>. </p> <p> - The first method argument is referred to as - <dfn id="dfn-vibration-pattern">vibration pattern</dfn>. - </p> - <p> The rules for <dfn id="dfn-processing-vibration-patterns">processing vibration patterns</dfn> are as given in the following algorithm: </p> <ol> <li> - Let <var>pattern</var> be the <a href="#dfn-vibration-pattern" class="internalDFN">vibration pattern</a>. + Let <var>pattern</var> be the first method argument of the + <code>vibrate()</code> method. </li> <li> Let <var>valid pattern</var> be the result of passing @@ -698,7 +692,7 @@ </li> </ol> <p> - To <dfn id="dfn-validate-and-normalize">validate and normalize</dfn> a <a href="#dfn-vibration-pattern" class="internalDFN">vibration pattern</a> given + To <dfn id="dfn-validate-and-normalize">validate and normalize</dfn> a vibration pattern given <var>pattern</var>, run these steps: </p> <ol> @@ -772,13 +766,12 @@ </div></div> </li> <li> - If there is a pre-existing instance of the <a href="#dfn-processing-vibration-patterns" class="internalDFN">processing vibration - patterns</a> algorithm running for this browsing context, run the - following substeps: + If another instance of the <a href="#dfn-perform-vibration" class="internalDFN">perform vibration</a> algorithm is + already running for this context, run the following substeps: <ol> <li> - Cancel the pre-existing instance of the <a href="#dfn-processing-vibration-patterns" class="internalDFN">processing vibration - patterns</a> algorithm, if any. + Abort that other instance of the <a href="#dfn-perform-vibration" class="internalDFN">perform vibration</a> + algorithm, if any. </li> <li> If <var>pattern</var> is an empty list, contains a single entry @@ -808,9 +801,8 @@ <code><a href="http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.html#sec-visibilitychange-event"> visibilitychange</a></code> event [<cite><a class="bibref" href="#bib-PAGE-VISIBILITY">PAGE-VISIBILITY</a></cite>] is dispatched at the <code>Document</code> in a <a href="#dfn-browsing-context" class="internalDFN">browsing context</a>, the - <a class="product-ua" href="#ua">user agent</a> <em class="rfc2119" title="MUST">MUST</em> cancel the - pre-existing instance of the <a href="#dfn-processing-vibration-patterns" class="internalDFN">processing vibration patterns</a> - algorithm, if any. + <a class="product-ua" href="#ua">user agent</a> <em class="rfc2119" title="MUST">MUST</em> abort the + already running <a href="#dfn-processing-vibration-patterns" class="internalDFN">processing vibration patterns</a> algorithm, if any. </p> </section> --- /sources/public/2009/dap/vibration/Overview.src.html 2014/11/19 11:42:24 1.27 +++ /sources/public/2009/dap/vibration/Overview.src.html 2014/11/19 13:42:31 1.28 @@ -45,10 +45,7 @@ </p> <ul> <li> - The concept of a - <a href="#dfn-vibration-pattern">vibration pattern</a> was given a - name and a - <code><a href="#idl-def-VibratePattern">VibratePattern</a></code> + A <code><a href="#idl-def-VibratePattern">VibratePattern</a></code> shorthand was added. </li> <li> @@ -123,16 +120,13 @@ for <a>processing vibration patterns</a>. </p> <p> - The first method argument is referred to as - <dfn>vibration pattern</dfn>. - </p> - <p> The rules for <dfn>processing vibration patterns</dfn> are as given in the following algorithm: </p> <ol> <li> - Let <var>pattern</var> be the <a>vibration pattern</a>. + Let <var>pattern</var> be the first method argument of the + <code>vibrate()</code> method. </li> <li> Let <var>valid pattern</var> be the result of passing @@ -155,7 +149,7 @@ </li> </ol> <p> - To <dfn>validate and normalize</dfn> a <a>vibration pattern</a> given + To <dfn>validate and normalize</dfn> a vibration pattern given <var>pattern</var>, run these steps: </p> <ol> @@ -229,13 +223,12 @@ </div> </li> <li> - If there is a pre-existing instance of the <a>processing vibration - patterns</a> algorithm running for this browsing context, run the - following substeps: + If another instance of the <a>perform vibration</a> algorithm is + already running for this context, run the following substeps: <ol> <li> - Cancel the pre-existing instance of the <a>processing vibration - patterns</a> algorithm, if any. + Abort that other instance of the <a>perform vibration</a> + algorithm, if any. </li> <li> If <var>pattern</var> is an empty list, contains a single entry @@ -265,9 +258,8 @@ <code><a href="http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.html#sec-visibilitychange-event"> visibilitychange</a></code> event [[!PAGE-VISIBILITY]] is dispatched at the <code>Document</code> in a <a>browsing context</a>, the - <a class="product-ua" href="#ua">user agent</a> MUST cancel the - pre-existing instance of the <a>processing vibration patterns</a> - algorithm, if any. + <a class="product-ua" href="#ua">user agent</a> MUST abort the + already running <a>processing vibration patterns</a> algorithm, if any. </p> </section> --- /sources/public/2009/dap/vibration/PR.html 2014/11/19 11:42:24 1.4 +++ /sources/public/2009/dap/vibration/PR.html 2014/11/19 13:42:31 1.5 @@ -521,10 +521,7 @@ </p> <ul> <li> - The concept of a - <a href="#dfn-vibration-pattern">vibration pattern</a> was given a - name and a - <code><a href="#idl-def-VibratePattern">VibratePattern</a></code> + A <code><a href="#idl-def-VibratePattern">VibratePattern</a></code> shorthand was added. </li> <li> @@ -672,16 +669,13 @@ for <a href="#dfn-processing-vibration-patterns" class="internalDFN">processing vibration patterns</a>. </p> <p> - The first method argument is referred to as - <dfn id="dfn-vibration-pattern">vibration pattern</dfn>. - </p> - <p> The rules for <dfn id="dfn-processing-vibration-patterns">processing vibration patterns</dfn> are as given in the following algorithm: </p> <ol> <li> - Let <var>pattern</var> be the <a href="#dfn-vibration-pattern" class="internalDFN">vibration pattern</a>. + Let <var>pattern</var> be the first method argument of the + <code>vibrate()</code> method. </li> <li> Let <var>valid pattern</var> be the result of passing @@ -704,7 +698,7 @@ </li> </ol> <p> - To <dfn id="dfn-validate-and-normalize">validate and normalize</dfn> a <a href="#dfn-vibration-pattern" class="internalDFN">vibration pattern</a> given + To <dfn id="dfn-validate-and-normalize">validate and normalize</dfn> a vibration pattern given <var>pattern</var>, run these steps: </p> <ol> @@ -778,13 +772,12 @@ </div></div> </li> <li> - If there is a pre-existing instance of the <a href="#dfn-processing-vibration-patterns" class="internalDFN">processing vibration - patterns</a> algorithm running for this browsing context, run the - following substeps: + If another instance of the <a href="#dfn-perform-vibration" class="internalDFN">perform vibration</a> algorithm is + already running for this context, run the following substeps: <ol> <li> - Cancel the pre-existing instance of the <a href="#dfn-processing-vibration-patterns" class="internalDFN">processing vibration - patterns</a> algorithm, if any. + Abort that other instance of the <a href="#dfn-perform-vibration" class="internalDFN">perform vibration</a> + algorithm, if any. </li> <li> If <var>pattern</var> is an empty list, contains a single entry @@ -814,9 +807,8 @@ <code><a href="http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.html#sec-visibilitychange-event"> visibilitychange</a></code> event [<cite><a class="bibref" href="#bib-PAGE-VISIBILITY">PAGE-VISIBILITY</a></cite>] is dispatched at the <code>Document</code> in a <a href="#dfn-browsing-context" class="internalDFN">browsing context</a>, the - <a class="product-ua" href="#ua">user agent</a> <em class="rfc2119" title="MUST">MUST</em> cancel the - pre-existing instance of the <a href="#dfn-processing-vibration-patterns" class="internalDFN">processing vibration patterns</a> - algorithm, if any. + <a class="product-ua" href="#ua">user agent</a> <em class="rfc2119" title="MUST">MUST</em> abort the + already running <a href="#dfn-processing-vibration-patterns" class="internalDFN">processing vibration patterns</a> algorithm, if any. </p> </section> --- /sources/public/2009/dap/vibration/PR.src.html 2014/11/19 11:42:24 1.4 +++ /sources/public/2009/dap/vibration/PR.src.html 2014/11/19 13:42:31 1.5 @@ -45,10 +45,7 @@ </p> <ul> <li> - The concept of a - <a href="#dfn-vibration-pattern">vibration pattern</a> was given a - name and a - <code><a href="#idl-def-VibratePattern">VibratePattern</a></code> + A <code><a href="#idl-def-VibratePattern">VibratePattern</a></code> shorthand was added. </li> <li> @@ -123,16 +120,13 @@ for <a>processing vibration patterns</a>. </p> <p> - The first method argument is referred to as - <dfn>vibration pattern</dfn>. - </p> - <p> The rules for <dfn>processing vibration patterns</dfn> are as given in the following algorithm: </p> <ol> <li> - Let <var>pattern</var> be the <a>vibration pattern</a>. + Let <var>pattern</var> be the first method argument of the + <code>vibrate()</code> method. </li> <li> Let <var>valid pattern</var> be the result of passing @@ -155,7 +149,7 @@ </li> </ol> <p> - To <dfn>validate and normalize</dfn> a <a>vibration pattern</a> given + To <dfn>validate and normalize</dfn> a vibration pattern given <var>pattern</var>, run these steps: </p> <ol> @@ -229,13 +223,12 @@ </div> </li> <li> - If there is a pre-existing instance of the <a>processing vibration - patterns</a> algorithm running for this browsing context, run the - following substeps: + If another instance of the <a>perform vibration</a> algorithm is + already running for this context, run the following substeps: <ol> <li> - Cancel the pre-existing instance of the <a>processing vibration - patterns</a> algorithm, if any. + Abort that other instance of the <a>perform vibration</a> + algorithm, if any. </li> <li> If <var>pattern</var> is an empty list, contains a single entry @@ -265,9 +258,8 @@ <code><a href="http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.html#sec-visibilitychange-event"> visibilitychange</a></code> event [[!PAGE-VISIBILITY]] is dispatched at the <code>Document</code> in a <a>browsing context</a>, the - <a class="product-ua" href="#ua">user agent</a> MUST cancel the - pre-existing instance of the <a>processing vibration patterns</a> - algorithm, if any. + <a class="product-ua" href="#ua">user agent</a> MUST abort the + already running <a>processing vibration patterns</a> algorithm, if any. </p> </section>
Received on Wednesday, 19 November 2014 13:42:34 UTC