Fix 25564 - Remove vestiges of the 'char' attribute (4 occurrences)
authorTravis Leithead
Mon, 05 May 2014 17:50:52 -0700
changeset 619 1b16eb00ac6c
parent 618 0e86d968e9d4
child 620 b722b0972b93
Fix 25564 - Remove vestiges of the 'char' attribute (4 occurrences)
* It was only two places. Of the two remaining, was is not referring to the char
attribute, and the other is noting that it was removed.
html/DOM3-Events.html
--- a/html/DOM3-Events.html	Mon May 05 17:41:56 2014 -0700
+++ b/html/DOM3-Events.html	Mon May 05 17:50:52 2014 -0700
@@ -6187,7 +6187,7 @@
 							<tr><td>US Intl</td><td><code class="key">'DeadKey'</code></td><td><code class="key-code">'Quote'</code></td><td></td></tr>
 						</tbody>
 					</table>
-					<p>This example shows how dead key values are encoded in the attributes. The <code>char</code> and
+					<p>This example shows how dead key values are encoded in the attributes. The
 						<code>key</code> values vary based on the current locale, whereas the <code>code</code> attribute
 						returns a consistent value.
 						</p>
@@ -8065,7 +8065,7 @@
 								<a class="eventtype" href="#event-type-keypress"><code>keypress</code></a> events which
 								generate character input.
 								The value is the Unicode reference number (code point) of that character (e.g.
-								<code>event.charCode = event.char.charCodeAt(0)</code>).
+								<code>event.charCode = event.key.charCodeAt(0)</code> for printable characters).
 								For <a class="eventtype" href="#event-type-keydown"><code>keydown</code></a> or
 								<a class="eventtype" href="#event-type-keyup"><code>keyup</code></a> events, the
 								value of <code class="attribute-name">charCode</code> is <code>0</code>.