--- 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>.