W3C home > Mailing lists > Public > public-html-commits@w3.org > December 2008

html5/spec Overview.html,1.1721,1.1722

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 23 Dec 2008 21:11:22 +0000
To: public-html-commits@w3.org
Message-Id: <E1LFEXC-0001A0-K9@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv4446

Modified Files:
	Overview.html 
Log Message:
Define that onerror is undefined in a more convenient location. (whatwg r2551)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1721
retrieving revision 1.1722
diff -u -d -r1.1721 -r1.1722
--- Overview.html	23 Dec 2008 20:33:36 -0000	1.1721
+++ Overview.html	23 Dec 2008 21:11:20 -0000	1.1722
@@ -27890,6 +27890,9 @@
    <dd><p>Must be invoked whenever an <code title=event-error><a href=#event-error>error</a></code> event is targeted at or bubbles
    through the element.</p>
 
+   <p>The initial value of <code title=handler-onerror><a href=#handler-onerror>onerror</a></code> must be
+   <code>undefined</code>.</p>
+
    <p class=note>The <code title=handler-onerror><a href=#handler-onerror>onerror</a></code>
    handler is also used for <a href=#runtime-script-errors>reporting
    script errors</a>.</dd>
@@ -28103,8 +28106,7 @@
   <a href=#event-handler-dom-attributes title="event handler DOM attributes">event handler DOM
   attribute</a> of the <code><a href=#window>Window</a></code>. If the error is still
   <i title="">not handled</i> after this, then the error should be
-  reported to the user.<p>The initial value of <code title=handler-onerror><a href=#handler-onerror>onerror</a></code>
-  must be <code>undefined</code>.</p><hr><p>When the user agent is required to <dfn id=report-the-error title="report the
+  reported to the user.</p><hr><p>When the user agent is required to <dfn id=report-the-error title="report the
   error">report an error</dfn> <var title="">error</var> using the
   attribute <var title="">onerror</var>, it must run these steps,
   after which the error is either <i title="">handled</i> or <i title="">not handled</i>:<dl class=switch><dt>If the value of <var title="">onerror</var> is a function</dt>
Received on Tuesday, 23 December 2008 21:11:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 December 2008 21:11:31 GMT