2009/dap/system-info battery-status.html,1.16,1.17

Update of /sources/public/2009/dap/system-info
In directory hutz:/tmp/cvs-serv6498

Modified Files:
	battery-status.html 
Log Message:
rephrase conditions for event triggering

Index: battery-status.html
===================================================================
RCS file: /sources/public/2009/dap/system-info/battery-status.html,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- battery-status.html	30 May 2011 12:46:53 -0000	1.16
+++ battery-status.html	30 May 2011 12:58:58 -0000	1.17
@@ -135,7 +135,10 @@
         same names.
       </p>
       <p>
-        If a change in the battery status of the hosting device occurs as follows:
+        When a change in the battery status of the hosting device occurs as
+        follows, the <a class="product-ua" href="#ua">User Agent</a> MUST
+        dispatch a <a>BatteryStatusEvent</a> event on the <code>Window</code>
+        [[!HTML5]] and <code>WorkerGlobalScope</code> [[!WEBWORKERS]] objects:
       </p>
       <ul>
         <li>
@@ -145,11 +148,6 @@
           <code>level</code> varies by a 1% or more
         </li>
       </ul>
-      <p>
-        Then the <a class="product-ua" href="#ua">User Agent</a> MUST dispatch
-        a <a>BatteryStatusEvent</a> event on the <code>Window</code> [[!HTML5]]
-        and <code>WorkerGlobalScope</code> [[!WEBWORKERS]] objects.
-      </p>
       <p class='note'>
         TODO: Conditions for event triggering must be testable.
       </p>

Received on Monday, 30 May 2011 12:59:01 UTC