CVS 2009/dap/vibration

Update of /sources/public/2009/dap/vibration
In directory roscoe:/tmp/cvs-serv4940

Modified Files:
	Overview.html Overview.src.html 
Log Message:
allow implementations truncate long vibrations (ISSUE-149)

--- /sources/public/2009/dap/vibration/Overview.html	2013/10/14 07:43:53	1.43
+++ /sources/public/2009/dap/vibration/Overview.html	2013/10/14 08:04:37	1.44
@@ -430,7 +430,7 @@
   </p>
   <h1 class="title p-name" id="title" property="dcterms:title">Vibration API</h1>
   
-  <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2013-10-14T04:32:19.000Z" id="w3c-editor-s-draft-14-october-2013"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft <time class="dt-published" datetime="2013-10-14">14 October 2013</time></h2>
+  <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2013-10-14T04:59:53.000Z" id="w3c-editor-s-draft-14-october-2013"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft <time class="dt-published" datetime="2013-10-14">14 October 2013</time></h2>
   <dl>
     
       <dt>This version:</dt>
@@ -632,18 +632,26 @@
           </ol>
         </li>
         <li>
-          If the length of <var>pattern</var> exceeds an
-          implementation-dependent limit, then return false and terminate
-          these steps.
+          Let <var>max length</var> be an implementation-dependent maximum
+          length of <var>pattern</var>.
+        </li>
+        <li>
+          If the length of <var>pattern</var> is greater than
+          <var>max length</var>, truncate <var>pattern</var>, leaving only
+          the first <var>max length</var> entries.
         </li>
         <li>
           If the length of <var>pattern</var> is even and is not zero, then
           remove the last entry in <var>pattern</var>.
         </li>
         <li>
-          If any entry of <var>pattern</var> exceeds an
-          implementation-dependent limit, then return false and terminate
-          these steps.
+          Let <var>max duration</var> be an implementation-dependent maximum
+          duration for a single vibration entry in a <var>pattern</var>.
+        </li>
+        <li>
+          For each entry in <var>pattern</var> whose value is greater than
+          <var>max duration</var>, set the entry's value to
+          <var>max duration</var>.
         </li>
         <li>
           If the <code>
--- /sources/public/2009/dap/vibration/Overview.src.html	2013/10/14 07:43:53	1.7
+++ /sources/public/2009/dap/vibration/Overview.src.html	2013/10/14 08:04:37	1.8
@@ -119,18 +119,26 @@
           </ol>
         </li>
         <li>
-          If the length of <var>pattern</var> exceeds an
-          implementation-dependent limit, then return false and terminate
-          these steps.
+          Let <var>max length</var> be an implementation-dependent maximum
+          length of <var>pattern</var>.
+        </li>
+        <li>
+          If the length of <var>pattern</var> is greater than
+          <var>max length</var>, truncate <var>pattern</var>, leaving only
+          the first <var>max length</var> entries.
         </li>
         <li>
           If the length of <var>pattern</var> is even and is not zero, then
           remove the last entry in <var>pattern</var>.
         </li>
         <li>
-          If any entry of <var>pattern</var> exceeds an
-          implementation-dependent limit, then return false and terminate
-          these steps.
+          Let <var>max duration</var> be an implementation-dependent maximum
+          duration for a single vibration entry in a <var>pattern</var>.
+        </li>
+        <li>
+          For each entry in <var>pattern</var> whose value is greater than
+          <var>max duration</var>, set the entry's value to
+          <var>max duration</var>.
         </li>
         <li>
           If the <code>

Received on Monday, 14 October 2013 08:04:39 UTC