- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 04 Oct 2009 11:32:41 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv18039 Modified Files: Overview.html Log Message: changed 'fire [an event] called /event/' to 'fire [an event] named /event/'. (whatwg r4072) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3233 retrieving revision 1.3234 diff -u -d -r1.3233 -r1.3234 --- Overview.html 4 Oct 2009 11:17:39 -0000 1.3233 +++ Overview.html 4 Oct 2009 11:32:37 -0000 1.3234 @@ -6313,7 +6313,7 @@ <a href="#xml-parser">XML parser</a>, or to the string "complete" otherwise. Various algorithms during page loading affect this value. When the value is set, the user agent must <a href="#fire-a-simple-event">fire a - simple event</a> called <code title="event-readystatechange">readystatechange</code> at the + simple event</a> named <code title="event-readystatechange">readystatechange</code> at the <code>Document</code> object.</p> <p>A <code>Document</code> is said to have an <dfn id="active-parser">active @@ -7787,7 +7787,7 @@ <p>When a user agent is to <dfn id="run-post-click-activation-steps">run post-click activation steps</dfn> on an element, the user agent must <a href="#fire-a-simple-event">fire a simple - event</a> called <code title="event-DOMActivate">DOMActivate</code> that is cancelable at + event</a> named <code title="event-DOMActivate">DOMActivate</code> that is cancelable at that element. The default action of this event must be to <a href="#run-final-activation-steps">run final activation steps</a> on that element. If the event is canceled, the user agent must <a href="#run-canceled-activation-steps">run canceled activation @@ -9403,13 +9403,13 @@ <!-- the next paragraph is similar to text in the <style> section --> <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 loads were successful, - <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple event</a> called + <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-load">load</code> at the <code><a href="#the-link-element">link</a></code> element; otherwise, if the resource or one of its subresources failed to completely load for any reason (e.g. DNS error, HTTP 404 response, a connection being prematurely closed, unsupported Content-Type), it must instead <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">error</code> at the <code><a href="#the-link-element">link</a></code> + <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-error">error</code> at the <code><a href="#the-link-element">link</a></code> element. Non-network errors in processing the resource or its subresources (e.g. CSS parse errors, PNG decoding errors) are not failures for the purposes of this paragraph.</p> @@ -10424,12 +10424,12 @@ <!-- the next paragraph is similar to text in the <link> section --> <p>Once the element has been evaluated, if it had no subresources or once all the subresources it uses have been <a href="#fetch" title="fetch">fetched</a>, the user agent must <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">load</code> at the <code><a href="#the-style-element">style</a></code> element. If + task</a> to <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-load">load</code> at the <code><a href="#the-style-element">style</a></code> element. If the resource has a subresource that fails to completely load for any reason (e.g. DNS error, HTTP 404 response, the connection being prematurely closed, unsupported Content-Type), the user agent must instead <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">error</code> at the + event</a> named <code title="event-error">error</code> at the <code><a href="#the-style-element">style</a></code> element. Non-network errors in the processing of the element's contents or its subresources (e.g. CSS parse errors) are not failures for the purposes of this paragraph. The @@ -10971,7 +10971,7 @@ <dl class="switch"><dt>If the load resulted in an error (for example a DNS error, or an HTTP 404 error)</dt> - <dd><p>Executing the script block must just consist of <a href="#fire-a-simple-event" title="fire a simple event">firing a simple event</a> called + <dd><p>Executing the script block must just consist of <a href="#fire-a-simple-event" title="fire a simple event">firing a simple event</a> named <code title="event-error">error</code> at the element.</dd> <dt>If the load was successful</dt> @@ -11075,7 +11075,7 @@ <li> - <p><a href="#fire-a-simple-event">Fire a simple event</a> called <code title="event-load">load</code> at the <code><a href="#script">script</a></code> + <p><a href="#fire-a-simple-event">Fire a simple event</a> named <code title="event-load">load</code> at the <code><a href="#script">script</a></code> element.</p> </li> @@ -16184,7 +16184,7 @@ <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">load</code> at the <code><a href="#the-img-element">img</a></code> + named <code title="event-load">load</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> @@ -16193,7 +16193,7 @@ 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">error</code> on the + named <code title="event-error">error</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 <a href="#concept-task" title="concept-task">tasks</a> is the <a href="#dom-manipulation-task-source">DOM manipulation @@ -17330,10 +17330,10 @@ name</a> must be set to the empty string.</p> <p>When content loads in an <code><a href="#the-iframe-element">iframe</a></code>, after any <code title="event-load">load</code> events are fired within the content - itself, the user agent must <a href="#fire-a-simple-event">fire a simple event</a> called + itself, the user agent must <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-load">load</code> at the <code><a href="#the-iframe-element">iframe</a></code> element. When content fails to load (e.g. due to a network error), - then the user agent must <a href="#fire-a-simple-event">fire a simple event</a> called + then the user agent must <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-error">error</code> at the element instead.</p> <p>When there is an <a href="#active-parser">active parser</a> in the @@ -18084,7 +18084,7 @@ <li><p>If the load failed (e.g. the <a href="#url">URL</a> could not be <a href="#resolve-a-url" title="resolve a url">resolved</a>, there was an HTTP 404 error, there was a DNS error), <a href="#fire-a-simple-event">fire a simple - event</a> called <code title="event-error">error</code> at the + event</a> named <code title="event-error">error</code> at the element, then jump to the last step in the overall set of steps (fallback).</li> @@ -18272,7 +18272,7 @@ <li> <p>Once the resource is completely loaded, <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">load</code> at the element.</p> + task</a> to <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-load">load</code> at the element.</p> <p>The <a href="#task-source">task source</a> for this task<!--tasks mentioned in this section--> is the <a href="#dom-manipulation-task-source">DOM manipulation task @@ -19343,17 +19343,17 @@ <li><p>If <var title="">aborted</var> is true, set the <code title="dom-media-error"><a href="#dom-media-error">error</a></code> attribute to a new <code><a href="#mediaerror">MediaError</a></code> object whose <code title="dom-MediaError-code"><a href="#dom-mediaerror-code">code</a></code> attribute is set to <code title="dom-MediaError-MEDIA_ERR_ABORTED"><a href="#dom-mediaerror-media_err_aborted">MEDIA_ERR_ABORTED</a></code>, - <a href="#fire-a-progress-event">fire a progress event</a> called <code title="event-media-abort"><a href="#event-media-abort">abort</a></code> at the <a href="#media-element">media element</a>, + <a href="#fire-a-progress-event">fire a progress event</a> named <code title="event-media-abort"><a href="#event-media-abort">abort</a></code> at the <a href="#media-element">media element</a>, in the context of the <a href="#fetch" title="fetch">fetching process</a> that is in progress for the element, and <a href="#fire-a-progress-event">fire a progress - event</a> called <code title="event-media-loadend"><a href="#event-media-loadend">loadend</a></code> at + event</a> named <code title="event-media-loadend"><a href="#event-media-loadend">loadend</a></code> at the <a href="#media-element">media element</a>, in the context of the same <a href="#fetch" title="fetch">fetching process</a>.</li> <li><p>Set the <code title="dom-media-error"><a href="#dom-media-error">error</a></code> attribute to null and the <a href="#autoplaying-flag">autoplaying flag</a> to true.</li> <li><p>If <var title="">emptied</var> is true, <a href="#fire-a-simple-event">fire a simple - event</a> called <code title="event-media-emptied"><a href="#event-media-emptied">emptied</a></code> at + event</a> named <code title="event-media-emptied"><a href="#event-media-emptied">emptied</a></code> at the <a href="#media-element">media element</a>.</li> <li><p>Invoke the <a href="#media-element">media element</a>'s <a href="#concept-media-load-algorithm" title="concept-media-load-algorithm">resource selection @@ -19410,7 +19410,7 @@ <code title="dom-media-NETWORK_LOADING"><a href="#dom-media-network_loading">NETWORK_LOADING</a></code>.</li> <li><p>⌛ <a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-progress-event">fire a progress - event</a> called <code title="event-media-loadstart"><a href="#event-media-loadstart">loadstart</a></code> + event</a> named <code title="event-media-loadstart"><a href="#event-media-loadstart">loadstart</a></code> at the <a href="#media-element">media element</a>, with no relevant <a href="#fetch" title="fetch">fetching process</a>.</li> <li> @@ -19448,13 +19448,13 @@ value.</li> <li><p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-progress-event">fire a progress - event</a> called <code title="event-media-error"><a href="#event-media-error">error</a></code> at the + event</a> named <code title="event-media-error"><a href="#event-media-error">error</a></code> at the <a href="#media-element">media element</a>, in the context of the <a href="#fetch" title="fetch">fetching process</a> that was used to try to obtain the <a href="#media-resource">media resource</a> in the <a href="#concept-media-load-resource" title="concept-media-load-resource">resource fetch algorithm</a>.</li> <li><p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-progress-event">fire a progress - event</a> called <code title="event-media-loadend"><a href="#event-media-loadend">loadend</a></code> at + event</a> named <code title="event-media-loadend"><a href="#event-media-loadend">loadend</a></code> at the <a href="#media-element">media element</a>, in the context of the <a href="#fetch" title="fetch">fetching process</a> that was used to try to obtain the <a href="#media-resource">media resource</a> in the <a href="#concept-media-load-resource" title="concept-media-load-resource">resource fetch algorithm</a>.</li> @@ -19550,7 +19550,7 @@ the load failed.</li> <li><p><i title="">Failed</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-error">error</code> at the <var title="">candidate</var> element, in the context of the <a href="#fetch" title="fetch">fetching process</a> that was used to try to + <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-error">error</code> at the <var title="">candidate</var> element, in the context of the <a href="#fetch" title="fetch">fetching process</a> that was used to try to obtain <var title="">candidate</var>'s corresponding <a href="#media-resource">media resource</a> in the <a href="#concept-media-load-resource" title="concept-media-load-resource">resource fetch algorithm</a>.</li> @@ -19631,13 +19631,13 @@ <p>Every 350ms (±200ms) or for every byte received, whichever is <em>least</em> frequent, <a href="#queue-a-task">queue a task</a> to - <a href="#fire-a-progress-event">fire a progress event</a> called <code title="event-media-progress"><a href="#event-media-progress">progress</a></code> at the element, in the + <a href="#fire-a-progress-event">fire a progress event</a> named <code title="event-media-progress"><a href="#event-media-progress">progress</a></code> at the element, in the context of the <a href="#fetch" title="fetch">fetching process</a> started by this instance of this algorithm.</p> <p>If at any point the user agent has received no data for more than about three seconds, then <a href="#queue-a-task">queue a task</a> to - <a href="#fire-a-progress-event">fire a progress event</a> called <code title="event-media-stalled"><a href="#event-media-stalled">stalled</a></code> at the element, in the + <a href="#fire-a-progress-event">fire a progress event</a> named <code title="event-media-stalled"><a href="#event-media-stalled">stalled</a></code> at the element, in the context of the <a href="#fetch" title="fetch">fetching process</a> started by this instance of this algorithm.</p> @@ -19655,7 +19655,7 @@ resource or not, or while waiting for user input in an interactive resource. When a <a href="#media-element">media element</a>'s download has been suspended, the user agent must set the <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> to <code title="dom-media-NETWORK_IDLE"><a href="#dom-media-network_idle">NETWORK_IDLE</a></code> and <a href="#queue-a-task">queue - a task</a> to <a href="#fire-a-progress-event">fire a progress event</a> called <code title="event-media-suspend"><a href="#event-media-suspend">suspend</a></code> at the element, in the + a task</a> to <a href="#fire-a-progress-event">fire a progress event</a> named <code title="event-media-suspend"><a href="#event-media-suspend">suspend</a></code> at the element, in the context of the <a href="#fetch" title="fetch">fetching process</a> started by this instance of this algorithm. If and when downloading of the resource resumes, the user agent must set the <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> to <code title="dom-media-NETWORK_LOADING"><a href="#dom-media-network_loading">NETWORK_LOADING</a></code>.</p> @@ -19750,7 +19750,7 @@ attribute to the duration of the resource.</p> <p class="note">The user agent <a href="#durationChange">will</a> <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-media-durationchange"><a href="#event-media-durationchange">durationchange</a></code> at the + <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-media-durationchange"><a href="#event-media-durationchange">durationchange</a></code> at the element at this point.</p> </li> @@ -19758,7 +19758,7 @@ <li id="fire-loadedmetadata"> <p><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-media-loadedmetadata"><a href="#event-media-loadedmetadata">loadedmetadata</a></code> at the + event</a> named <code title="event-media-loadedmetadata"><a href="#event-media-loadedmetadata">loadedmetadata</a></code> at the element.</p> <p class="note">Before this task is run, as part of the event @@ -19812,7 +19812,7 @@ <dd> <p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-progress-event">fire a progress - event</a> called <code title="event-media-progress"><a href="#event-media-progress">progress</a></code> + event</a> named <code title="event-media-progress"><a href="#event-media-progress">progress</a></code> at the <a href="#media-element">media element</a>, in the context of the <a href="#fetch" title="fetch">fetching process</a> started by this instance of this algorithm.</p> @@ -19837,19 +19837,19 @@ <code title="dom-MediaError-MEDIA_ERR_NETWORK"><a href="#dom-mediaerror-media_err_network">MEDIA_ERR_NETWORK</a></code>.</li> <li><p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-progress-event">fire a progress - event</a> called <code title="event-media-error"><a href="#event-media-error">error</a></code> at + event</a> named <code title="event-media-error"><a href="#event-media-error">error</a></code> at the <a href="#media-element">media element</a>, in the context of the <a href="#fetch" title="fetch">fetching process</a> started by this instance of this algorithm.</li> <li><p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-progress-event">fire a progress - event</a> called <code title="event-media-loadend"><a href="#event-media-loadend">loadend</a></code> + event</a> named <code title="event-media-loadend"><a href="#event-media-loadend">loadend</a></code> at the <a href="#media-element">media element</a>, in the context of the <a href="#fetch" title="fetch">fetching process</a> started by this instance of this algorithm.</li> <li><p>Set the element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to the <a href="#dom-media-network_empty" title="dom-media-NETWORK_EMPTY">NETWORK_EMPTY</a> value and <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-media-emptied"><a href="#event-media-emptied">emptied</a></code> + event</a> named <code title="event-media-emptied"><a href="#event-media-emptied">emptied</a></code> at the element.</li> <li><p>Set the element's <a href="#delaying-the-load-event-flag">delaying-the-load-event @@ -19879,19 +19879,19 @@ <code title="dom-MediaError-MEDIA_ERR_DECODE"><a href="#dom-mediaerror-media_err_decode">MEDIA_ERR_DECODE</a></code>.</li> <li><p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-progress-event">fire a progress - event</a> called <code title="event-media-error"><a href="#event-media-error">error</a></code> at + event</a> named <code title="event-media-error"><a href="#event-media-error">error</a></code> at the <a href="#media-element">media element</a>, in the context of the <a href="#fetch" title="fetch">fetching process</a> started by this instance of this algorithm.</li> <li><p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-progress-event">fire a progress - event</a> called <code title="event-media-loadend"><a href="#event-media-loadend">loadend</a></code> + event</a> named <code title="event-media-loadend"><a href="#event-media-loadend">loadend</a></code> at the <a href="#media-element">media element</a>, in the context of the <a href="#fetch" title="fetch">fetching process</a> started by this instance of this algorithm.</li> <li><p>Set the element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to the <a href="#dom-media-network_empty" title="dom-media-NETWORK_EMPTY">NETWORK_EMPTY</a> value and <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-media-emptied"><a href="#event-media-emptied">emptied</a></code> + event</a> named <code title="event-media-emptied"><a href="#event-media-emptied">emptied</a></code> at the element.</li> <li><p>Set the element's <a href="#delaying-the-load-event-flag">delaying-the-load-event @@ -19924,12 +19924,12 @@ <code title="dom-MediaError-MEDIA_ERR_ABORT">MEDIA_ERR_ABORT</code>.</li> <li><p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-progress-event">fire a progress - event</a> called <code title="event-media-abort"><a href="#event-media-abort">abort</a></code> at + event</a> named <code title="event-media-abort"><a href="#event-media-abort">abort</a></code> at the <a href="#media-element">media element</a>, in the context of the <a href="#fetch" title="fetch">fetching process</a> started by this instance of this algorithm.</li> <li><p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-progress-event">fire a progress - event</a> called <code title="event-media-loadend"><a href="#event-media-loadend">loadend</a></code> + event</a> named <code title="event-media-loadend"><a href="#event-media-loadend">loadend</a></code> at the <a href="#media-element">media element</a>, in the context of the <a href="#fetch" title="fetch">fetching process</a> started by this instance of this algorithm.</li> @@ -19938,7 +19938,7 @@ element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to the <a href="#dom-media-network_empty" title="dom-media-NETWORK_EMPTY">NETWORK_EMPTY</a> value and <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-media-emptied"><a href="#event-media-emptied">emptied</a></code> + event</a> named <code title="event-media-emptied"><a href="#event-media-emptied">emptied</a></code> at the element. Otherwise, set the element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to the <a href="#dom-media-network_idle" title="dom-media-NETWORK_IDLE">NETWORK_IDLE</a> value.</li> @@ -19996,12 +19996,12 @@ <code title="dom-media-NETWORK_LOADED"><a href="#dom-media-network_loaded">NETWORK_LOADED</a></code>.</li> <li><p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-progress-event">fire a progress - event</a> called <code title="event-media-load"><a href="#event-media-load">load</a></code> at the + event</a> named <code title="event-media-load"><a href="#event-media-load">load</a></code> at the <a href="#media-element">media element</a>, in the context of the <a href="#fetch" title="fetch">fetching process</a> started by this instance of this algorithm.</li> <li><p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-progress-event">fire a progress - event</a> called <code title="event-media-loadend"><a href="#event-media-loadend">loadend</a></code> at + event</a> named <code title="event-media-loadend"><a href="#event-media-loadend">loadend</a></code> at the <a href="#media-element">media element</a>, in the context of the <a href="#fetch" title="fetch">fetching process</a> started by this instance of this algorithm.</li> @@ -20133,7 +20133,7 @@ <p id="durationChange">When the length of the <a href="#media-resource">media resource</a> changes (e.g. from being unknown to known, or from a previously established length to a new length) the user agent must - <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple event</a> called + <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-media-durationchange"><a href="#event-media-durationchange">durationchange</a></code> at the <a href="#media-element">media element</a>.</p> @@ -20172,7 +20172,7 @@ <a href="#earliest-possible-position">earliest possible position</a>, the user agent must <a href="#dom-media-seek" title="dom-media-seek">seek</a> to the <a href="#earliest-possible-position">earliest possible position</a>; otherwise, if the user agent has not fired a <code title="event-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> event at the element in the past 15 to 250ms, then the user agent must <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-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the element.</p> + task</a> to <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the element.</p> <p class="note">Because of the above requirement and the requirement in the <a href="#concept-media-load-resource" title="concept-media-load-resource">resource fetch @@ -20301,7 +20301,7 @@ <p id="fire-loadeddata">If this is the first time this occurs for this <a href="#media-element">media element</a> since the <code title="dom-media-load"><a href="#dom-media-load">load()</a></code> algorithm was last invoked, the user agent must <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-media-loadeddata"><a href="#event-media-loadeddata">loadeddata</a></code> at the element.</p> + simple event</a> named <code title="event-media-loadeddata"><a href="#event-media-loadeddata">loadeddata</a></code> at the element.</p> <p>If the new ready state is <code title="dom-media-HAVE_FUTURE_DATA"><a href="#dom-media-have_future_data">HAVE_FUTURE_DATA</a></code> or <code title="dom-media-HAVE_ENOUGH_DATA"><a href="#dom-media-have_enough_data">HAVE_ENOUGH_DATA</a></code>, @@ -20329,11 +20329,11 @@ <dd> <p>The user agent must <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-media-canplay"><a href="#event-media-canplay">canplay</a></code>.</p> + simple event</a> named <code title="event-media-canplay"><a href="#event-media-canplay">canplay</a></code>.</p> <p>If the element is <a href="#potentially-playing">potentially playing</a>, the user agent must <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-media-playing"><a href="#event-media-playing">playing</a></code>.</p> + event</a> named <code title="event-media-playing"><a href="#event-media-playing">playing</a></code>.</p> </dd> @@ -20344,16 +20344,16 @@ <p>If the previous ready state was <code title="dom-media-HAVE_CURRENT_DATA"><a href="#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code> or less, the user agent must <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-media-canplay"><a href="#event-media-canplay">canplay</a></code>, and, if the element is also + a simple event</a> named <code title="event-media-canplay"><a href="#event-media-canplay">canplay</a></code>, and, if the element is also <a href="#potentially-playing">potentially playing</a>, <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-media-playing"><a href="#event-media-playing">playing</a></code>.</p> + <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-media-playing"><a href="#event-media-playing">playing</a></code>.</p> <p>If the <a href="#autoplaying-flag">autoplaying flag</a> is true, and the <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> attribute is true, and the <a href="#media-element">media element</a> has an <code title="attr-media-autoplay"><a href="#attr-media-autoplay">autoplay</a></code> attribute specified, then the user agent may also set the <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> attribute to false, <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-media-play"><a href="#event-media-play">play</a></code>, and <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-media-playing"><a href="#event-media-playing">playing</a></code>.</p> + named <code title="event-media-play"><a href="#event-media-play">play</a></code>, and <a href="#queue-a-task">queue a + task</a> to <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-media-playing"><a href="#event-media-playing">playing</a></code>.</p> <p class="note">User agents are not required to autoplay, and it is suggested that user agents honor user preferences on the @@ -20362,7 +20362,7 @@ to override the behavior if so desired.</p> <p>In any case, the user agent must finally <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-media-canplaythrough"><a href="#event-media-canplaythrough">canplaythrough</a></code>.</p> + task</a> to <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-media-canplaythrough"><a href="#event-media-canplaythrough">canplaythrough</a></code>.</p> </dd> @@ -20614,7 +20614,7 @@ <p>When a <a href="#media-element">media element</a> that is <a href="#potentially-playing">potentially playing</a> stops playing because it has <a href="#paused-for-user-interaction">paused for user interaction</a>, the user agent must <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-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the element.</p> + <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the element.</p> <p id="fire-waiting-when-waiting">When a <a href="#media-element">media element</a> that is <a href="#potentially-playing">potentially playing</a> stops playing because its @@ -20624,9 +20624,9 @@ <a href="#stopped-due-to-errors">stopped due to errors</a>, or playback having <a href="#paused-for-user-interaction">paused for user interaction</a>, or the <a href="#dom-media-seek" title="dom-media-seek">seeking algorithm</a> being invoked, the user agent must <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-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> + event</a> named <code title="event-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the element, and <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-media-waiting"><a href="#event-media-waiting">waiting</a></code> at + event</a> named <code title="event-media-waiting"><a href="#event-media-waiting">waiting</a></code> at the element.</p> <p>When the <a href="#current-playback-position">current playback position</a> reaches the end @@ -20647,10 +20647,10 @@ true.</li> <li><p>The user agent must <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-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the element.</li> + a simple event</a> named <code title="event-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the element.</li> <li><p>The user agent must <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-media-ended"><a href="#event-media-ended">ended</a></code> + a simple event</a> named <code title="event-media-ended"><a href="#event-media-ended">ended</a></code> at the element.</li> </ol><p>When the <a href="#current-playback-position">current playback position</a> reaches the @@ -20661,7 +20661,7 @@ <ol><li><p>Stop playback.</li> <li><p>The user agent must <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-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the element.</li> + a simple event</a> named <code title="event-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the element.</li> </ol><p>The <dfn id="dom-media-defaultplaybackrate" title="dom-media-defaultPlaybackRate"><code>defaultPlaybackRate</code></dfn> attribute gives the desired speed at which the <a href="#media-resource">media @@ -20698,7 +20698,7 @@ change value (either by being set by script or by being changed directly by the user agent, e.g. in response to user control) the user agent must <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-media-ratechange"><a href="#event-media-ratechange">ratechange</a></code> + event</a> named <code title="event-media-ratechange"><a href="#event-media-ratechange">ratechange</a></code> at the <a href="#media-element">media element</a>.</p> <p>The <dfn id="dom-media-played" title="dom-media-played"><code>played</code></dfn> @@ -20724,7 +20724,7 @@ <p class="note">This <a href="#seekUpdate">will cause</a> the user agent to <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-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the <a href="#media-element">media + event</a> named <code title="event-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the <a href="#media-element">media element</a>.</p> <!-- if we're already playing at this point, it might also fire 'waiting' --> @@ -20738,21 +20738,21 @@ <ol><li><p>Change the value of <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> to false.</li> <li><p><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-media-play"><a href="#event-media-play">play</a></code> at the element.</li> + named <code title="event-media-play"><a href="#event-media-play">play</a></code> at the element.</li> <li><p>If the <a href="#media-element">media element</a>'s <code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> attribute has the value <code title="dom-media-HAVE_NOTHING"><a href="#dom-media-have_nothing">HAVE_NOTHING</a></code>, <code title="dom-media-HAVE_METADATA"><a href="#dom-media-have_metadata">HAVE_METADATA</a></code>, or <code title="dom-media-HAVE_CURRENT_DATA"><a href="#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code>, <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-media-waiting"><a href="#event-media-waiting">waiting</a></code> at the + named <code title="event-media-waiting"><a href="#event-media-waiting">waiting</a></code> at the element.</li> <li><p>Otherwise, the <a href="#media-element">media element</a>'s <code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> attribute has the value <code title="dom-media-HAVE_FUTURE_DATA"><a href="#dom-media-have_future_data">HAVE_FUTURE_DATA</a></code> or <code title="dom-media-HAVE_ENOUGH_DATA"><a href="#dom-media-have_enough_data">HAVE_ENOUGH_DATA</a></code>; <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-media-playing"><a href="#event-media-playing">playing</a></code> at the + named <code title="event-media-playing"><a href="#event-media-playing">playing</a></code> at the element.</li> </ol></li> @@ -20777,11 +20777,11 @@ <ol><li><p>Change the value of <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> to true.</li> <li><p><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-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the + event</a> named <code title="event-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the element.</li> <li><p><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-media-pause"><a href="#event-media-pause">pause</a></code> + event</a> named <code title="event-media-pause"><a href="#event-media-pause">pause</a></code> at the element.</li> </ol></li> @@ -20854,7 +20854,7 @@ of the current playback position during normal playback, and if the user agent has not fired a <code title="event-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> event at the element in the past 15 to 250ms, then the user agent must <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-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the element. (In the + task</a> to <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the element. (In the other cases, such as explicit seeks, relevant events get fired as part of the overall process of changing the current playback position.)</p> @@ -20971,21 +20971,21 @@ attribute must be set to true.</li> <li id="seekUpdate"><p>The user agent must <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-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the element.</li> + task</a> to <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the element.</li> <li><p>If the <a href="#media-element">media element</a> was <a href="#potentially-playing">potentially playing</a> immediately before it started seeking, but seeking caused its <code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> attribute to change to a value lower than <code title="dom-media-HAVE_FUTURE_DATA"><a href="#dom-media-have_future_data">HAVE_FUTURE_DATA</a></code>, the user agent must <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-media-waiting"><a href="#event-media-waiting">waiting</a></code> at + event</a> named <code title="event-media-waiting"><a href="#event-media-waiting">waiting</a></code> at the element.</li> <li><p>If, when it reaches this step, the user agent has still not established whether or not the <a href="#media-data">media data</a> for the <var title="">new playback position</var> is available, and, if it is, decoded enough data to play back that position, the user agent must <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-media-seeking"><a href="#event-media-seeking">seeking</a></code> at the + named <code title="event-media-seeking"><a href="#event-media-seeking">seeking</a></code> at the element.</li> <li><p>If the seek was in response to a DOM method call or setting @@ -21001,7 +21001,7 @@ attribute must be set to false.</li> <li><p>The user agent must <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-media-seeked"><a href="#event-media-seeked">seeked</a></code> at the element.</li> + a simple event</a> named <code title="event-media-seeked"><a href="#event-media-seeked">seeked</a></code> at the element.</li> </ol><p>The <dfn id="dom-media-seekable" title="dom-media-seekable"><code>seekable</code></dfn> attribute must return a new static <a href="#normalized-timeranges-object">normalized @@ -21118,7 +21118,7 @@ <p>Whenever either the <code title="dom-media-muted"><a href="#dom-media-muted">muted</a></code> or <code title="dom-media-volume"><a href="#dom-media-volume">volume</a></code> attributes are changed, the user agent must <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-media-volumechange"><a href="#event-media-volumechange">volumechange</a></code> at the <a href="#media-element">media + event</a> named <code title="event-media-volumechange"><a href="#event-media-volumechange">volumechange</a></code> at the <a href="#media-element">media element</a>.</p> </div><h5 id="time-ranges"><span class="secno">4.8.10.11 </span>Time ranges</h5><p>Objects implementing the <code><a href="#timeranges">TimeRanges</a></code> interface @@ -30592,7 +30592,7 @@ the element's <code title="dom-input-indeterminate"><a href="#dom-input-indeterminate">indeterminate</a></code> IDL attribute back to the values they had before the <a href="#pre-click-activation-steps">pre-click activation steps</a> were run. The <a href="#activation-behavior">activation behavior</a> is to - <a href="#fire-a-simple-event">fire a simple event</a> that bubbles called <code title="event-change">change</code> at the element<!-- It's not + <a href="#fire-a-simple-event">fire a simple event</a> that bubbles named <code title="event-change">change</code> at the element<!-- It's not cancelable. Once this fires, the control is checked, end of story. -->, then <a href="#broadcast-formchange-events">broadcast <code title="event-formchange">formchange</code> events</a> at the element's <a href="#form-owner">form owner</a>.</p> @@ -30711,7 +30711,7 @@ true. The <a href="#canceled-activation-steps">canceled activation steps</a> consist of setting the element's <a href="#concept-fe-checked" title="concept-fe-checked">checkedness</a> to false. The <a href="#activation-behavior">activation behavior</a> is to <a href="#fire-a-simple-event">fire a - simple event</a> that bubbles called <code title="event-change">change</code> at the element<!-- It's not + simple event</a> that bubbles named <code title="event-change">change</code> at the element<!-- It's not cancelable. Once this fires, the control is checked, end of story. -->, then <a href="#broadcast-formchange-events">broadcast <code title="event-formchange">formchange</code> events</a> at the element's <a href="#form-owner">form owner</a>.</p> @@ -31077,12 +31077,12 @@ <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="input-img-available"><a href="#input-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 + <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-load">load</code> at the <code><a href="#the-input-element">input</a></code> element; 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">error</code> on + simple event</a> named <code title="event-error">error</code> on the <code><a href="#the-input-element">input</a></code> element.</p> <hr></div><p>The <dfn id="attr-input-alt" title="attr-input-alt"><code>alt</code></dfn> attribute @@ -32057,7 +32057,7 @@ <p>When the <dfn id="event-input-input" title="event-input-input"><code>input</code></dfn> event applies, any time the user causes the element's <a href="#concept-fe-value" title="concept-fe-value">value</a> to change, the user agent must <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple event</a> that - bubbles called <code title="event-input">input</code> at the + bubbles named <code title="event-input">input</code> at the <code><a href="#the-input-element">input</a></code> element, then <a href="#broadcast-forminput-events">broadcast <code title="event-forminput">forminput</code> events</a> at the <code><a href="#the-input-element">input</a></code> element's <a href="#form-owner">form owner</a>. User agents may wait for a suitable break in the user's interaction before @@ -32079,7 +32079,7 @@ action, then any time the user commits a change to the element's <a href="#concept-fe-value" title="concept-fe-value">value</a> or list of <a href="#concept-input-type-file-selected" title="concept-input-type-file-selected">selected files</a>, the user agent must <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple - event</a> that bubbles called <code title="event-change">change</code> at the <code><a href="#the-input-element">input</a></code> + event</a> that bubbles named <code title="event-change">change</code> at the <code><a href="#the-input-element">input</a></code> element, then <a href="#broadcast-formchange-events">broadcast <code title="event-formchange">formchange</code> events</a> at the <code><a href="#the-input-element">input</a></code> element's <a href="#form-owner">form owner</a>.</p> @@ -32103,7 +32103,7 @@ <ol><li>If the <code title="event-input-input"><a href="#event-input-input">input</a></code> event applies, <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple - event</a> that bubbles called <code title="event-input">input</code> at the <code><a href="#the-input-element">input</a></code> + event</a> that bubbles named <code title="event-input">input</code> at the <code><a href="#the-input-element">input</a></code> element.</li> <li>If the <code title="event-input-input"><a href="#event-input-input">input</a></code> event @@ -32112,7 +32112,7 @@ <li>If the <code title="event-input-change"><a href="#event-input-change">change</a></code> event applies, <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple - event</a> that bubbles called <code title="event-change">change</code> at the <code><a href="#the-input-element">input</a></code> + event</a> that bubbles named <code title="event-change">change</code> at the <code><a href="#the-input-element">input</a></code> element.</li> <li>If the <code title="event-input-change"><a href="#event-input-change">change</a></code> event @@ -32356,7 +32356,7 @@ <span title="event-click">click</span> event), the user agent must set the <a href="#concept-option-selectedness" title="concept-option-selectedness">selectedness</a> of the picked <code><a href="#the-option-element">option</a></code> element to true and then <a href="#queue-a-task">queue a - task</a> to <a href="#fire-a-simple-event">fire a simple event</a> that bubbles called + task</a> to <a href="#fire-a-simple-event">fire a simple event</a> that bubbles named <code title="event-change">change</code> at the <code><a href="#the-select-element">select</a></code> element, using the <a href="#user-interaction-task-source">user interaction task source</a> as the task source, then <a href="#broadcast-formchange-events">broadcast <code title="event-formchange">formchange</code> events</a> at the @@ -32392,7 +32392,7 @@ before the relevant user interaction event <!-- interaction event spec point --> is queued (e.g. before a related <span title="event-click">click</span> event), the user agent must <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple event</a> that - bubbles called <code title="event-change">change</code> at the + bubbles named <code title="event-change">change</code> at the <code><a href="#the-select-element">select</a></code> element, using the <a href="#user-interaction-task-source">user interaction task source</a> as the task source, then <a href="#broadcast-formchange-events">broadcast <code title="event-formchange">formchange</code> events</a> at the element's <a href="#form-owner">form owner</a>.</p> @@ -32998,7 +32998,7 @@ <p>When a <code><a href="#the-textarea-element">textarea</a></code> is <a href="#concept-textarea-mutable" title="concept-textarea-mutable">mutable</a>, its <a href="#concept-textarea-raw-value" title="concept-textarea-raw-value">raw value</a> should be editable by the user. Any time the user causes the element's <a href="#concept-textarea-raw-value" title="concept-textarea-raw-value">raw value</a> to change, the user agent must <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple - event</a> that bubbles called <code title="event-input">input</code> at the <code><a href="#the-textarea-element">textarea</a></code> + event</a> that bubbles named <code title="event-input">input</code> at the <code><a href="#the-textarea-element">textarea</a></code> element, then <a href="#broadcast-forminput-events">broadcast <code title="event-forminput">forminput</code> events</a> at the <code><a href="#the-textarea-element">textarea</a></code> element's <a href="#form-owner">form owner</a>. User agents may wait for a suitable break in the user's interaction before @@ -34045,7 +34045,7 @@ <p>For each element <var title="">field</var> in <var title="">invalid controls</var>, if any, in <a href="#tree-order">tree order</a>, run the following substeps:</p> - <ol><li><p><a href="#fire-a-simple-event">Fire a simple event</a> called <code title="event-invalid">invalid</code> that is cancelable at <var title="">field</var>.</li> + <ol><li><p><a href="#fire-a-simple-event">Fire a simple event</a> named <code title="event-invalid">invalid</code> that is cancelable at <var title="">field</var>.</li> <li><p>If the event was not canceled, then add <var title="">field</var> to <var title="">unhandled invalid controls</var>.</li> @@ -34284,7 +34284,7 @@ </dl><p>When the <dfn id="dom-cva-checkvalidatity" title="dom-cva-checkValidatity"><code>checkValidity()</code></dfn> method is invoked, if the element is a <a href="#candidate-for-constraint-validation">candidate for constraint validation</a> and does not <a href="#concept-fv-valid" title="concept-fv-valid">satisfy its constraints</a>, the user - agent must <a href="#fire-a-simple-event">fire a simple event</a> called <code title="event-invalid">invalid</code> that is cancelable (but in this + agent must <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-invalid">invalid</code> that is cancelable (but in this case has no default action) at the element and return false. Otherwise, it must only return true without doing anything else.</p> @@ -34393,7 +34393,7 @@ these steps.</li> <li><p>If the <var title="">scripted-submit</var> flag is not set, - then <a href="#fire-a-simple-event">fire a simple event</a> that is cancelable called + then <a href="#fire-a-simple-event">fire a simple event</a> that is cancelable named <code title="event-submit">submit</code>, at <var title="">form</var>. If the event's default action is prevented (i.e. if the event is canceled) then abort these steps. Otherwise, continue (effectively the default action is to perform the @@ -35079,7 +35079,7 @@ <h4 id="resetting-a-form"><span class="secno">4.10.18 </span>Resetting a form</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> <p>When a form <var title="">form</var> is <dfn id="concept-form-reset" title="concept-form-reset">reset</dfn>, the user agent must - <a href="#fire-a-simple-event">fire a simple event</a> called <code title="event-reset">reset</code>, that is cancelable, at <var title="">form</var>, and then, if that event is not canceled, must + <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-reset">reset</code>, that is cancelable, at <var title="">form</var>, and then, if that event is not canceled, must invoke the <a href="#concept-form-reset-control" title="concept-form-reset-control">reset algorithm</a> of each <a href="#category-reset" title="category-reset">resettable</a> elements whose <a href="#form-owner">form owner</a> is <var title="">form</var>, and <a href="#broadcast-formchange-events">broadcast <code title="event-formchange">formchange</code> events</a> from <var title="">form</var>.</p> @@ -35106,7 +35106,7 @@ was to <a href="#broadcast-formchange-events">broadcast <code title="event-formchange">formchange</code> events</a>; let <var title="">event name</var> be <code title="event-formchange">formchange</code>.</li> <li><p>For each element in <var title="">controls</var>, in - <a href="#tree-order">tree order</a>, <a href="#fire-a-simple-event">fire a simple event</a> called + <a href="#tree-order">tree order</a>, <a href="#fire-a-simple-event">fire a simple event</a> named <var title="">event name</var> at the element.</li> </ol></div><h3 id="interactive-elements"><span class="secno">4.11 </span>Interactive elements</h3><h4 id="the-details-element"><span class="secno">4.11.1 </span>The <dfn><code>details</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="element"><dt>Categories</dt> @@ -38113,7 +38113,7 @@ <p>When an element's context menu is requested (e.g. by the user right-clicking the element, or pressing a context menu key), the UA - must <a href="#fire-a-simple-event">fire a simple event</a> called <code title="event-contextmenu">contextmenu</code> that bubbles and is + must <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-contextmenu">contextmenu</code> that bubbles and is cancelable at the element for which the menu was requested.</p> <p class="note">Typically, therefore, the firing of the <code title="event-contextmenu">contextmenu</code> event will be the @@ -38128,7 +38128,7 @@ <p>If the element or one of its ancestors <em>does</em> have a context menu assigned, then the user agent must <a href="#fire-a-simple-event">fire a simple - event</a> called <code title="event-show">show</code> at the + event</a> named <code title="event-show">show</code> at the <code><a href="#menus">menu</a></code> element of the context menu of the nearest ancestor (including the element itself) with one assigned.</p> <!-- v2: include modifier key information --> @@ -43157,13 +43157,13 @@ values appropriately describing the state of the key input device at the time the event is created.</p> - <p><dfn id="fire-a-simple-event" title="fire a simple event">Firing a simple event called + <p><dfn id="fire-a-simple-event" title="fire a simple event">Firing a simple event named <var title="">e</var></dfn> means that an event with the name <var title="">e</var>, with no namespace, which does not bubble (except where otherwise stated) and is not cancelable (except where otherwise stated), and which uses the <code>Event</code> interface, must be dispatched at the given target.</p> - <p><dfn id="fire-a-progress-event" title="fire a progress event">Firing a progress event called + <p><dfn id="fire-a-progress-event" title="fire a progress event">Firing a progress event named <var title="">e</var></dfn>, optionally in the context of a particular instance of the <a href="#fetch" title="fetch">fetching algorithm</a>, means that an event with the name <var title="">e</var>, with no namespace, which does not bubble (except @@ -43630,7 +43630,7 @@ <li> - <p>The user agent must <a href="#fire-a-simple-event">fire a simple event</a> called + <p>The user agent must <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-beforeprint">beforeprint</code> at the <code><a href="#window">Window</a></code> object of the <code>Document</code> that is being printed, as well as any <a href="#nested-browsing-context" title="nested browsing @@ -43664,7 +43664,7 @@ <li> - <p>The user agent must <a href="#fire-a-simple-event">fire a simple event</a> called + <p>The user agent must <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-afterprint">afterprint</code> at the <code><a href="#window">Window</a></code> object of the <code>Document</code> that is being printed, as well as any <a href="#nested-browsing-context" title="nested browsing @@ -45137,7 +45137,7 @@ <li><p>If these steps were invoked with a <a href="#cache-host">cache host</a>, and the <a href="#concept-appcache-status" title="concept-appcache-status">status</a> of <var title="">cache group</var> is <i>checking</i> or <i>downloading</i>, then <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-appcache-checking"><a href="#event-appcache-checking">checking</a></code> at the + a simple event</a> named <code title="event-appcache-checking"><a href="#event-appcache-checking">checking</a></code> at the <code><a href="#applicationcache">ApplicationCache</a></code> singleton of that <a href="#cache-host">cache host</a>. The default action of this event must be, if the user agent <a href="#shows-caching-progress">shows caching progress</a>, the display of @@ -45148,7 +45148,7 @@ <li><p>If these steps were invoked with a <a href="#cache-host">cache host</a>, and the <a href="#concept-appcache-status" title="concept-appcache-status">status</a> of <var title="">cache group</var> is <i>downloading</i>, then also <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-appcache-downloading"><a href="#event-appcache-downloading">downloading</a></code> that is + named <code title="event-appcache-downloading"><a href="#event-appcache-downloading">downloading</a></code> that is cancelable at the <code><a href="#applicationcache">ApplicationCache</a></code> singleton of that <a href="#cache-host">cache host</a>. The default action of this event must be, if the user agent <a href="#shows-caching-progress">shows caching progress</a>, the @@ -45165,7 +45165,7 @@ <li><p>For each <a href="#cache-host">cache host</a> associated with an <a href="#application-cache">application cache</a> in <var title="">cache group</var>, <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple - event</a> that is cancelable called <code title="event-appcache-checking"><a href="#event-appcache-checking">checking</a></code> at the + event</a> that is cancelable named <code title="event-appcache-checking"><a href="#event-appcache-checking">checking</a></code> at the <code><a href="#applicationcache">ApplicationCache</a></code> singleton of the <a href="#cache-host">cache host</a>. The default action of these events must be, if the user agent <a href="#shows-caching-progress">shows caching progress</a>, the display of @@ -45184,7 +45184,7 @@ <li><p>If this is a <a href="#concept-appcache-cache" title="concept-appcache-cache">cache attempt</a>, then this algorithm was invoked with a <a href="#cache-host">cache host</a>; <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-appcache-checking"><a href="#event-appcache-checking">checking</a></code> that is cancelable + event</a> named <code title="event-appcache-checking"><a href="#event-appcache-checking">checking</a></code> that is cancelable at the <code><a href="#applicationcache">ApplicationCache</a></code> singleton of that <a href="#cache-host">cache host</a>. The default action of this event must be, if the user agent <a href="#shows-caching-progress">shows caching progress</a>, the display of some sort @@ -45223,7 +45223,7 @@ <li><p>For each <a href="#cache-host">cache host</a> associated with an <a href="#application-cache">application cache</a> in <var title="">cache group</var>, <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-appcache-obsolete"><a href="#event-appcache-obsolete">obsolete</a></code> that is + event</a> named <code title="event-appcache-obsolete"><a href="#event-appcache-obsolete">obsolete</a></code> that is cancelable at the <code><a href="#applicationcache">ApplicationCache</a></code> singleton of the <a href="#cache-host">cache host</a>. The default action of these events must be, if the user agent <a href="#shows-caching-progress">shows caching progress</a>, the @@ -45233,7 +45233,7 @@ <li><p>For each entry in <var title="">cache group</var>'s <a href="#concept-appcache-pending-masters" title="concept-appcache-pending-masters">list of pending master entries</a>, <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple - event</a> that is cancelable called <code title="event-appcache-error"><a href="#event-appcache-error">error</a></code> (not <code title="event-appcache-obsolete"><a href="#event-appcache-obsolete">obsolete</a></code>!) at the + event</a> that is cancelable named <code title="event-appcache-error"><a href="#event-appcache-error">error</a></code> (not <code title="event-appcache-obsolete"><a href="#event-appcache-obsolete">obsolete</a></code>!) at the <code><a href="#applicationcache">ApplicationCache</a></code> singleton of the <a href="#cache-host">cache host</a> the <code>Document</code> for this entry, if there still is one. The default action of this event must be, if the @@ -45288,7 +45288,7 @@ <p>If the download failed (e.g. the connection times out, or the user cancels the download), then <a href="#queue-a-task">queue a task</a> to - <a href="#fire-a-simple-event">fire a simple event</a> that is cancelable called <code title="event-appcache-error"><a href="#event-appcache-error">error</a></code> at the + <a href="#fire-a-simple-event">fire a simple event</a> that is cancelable named <code title="event-appcache-error"><a href="#event-appcache-error">error</a></code> at the <code><a href="#applicationcache">ApplicationCache</a></code> singleton of the <a href="#cache-host">cache host</a> the <code>Document</code> for this entry, if there still is one. The default action of this event must be, if the @@ -45313,7 +45313,7 @@ <li><p>For each <a href="#cache-host">cache host</a> associated with an <a href="#application-cache">application cache</a> in <var title="">cache group</var>, <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple - event</a> that is cancelable called <code title="event-appcache-noupdate"><a href="#event-appcache-noupdate">noupdate</a></code> at the + event</a> that is cancelable named <code title="event-appcache-noupdate"><a href="#event-appcache-noupdate">noupdate</a></code> at the <code><a href="#applicationcache">ApplicationCache</a></code> singleton of the <a href="#cache-host">cache host</a>. The default action of these events must be, if the user agent <a href="#shows-caching-progress">shows caching progress</a>, the display of @@ -45347,7 +45347,7 @@ <li><p>For each <a href="#cache-host">cache host</a> associated with an <a href="#application-cache">application cache</a> in <var title="">cache group</var>, <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple event</a> that - is cancelable called <code title="event-appcache-downloading"><a href="#event-appcache-downloading">downloading</a></code> at the + is cancelable named <code title="event-appcache-downloading"><a href="#event-appcache-downloading">downloading</a></code> at the <code><a href="#applicationcache">ApplicationCache</a></code> singleton of the <a href="#cache-host">cache host</a>. The default action of these events must be, if the user agent <a href="#shows-caching-progress">shows caching progress</a>, the display of some @@ -45559,7 +45559,7 @@ <var title="">new cache</var>.</li> <li><p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-simple-event">fire a simple - event</a> that is cancelable called <code title="event-appcache-error"><a href="#event-appcache-error">error</a></code> at the + event</a> that is cancelable named <code title="event-appcache-error"><a href="#event-appcache-error">error</a></code> at the <code><a href="#applicationcache">ApplicationCache</a></code> singleton of the <code>Document</code> for this entry, if there still is one. The default action of this event must be, if the user agent @@ -45629,7 +45629,7 @@ attempt</a>, then for each <a href="#cache-host">cache host</a> associated with an <a href="#application-cache">application cache</a> in <var title="">cache group</var>, <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple - event</a> that is cancelable called <code title="event-appcache-cached"><a href="#event-appcache-cached">cached</a></code> at the + event</a> that is cancelable named <code title="event-appcache-cached"><a href="#event-appcache-cached">cached</a></code> at the <code><a href="#applicationcache">ApplicationCache</a></code> singleton of the <a href="#cache-host">cache host</a>. The default action of these events must be, if the user agent <a href="#shows-caching-progress">shows caching progress</a>, the display of @@ -45641,7 +45641,7 @@ <a href="#cache-host">cache host</a> associated with an <a href="#application-cache">application cache</a> in <var title="">cache group</var>, <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple event</a> that is cancelable - called <code title="event-appcache-updateready"><a href="#event-appcache-updateready">updateready</a></code> + named <code title="event-appcache-updateready"><a href="#event-appcache-updateready">updateready</a></code> at the <code><a href="#applicationcache">ApplicationCache</a></code> singleton of the <a href="#cache-host">cache host</a>. The default action of these events must be, if the user agent <a href="#shows-caching-progress">shows caching progress</a>, the display of @@ -45673,7 +45673,7 @@ its <a href="#application-cache">application cache</a>, if it has one.</li> <li><p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-simple-event">fire a simple - event</a> that is cancelable called <code title="event-appcache-error"><a href="#event-appcache-error">error</a></code> at the + event</a> that is cancelable named <code title="event-appcache-error"><a href="#event-appcache-error">error</a></code> at the <code><a href="#applicationcache">ApplicationCache</a></code> singleton of the <code>Document</code> for this entry, if there still is one. The default action of these events must be, if the user agent @@ -45686,7 +45686,7 @@ <li><p>For each <a href="#cache-host">cache host</a> still associated with an <a href="#application-cache">application cache</a> in <var title="">cache group</var>, <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple event</a> that - is cancelable called <code title="event-appcache-error"><a href="#event-appcache-error">error</a></code> at the + is cancelable named <code title="event-appcache-error"><a href="#event-appcache-error">error</a></code> at the <code><a href="#applicationcache">ApplicationCache</a></code> singleton of the <a href="#cache-host">cache host</a>. The default action of these events must be, if the user agent <a href="#shows-caching-progress">shows caching progress</a>, the display of some @@ -46138,13 +46138,13 @@ <p>When the value that would be returned by the <code title="dom-navigator-onLine"><a href="#dom-navigator-online">navigator.onLine</a></code> attribute of the <code><a href="#window">Window</a></code> changes from true to false, the user agent - must <a href="#fire-a-simple-event">fire a simple event</a> called <dfn id="event-offline" title="event-offline"><code>offline</code></dfn> at the + must <a href="#fire-a-simple-event">fire a simple event</a> named <dfn id="event-offline" title="event-offline"><code>offline</code></dfn> at the <code><a href="#window">Window</a></code> object.</p> <p>On the other hand, when the value that would be returned by the <code title="dom-navigator-onLine"><a href="#dom-navigator-online">navigator.onLine</a></code> attribute of the <code><a href="#window">Window</a></code> changes from false to true, the user - agent must <a href="#fire-a-simple-event">fire a simple event</a> called <dfn id="event-online" title="event-online"><code>online</code></dfn> at the + agent must <a href="#fire-a-simple-event">fire a simple event</a> named <dfn id="event-online" title="event-online"><code>online</code></dfn> at the <code><a href="#window">Window</a></code> object.</p> </div><p class="note">This attribute is inherently unreliable. A computer @@ -47692,7 +47692,7 @@ </li> - <li><p><a href="#fire-a-simple-event">Fire a simple event</a> called <code title="event-unload">unload</code> at the <code>Document</code>'s + <li><p><a href="#fire-a-simple-event">Fire a simple event</a> named <code title="event-unload">unload</code> at the <code>Document</code>'s <code><a href="#window">Window</a></code> object.</li> <li><p>If any event listeners were triggered by the previous step, @@ -47737,7 +47737,7 @@ </div><h4 id="aborting-a-document-load"><span class="secno">6.11.11 </span>Aborting a document load</h4><p>If the user cancels any instance of the <a href="#fetch" title="fetch">fetching algorithm</a> in the context of a <code>Document</code> in a <a href="#browsing-context">browsing context</a>, then, if that <code>Document</code> is an <a href="#active-document">active document</a>, the - user agent must <a href="#fire-a-simple-event">fire a simple event</a> called <code title="event-abort">abort</code> at that <code>Document</code>'s + user agent must <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-abort">abort</code> at that <code>Document</code>'s <code><a href="#window">Window</a></code> object.</p><!-- I'd love to make this more precise, anyone have any suggestions on what it should say? --><h3 id="links"><span class="secno">6.12 </span>Links</h3><h4 id="hyperlink-elements"><span class="secno">6.12.1 </span>Hyperlink elements</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>The <code><a href="#the-a-element">a</a></code>, <code><a href="#the-area-element">area</a></code>, and <code><a href="#the-link-element">link</a></code> elements can, in certain situations described in the definitions of @@ -49045,7 +49045,7 @@ </li> - <li><p><a href="#fire-a-simple-event">Fire a simple event</a> called <code title="event-focus">focus</code> at the element.</li> + <li><p><a href="#fire-a-simple-event">Fire a simple event</a> named <code title="event-focus">focus</code> at the element.</li> </ol><p>User agents must run the <a href="#focusing-steps">focusing steps</a> for an element whenever the user moves the focus to a @@ -49058,13 +49058,13 @@ element, and the element does not have a defined <a href="#activation-behavior">activation behavior</a>, and the user has changed the element's <a href="#concept-fe-value" title="concept-fe-value">value</a> or its list of <a href="#concept-input-type-file-selected" title="concept-input-type-file-selected">selected files</a> while the control was focused without committing that change, then - <a href="#fire-a-simple-event">fire a simple event</a> that bubbles called <code title="event-change">change</code> at the element, then + <a href="#fire-a-simple-event">fire a simple event</a> that bubbles named <code title="event-change">change</code> at the element, then <a href="#broadcast-formchange-events">broadcast <code title="event-formchange">formchange</code> events</a> at the element's <a href="#form-owner">form owner</a>.</p> <li><p>Unfocus the element.</li> - <li><p><a href="#fire-a-simple-event">Fire a simple event</a> called <code title="event-blur">blur</code> at the element.</li> + <li><p><a href="#fire-a-simple-event">Fire a simple event</a> named <code title="event-blur">blur</code> at the element.</li> </ol><p>When an element that is focused stops being a <a href="#focusable">focusable</a> element, or stops being focused without @@ -59788,7 +59788,7 @@ the parser stopped</a> have <a href="#completed-loading">completed loading</a> and been <a href="#executing-a-script-block" title="executing a script block">executed</a>, the user agent must <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-DOMContentLoaded">DOMContentLoaded</code> at the + event</a> named <code title="event-DOMContentLoaded">DOMContentLoaded</code> at the <code>Document</code>. (If the list is empty, this happens immediately.)</p> @@ -59801,7 +59801,7 @@ <li>If the <code>Document</code> is in a <a href="#browsing-context">browsing context</a>, then <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">load</code> at + simple event</a> named <code title="event-load">load</code> at the <code>Document</code>'s <code><a href="#window">Window</a></code> object, but with its <code title="dom-event-target">target</code> set to the <code>Document</code> object (and the <code title="dom-event-currentTarget">currentTarget</code> set to the @@ -65535,7 +65535,7 @@ <p>When a <code><a href="#the-marquee-element">marquee</a></code> element is created, the user agent must <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-start">start</code> at the element.</p> + named <code title="event-start">start</code> at the element.</p> <hr><p>The <dfn id="attr-marquee-behavior" title="attr-marquee-behavior"><code>behavior</code></dfn> content attribute on <code><a href="#the-marquee-element">marquee</a></code> elements is an <a href="#enumerated-attribute">enumerated @@ -65634,17 +65634,17 @@ or greater than the element's <a href="#marquee-loop-count">marquee loop count</a>, <a href="#concept-marquee-off" title="concept-marquee-off">turn off</a> the <code><a href="#the-marquee-element">marquee</a></code> element and <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-finish">finish</code> at the <code><a href="#the-marquee-element">marquee</a></code> + <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-finish">finish</code> at the <code><a href="#the-marquee-element">marquee</a></code> element.</p> <p>Otherwise, if the <code title="attr-marquee-behavior"><a href="#attr-marquee-behavior">behavior</a></code> attribute is in the <a href="#attr-marquee-behavior-alternate" title="attr-marquee-behavior-alternate">alternate</a> state, then <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-bounce">bounce</code> at + event</a> named <code title="event-bounce">bounce</code> at the <code><a href="#the-marquee-element">marquee</a></code> element.</p> <p>Otherwise, <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-start">start</code> at the + event</a> named <code title="event-start">start</code> at the <code><a href="#the-marquee-element">marquee</a></code> element.</p> </li> @@ -65778,10 +65778,10 @@ name</a> must be set to the empty string.</p> <p>When content loads in a <code><a href="#frame">frame</a></code>, after any <code title="event-load">load</code> events are fired within the content - itself, the user agent must <a href="#fire-a-simple-event">fire a simple event</a> called + itself, the user agent must <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-load">load</code> at the <code><a href="#frame">frame</a></code> element. When content fails to load (e.g. due to a network error), - then the user agent must <a href="#fire-a-simple-event">fire a simple event</a> called + then the user agent must <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-error">error</code> at the element instead.</p> <p>When there is an <a href="#active-parser">active parser</a> in the @@ -67903,6 +67903,7 @@ Remy Sharp, Rene Saarsoo, Rene Stach, + Ric Hardacre, Rich Doughty, Richard Ishida, Rigo Wenning,
Received on Sunday, 4 October 2009 11:32:48 UTC