html5/spec Overview.html,1.2304,1.2305

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

Modified Files:
	Overview.html 
Log Message:
Fix grammatically confusing sentence. (bug 6759) (whatwg r3149)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2304
retrieving revision 1.2305
diff -u -d -r1.2304 -r1.2305
--- Overview.html	29 May 2009 00:48:24 -0000	1.2304
+++ Overview.html	29 May 2009 01:27:07 -0000	1.2305
@@ -15195,17 +15195,25 @@
   supported.</p>
 
   <p>The <a href="#concept-task" title="concept-task">task</a> that is <a href="#queue-a-task" title="queue a task">queued</a> by the <a href="#networking-task-source">networking task
-  source</a> once the resource has been <a href="#fetch" title="fetch">fetched</a>, must, if the download was successful
-  and the image is <i title="img-available"><a href="#img-available">available</a></i>, <a href="#queue-a-task">queue
-  a task</a> to <a href="#fire-a-simple-event">fire a simple event</a> called <code title="event-load"><a href="#event-load">load</a></code> at the <code><a href="#the-img-element">img</a></code> element (this
-  happens after <code title="dom-img-complete"><a href="#dom-img-complete">complete</a></code> starts
-  returning true); and otherwise, if the fetching process fails
-  without a response from the remote server, or completes but the
-  image is not a valid or supported image, <a href="#queue-a-task">queue a task</a>
-  to <a href="#fire-a-simple-event">fire a simple event</a> called <code title="event-error"><a href="#event-error">error</a></code> on the <code><a href="#the-img-element">img</a></code>
-  element.</p>
+  source</a> once the resource has been <a href="#fetch" title="fetch">fetched</a>, must act as appropriate given the
+  following alternatives:</p>
 
-  <p>The <a href="#task-source">task source</a> for these tasks is the <a href="#dom-manipulation-task-source">DOM
+  <dl class="switch"><dt>If the download was successful and the image is <i title="img-available"><a href="#img-available">available</a></i></dt>
+
+   <dd><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-simple-event">fire a simple event</a>
+   called <code title="event-load"><a href="#event-load">load</a></code> at the <code><a href="#the-img-element">img</a></code>
+   element (this happens after <code title="dom-img-complete"><a href="#dom-img-complete">complete</a></code> starts returning
+   true).</dd>
+
+   <dt>Otherwise (the fetching process failed without a response from
+   the remote server, or completed but the image is not a supported
+   image)</dt>
+
+   <dd><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-simple-event">fire a simple event</a>
+   called <code title="event-error"><a href="#event-error">error</a></code> on the
+   <code><a href="#the-img-element">img</a></code> element.</dd>
+
+  </dl><p>The <a href="#task-source">task source</a> for these tasks is the <a href="#dom-manipulation-task-source">DOM
   manipulation task source</a>.</p>
 
   <hr><p>What an <code><a href="#the-img-element">img</a></code> element represents depends on the <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute and the <code title="attr-img-alt"><a href="#attr-img-alt">alt</a></code> attribute.</p>

Received on Friday, 29 May 2009 01:27:16 UTC