html5/eventsource Overview.html,1.12,1.13

Update of /sources/public/html5/eventsource
In directory hutz:/tmp/cvs-serv17776

Modified Files:
	Overview.html 
Log Message:
Tighten up the definitions of event handler attributes. (bug 6490) (whatwg r2939)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/eventsource/Overview.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Overview.html	27 Mar 2009 01:09:23 -0000	1.12
+++ Overview.html	31 Mar 2009 23:44:41 -0000	1.13
@@ -145,7 +145,7 @@
   </style><link href=http://www.w3.org/StyleSheets/TR/%57%33%43-ED rel=stylesheet type=text/css><!-- ZZZ ED vs WD --><div class=head>
    <p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p>
    <h1>Server-Sent Events</h1>
-   <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->27 March 2009</h2>
+   <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->31 March 2009</h2>
    <dl><!-- ZZZ: update the month/day
     <dt>This Version:</dt>
     <dd><a href="http://www.w3.org/TR/2009/WD-eventsource-20090101/">http://www.w3.org/TR/2009/WD-eventsource-20090101/</a></dd>
@@ -203,7 +203,7 @@
   Working Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation track.
   <!--ZZZ:-->
-  This specification is the 27 March 2009 <!--ZZZ "Working Draft"-->Editor's Draft.
+  This specification is the 31 March 2009 <!--ZZZ "Working Draft"-->Editor's Draft.
   <!--:ZZZ-->
   </p><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href=http://www.w3.org/Consortium/Patent-Policy-20040205/>5
   February 2004 W3C Patent Policy</a>. W3C maintains a <a href=http://www.w3.org/2004/01/pp-impl/42538/status rel=disclosure>public list of
@@ -337,24 +337,13 @@
   changes.<p>The <dfn id=dom-eventsource-disconnect title=dom-EventSource-disconnect><code>disconnect()</code></dfn>
   method must close the connection, if any, and must set the <code title=dom-EventSource-readyState><a href=#dom-eventsource-readystate>readyState</a></code> attribute to
   <code title=dom-EventSource-CLOSED><a href=#dom-eventsource-closed>CLOSED</a></code>. If the
-  connection is already closed, the method must do nothing.<p>The following are the <span>event handler attributes</span> that
-  must be supported, as DOM attributes, by all objects implementing
-  the <code><a href=#eventsource>EventSource</a></code> interface:<dl><dt><dfn id=handler-eventsource-onopen title=handler-EventSource-onopen><code>onopen</code></dfn></dt>
-
-   <dd><p>Must be invoked whenever an <code title=event-open>open</code> event is targeted at or
-   bubbles through the <code><a href=#eventsource>EventSource</a></code> object.</dd>
-
-   <dt><dfn id=handler-eventsource-onmessage title=handler-EventSource-onmessage><code>onmessage</code></dfn></dt>
-
-   <dd><p>Must be invoked whenever a <code title=event-message>message</code> event is targeted at or
-   bubbles through the <code><a href=#eventsource>EventSource</a></code> object.</dd>
-
-   <dt><dfn id=handler-eventsource-onerror title=handler-EventSource-onerror><code>onerror</code></dfn></dt>
-
-   <dd><p>Must be invoked whenever an <code title=event-error>error</code> event is targeted at or
-   bubbles through the <code><a href=#eventsource>EventSource</a></code> object.</dd>
-
-  </dl><hr><p>In addition to the above, each <code><a href=#eventsource>EventSource</a></code> object
+  connection is already closed, the method must do nothing.<p>The following are the <span>event handler attributes</span> (and their corresponding <span title="event handler event type">event handler event types</span>)
+  that must be supported, as DOM attributes, by all objects
+  implementing the <code><a href=#eventsource>EventSource</a></code> interface:<table><thead><tr><th><span title="event handler attributes">event handler attribute</span> <th><span>Event handler event type</span>
+   <tbody><tr><td><dfn id=handler-eventsource-onopen title=handler-EventSource-onopen><code>onopen</code></dfn> <td> <code title=event-open>open</code>
+    <tr><td><dfn id=handler-eventsource-onmessage title=handler-EventSource-onmessage><code>onmessage</code></dfn> <td> <code title=event-message>message</code>
+    <tr><td><dfn id=handler-eventsource-onerror title=handler-EventSource-onerror><code>onerror</code></dfn> <td> <code title=event-error>error</code>
+  </table><hr><p>In addition to the above, each <code><a href=#eventsource>EventSource</a></code> object
   has the following associated with it:<ul><li>A <dfn id=concept-event-stream-reconnection-time title=concept-event-stream-reconnection-time>reconnection
    time</dfn>, in milliseconds. This must initially be a
    user-agent-defined value, probably in the region of a few

Received on Tuesday, 31 March 2009 23:44:53 UTC