Add isComposing to InputEvent.
authorGary Kacmarcik <garykac@google.com>
Mon, 07 Apr 2014 20:58:56 -0700
changeset 577 c4dce5a50b42
parent 576 75f05be2ab16
child 578 ce11666f2d43
Add isComposing to InputEvent.
Fix links to |code| and |key| tables in KeyboardEventInit.
html/DOM3-Events.html
--- a/html/DOM3-Events.html	Mon Apr 07 17:35:24 2014 -0700
+++ b/html/DOM3-Events.html	Mon Apr 07 20:58:56 2014 -0700
@@ -4721,6 +4721,21 @@
 								MUST be <code>""</code> (the empty string).
 								</p>
 						</dd>
+
+						<dt>readonly attribute boolean isComposing</dt>
+						<dd>
+							<p><code>true</code> if the input event occurs as part of a composition session, i.e., after a
+								<a class="eventtype" href="#event-type-compositionstart"><code>compositionstart</code></a>
+								event and before the corresponding
+								<a class="eventtype" href="#event-type-compositionend"><code>compositionend</code></a>
+								event.
+								</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>
+
 					</dl>
 					
 					<dl class="idl" title="dictionary InputEventInit : UIEventInit">
@@ -4729,6 +4744,12 @@
 							<p>Initializes the <code>data</code> attribute of the InputEvent object.
 								</p>
 						</dd>
+
+						<dt>boolean isComposing = false</dt>
+						<dd>
+							<p>Initializes the <code>isComposing</code> attribute of the InputEvent object.
+								</p>
+						</dd>
 					</dl>
 
 				</section>  <!-- interface-InputEvent -->
@@ -5053,9 +5074,11 @@
 								event and before the corresponding
 								<a class="eventtype" href="#event-type-compositionend"><code>compositionend</code></a>
 								event.
-							</p>
-
-							<p>The <a class="def" href="#glossary-un-initialized-value">un-initialized value</a> of this attribute MUST be <code>false</code>.</p>
+								</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>boolean getModifierState()</dt>
@@ -5087,9 +5110,9 @@
 								key after taking into account all keyboard modifications (such as 
 								shift-state). This value is the final effective value of the key. 
 								If the key is not a printable character, then it should be one of
-								the key values defined in [[DOM-LEVEL-3-EVENTS]].
-								</p>
-							<p class="issue">Fix DOM3 reference markup</p>
+								the key values defined in the
+								<a href="#key-value-tables">Keyboard Event <code>key</code> Value Tables</a>.
+								</p>
 						</dd>
 
 						<dt>DOMString code = ""</dt>
@@ -5099,7 +5122,7 @@
 								was pressed, ignoring any keyboard modifications such as keyboard
 								layout.
 								This value should be one of the code values defined in the
-								<a href="#keyboard-events">Keyboard Events</a> section.
+								<a href="#code-value-tables">Keyboard Events <code>code</code> Value Tables</a>.
 								</p>
 						</dd>