- From: Anssi Kostiainen via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 28 Jun 2011 05:09:16 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/system-info
In directory hutz:/tmp/cvs-serv29221
Modified Files:
battery-status.html
Log Message:
change section nesting; make user agent lower case
Index: battery-status.html
===================================================================
RCS file: /sources/public/2009/dap/system-info/battery-status.html,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- battery-status.html 17 Jun 2011 11:30:05 -0000 1.27
+++ battery-status.html 28 Jun 2011 05:09:14 -0000 1.28
@@ -182,13 +182,13 @@
<section id='conformance'>
<p>
This specification defines conformance criteria that apply to a single
- product: the <dfn id="ua">User Agent</dfn> that implements the
+ product: the <dfn id="ua">user agent</dfn> that implements the
interfaces that it contains.
</p>
</section>
<section>
- <h2>The <a>Battery</a> Interface</h2>
+ <h2><a>Battery</a> Interface</h2>
<p>
The <a>Battery</a> interface is exposed on the
<code>Window</code> and <code>WorkerGlobalScope</code> objects.
@@ -209,7 +209,10 @@
objects implementing the <code>Battery</code> interface.
</dd>
</dl>
- <h2>The <a>BatteryStatusEvent</a> Interface</h2>
+ </section>
+
+ <section>
+ <h2><a>BatteryStatusEvent</a> Interface</h2>
<p>
This interface defines the <a>batterystatus</a>
event type.
@@ -260,7 +263,7 @@
</p>
<p>
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
+ 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>
@@ -274,16 +277,15 @@
</ul>
<p>
When an event listener is registered with the event type
- <a>batterystatus</a>, then the <a class="product-ua" href="#ua">User
- Agent</a> MUST retrieve the relevant information and dispatch a
+ <a>batterystatus</a>, then the <a class="product-ua" href="#ua">user
+ agent</a> MUST retrieve the relevant information and dispatch a
<a>BatteryStatusEvent</a> event asynchronously as defined in
[[!DOM-LEVEL-3-EVENTS]].
</p>
- </section>
<section>
<h3 id='event-batterystatus'>The <dfn class='event'>batterystatus</dfn>
- Event</h3>
+ event</h3>
<table id='event-type-batterystatus'>
<tr>
<th>Type</th>
@@ -294,7 +296,7 @@
<tr>
<th>Interface</th>
<td>
- <a>BatteryStatusEvent</a> if generated by the User Agent,
+ <a>BatteryStatusEvent</a> if generated by the user agent,
<code>Event</code> otherwise.
</td>
</tr>
@@ -323,6 +325,7 @@
</tr>
</table>
</section>
+ </section>
<section class='informative'>
<h2>Examples</h2>
Received on Tuesday, 28 June 2011 05:09:20 UTC