Rename createEvent's argument
authorMs2ger <ms2ger@gmail.com>
Wed, 15 Jun 2011 12:55:06 +0200
changeset 5352f80779e3566
parent 534 a48d3dccf595
child 536 e7d1c825921e
Rename createEvent's argument
Overview.html
Overview.src.html
     1.1 --- a/Overview.html	Wed Jun 15 12:51:16 2011 +0200
     1.2 +++ b/Overview.html	Wed Jun 15 12:55:06 2011 +0200
     1.3 @@ -871,14 +871,14 @@
     1.4  it was thought better to describe its
     1.5  <code title="dom-Document-createEvent"><a href="#dom-document-createevent">createEvent()</a></code> method here.
     1.6  
     1.7 -<p>When the <dfn id="dom-document-createevent" title="dom-Document-createEvent"><code>createEvent(<var title="">interface</var>)</code></dfn> methed is invoked these steps must be run:
     1.8 +<p>When the <dfn id="dom-document-createevent" title="dom-Document-createEvent"><code>createEvent(<var title="">eventInterfaceName</var>)</code></dfn> methed is invoked these steps must be run:
     1.9  
    1.10  <ol>
    1.11   <li>
    1.12 -  <p>If <var title="">interface</var> is an <a href="#ascii-case-insensitive">ASCII case-insensitive</a>
    1.13 -  match for any of the strings in the first column in the following table
    1.14 -  let <var title="">interface</var> be the string in the second column on the same
    1.15 -  row as the matching string:</p>
    1.16 +  <p>If <var title="">eventInterfaceName</var> is an
    1.17 +  <a href="#ascii-case-insensitive">ASCII case-insensitive</a> match for any of the strings in the first
    1.18 +  column in the following table, let <var title="">eventInterfaceName</var> be the
    1.19 +  string in the second column on the same row as the matching string:</p>
    1.20    <table>
    1.21    <thead>
    1.22     <tr><th>Input interface <th>Replacement interface
    1.23 @@ -890,14 +890,14 @@
    1.24    </table>
    1.25    <!-- XXX WebKit/Gecko (IE?) support "events" -> "event". Add it or make sure it's not supported? -->
    1.26   </li>
    1.27 - <li><p>If <var title="">interface</var> is <em>not</em> an
    1.28 + <li><p>If <var title="">eventInterfaceName</var> is <em>not</em> an
    1.29   <a href="#ascii-case-insensitive">ASCII case-insensitive</a> match for "<code title="">event</code>" or
    1.30   for the name of an interface that inherits from the <code><a href="#event">Event</a></code>
    1.31   interface and is supported by the user agent, throw a
    1.32   <code title="dom-DOMException-NOT_SUPPORTED_ERR"><a href="#dom-domexception-not_supported_err">NOT_SUPPORTED_ERR</a></code> and
    1.33   terminate these steps.
    1.34   <li><p>Create an <a href="#concept-event" title="concept-event">event</a> implementing the
    1.35 - interface whose name <var title="">interface</var> is an
    1.36 + interface whose name <var title="">eventInterfaceName</var> is an
    1.37   <a href="#ascii-case-insensitive">ASCII case-insensitive</a> match for and return it.
    1.38  </ol>
    1.39  
    1.40 @@ -1985,7 +1985,7 @@
    1.41    void normalizeDocument();
    1.42    Node renameNode(Node n, DOMString namespace, DOMString qualifiedName);-->
    1.43  
    1.44 -  <a href="#event">Event</a> <a href="#dom-document-createevent" title="dom-Document-createEvent">createEvent</a>(DOMString <var title="">interface</var>);
    1.45 +  <a href="#event">Event</a> <a href="#dom-document-createevent" title="dom-Document-createEvent">createEvent</a>(DOMString <var title="">eventInterfaceName</var>);
    1.46  };</pre>
    1.47  
    1.48  <p>A <code><a href="#document">Document</a></code> node is assumed to be an <dfn id="xml-document">XML document</dfn>
     2.1 --- a/Overview.src.html	Wed Jun 15 12:51:16 2011 +0200
     2.2 +++ b/Overview.src.html	Wed Jun 15 12:55:06 2011 +0200
     2.3 @@ -818,14 +818,14 @@
     2.4  it was thought better to describe its
     2.5  <code title=dom-Document-createEvent>createEvent()</code> method here.
     2.6  
     2.7 -<p>When the <dfn title=dom-Document-createEvent><code>createEvent(<var title>interface</var>)</code></dfn> methed is invoked these steps must be run:
     2.8 +<p>When the <dfn title=dom-Document-createEvent><code>createEvent(<var title>eventInterfaceName</var>)</code></dfn> methed is invoked these steps must be run:
     2.9  
    2.10  <ol>
    2.11   <li>
    2.12 -  <p>If <var title>interface</var> is an <span>ASCII case-insensitive</span>
    2.13 -  match for any of the strings in the first column in the following table
    2.14 -  let <var title>interface</var> be the string in the second column on the same
    2.15 -  row as the matching string:</p>
    2.16 +  <p>If <var title>eventInterfaceName</var> is an
    2.17 +  <span>ASCII case-insensitive</span> match for any of the strings in the first
    2.18 +  column in the following table, let <var title>eventInterfaceName</var> be the
    2.19 +  string in the second column on the same row as the matching string:</p>
    2.20    <table>
    2.21    <thead>
    2.22     <tr><th>Input interface <th>Replacement interface
    2.23 @@ -837,14 +837,14 @@
    2.24    </table>
    2.25    <!-- XXX WebKit/Gecko (IE?) support "events" -> "event". Add it or make sure it's not supported? -->
    2.26   </li>
    2.27 - <li><p>If <var title>interface</var> is <em>not</em> an
    2.28 + <li><p>If <var title>eventInterfaceName</var> is <em>not</em> an
    2.29   <span>ASCII case-insensitive</span> match for "<code title>event</code>" or
    2.30   for the name of an interface that inherits from the <code>Event</code>
    2.31   interface and is supported by the user agent, throw a
    2.32   <code title=dom-DOMException-NOT_SUPPORTED_ERR>NOT_SUPPORTED_ERR</code> and
    2.33   terminate these steps.
    2.34   <li><p>Create an <span title=concept-event>event</span> implementing the
    2.35 - interface whose name <var title>interface</var> is an
    2.36 + interface whose name <var title>eventInterfaceName</var> is an
    2.37   <span>ASCII case-insensitive</span> match for and return it.
    2.38  </ol>
    2.39  
    2.40 @@ -1936,7 +1936,7 @@
    2.41    void normalizeDocument();
    2.42    Node renameNode(Node n, DOMString namespace, DOMString qualifiedName);-->
    2.43  
    2.44 -  <span>Event</span> <span title=dom-Document-createEvent>createEvent</span>(DOMString <var title>interface</var>);
    2.45 +  <span>Event</span> <span title=dom-Document-createEvent>createEvent</span>(DOMString <var title>eventInterfaceName</var>);
    2.46  };</pre>
    2.47  
    2.48  <p>A <code>Document</code> node is assumed to be an <dfn>XML document</dfn>