Fix 18341 by adding example key event sequence for Arabic.
authorGary Kacmarcik <garykac@google.com>
Sun, 25 Aug 2013 10:39:13 -0700
changeset 469 1251ba9eb78c
parent 468 13911b21da92
child 470 54045000616c
Fix 18341 by adding example key event sequence for Arabic.
html/DOM3-Events.html
--- a/html/DOM3-Events.html	Sun Aug 25 10:38:21 2013 -0700
+++ b/html/DOM3-Events.html	Sun Aug 25 10:39:13 2013 -0700
@@ -5331,6 +5331,45 @@
 					</table>
 				</div>
 
+				<p>For non-US keyboard layouts, the sequence of events is the same, but the value of the key is based on the current
+					keyboard layout. The following example shows the sequence of events when an Arabic keyboard layout is used:</p>
+
+				<div class="example">
+					<div class="example-title">Example</div>
+					<table class="event-sequence-table">
+						<tr>
+							<td class="cell-number">1.</td>
+							<td><a class="eventtype" href="#event-type-keydown"><code>keydown</code></a></td>
+							<td class="cell-center"><code class="key">'Control'</code></td>
+							<td><code class="attribute-name">ctrlKey</code></td>
+							<td></td>
+						</tr>
+						<tr>
+							<td class="cell-number">2.</td>
+							<td><a class="eventtype" href="#event-type-keydown"><code>keydown</code></a></td>
+							<td class="cell-center"><code class="key">'ر'</code></td>
+							<td><code class="attribute-name">ctrlKey</code></td>
+							<td>Arabic Letter Reh</td>
+						</tr>
+						<tr>
+							<td class="cell-number">3.</td>
+							<td><a class="eventtype" href="#event-type-keyup"><code>keyup</code></a></td>
+							<td class="cell-center"><code class="key">'ر'</code></td>
+							<td><code class="attribute-name">ctrlKey</code></td>
+							<td>Arabic Letter Reh</td>
+						</tr>
+						<tr>
+							<td class="cell-number">4.</td>
+							<td><a class="eventtype" href="#event-type-keyup"><code>keyup</code></a></td>
+							<td class="cell-center"><code class="key">'Control'</code></td>
+							<td></td>
+							<td></td>
+						</tr>
+					</table>
+				</div>
+
+				<p class="issue">Are there any other key event sequences we should include here?</p>
+				
 				<p>In some cases, modifier keys change the key value value for a key event.  For example, on some MacOS keyboards, the  key labeled <code>'delete'</code>
 					functions the same as the <code class="key">'Backspace'</code> key on the Windows OS when unmodified, but when modified by the <code class="key">'Fn'</code>
 					key, acts as the <code class="key">'Del'</code> key, and the value of the key value will match the most appropriate function of the key in its current modified