Wrap key string values with proper class="key" or "glyph".
authorGary Kacmarcik <garykac@google.com>
Mon, 12 May 2014 16:56:27 -0700
changeset 634 c990dc0929dd
parent 633 5368da262230
child 635 a3fbbd1081c5
Wrap key string values with proper class="key" or "glyph".
html/DOM3-Events.html
--- a/html/DOM3-Events.html	Mon May 12 16:43:39 2014 -0700
+++ b/html/DOM3-Events.html	Mon May 12 16:56:27 2014 -0700
@@ -4810,23 +4810,23 @@
 
 						<dt>readonly attribute boolean shiftKey</dt>
 						<dd>
-							<p><code>true</code> if the shift (Shift) key modifier was active.</p>
+							<p><code>true</code> if the shift (<code class="key">Shift</code>) key modifier was active.</p>
 
 							<p>The <a class="def" href="#glossary-un-initialized-value">un-initialized value</a> of this attribute MUST be <code>false</code>.</p>
 						</dd>
 
 						<dt>readonly attribute boolean altKey</dt>
 						<dd>
-							<p><code>true</code> if the <code class="key">'Alt'</code> (alternative) or <code>Option</code> key modifier was active.</p>
+							<p><code>true</code> if the <code class="key">'Alt'</code> (alternative) (or <code class="glyph">'Option'</code>) key modifier was active.</p>
 
 							<p>The <a class="def" href="#glossary-un-initialized-value">un-initialized value</a> of this attribute MUST be <code>false</code>.</p>
 						</dd>
 
 						<dt>readonly attribute boolean metaKey</dt>
 						<dd>
-							<p><code>true</code> if the meta (Meta) key modifier was active.</p>
-
-							<p class="note"><strong>Note:</strong> The <code>'Command'</code> key modifier on Macintosh systems is represented using this key modifier.</p>
+							<p><code>true</code> if the meta (<code class="key">'Meta'</code>) key modifier was active.</p>
+
+							<p class="note"><strong>Note:</strong> The <code class="glyph">'Command'</code> (<code class="glyph">'&#x2318;'</code>) key modifier on Macintosh systems is represented using this key modifier.</p>
 
 							<p>The <a class="def" href="#glossary-un-initialized-value">un-initialized value</a> of this attribute MUST be <code>false</code>.</p>
 						</dd>