Add issue for specifying the max length of a single 'key' string.
authorGary Kacmarcik <garykac@google.com>
Tue, 27 Aug 2013 12:57:05 -0700
changeset 482 d9802c66324b
parent 481 cd3bcce3329a
child 483 5f7658843957
Add issue for specifying the max length of a single 'key' string.
html/DOM3-Events.html
--- a/html/DOM3-Events.html	Tue Aug 27 12:51:12 2013 -0700
+++ b/html/DOM3-Events.html	Tue Aug 27 12:57:05 2013 -0700
@@ -6638,6 +6638,10 @@
 				and an informative categorization.  A conforming implementation of the <a href="#interface-KeyboardEvent">KeyboardEvent</a> interface MUST support at least this set
 				of values for use in the <a href="#widl-KeyboardEvent-key"><code>KeyboardEvent.key</code></a>
 				attributes, though not all values MAY be available on all platforms or devices.</p>
+			
+			<p class="issue">We should specify a max length for these <code>key</code> strings. The current longest is 21 characters long, so I'll propose 23 chars as the max (so that
+				it fits in 24 bytes (4/8-byte aligned) with a null-terminator.
+				</p>
 				
 			<section id="keys-general">
 				<h4>General Keys</h4>