Fix 23186 - Add text indicating that addEventListener can accept null (and does nothing in that case)
authorGary Kacmarcik <garykac@google.com>
Tue, 03 Dec 2013 17:34:32 -0800
changeset 561 1502cf07320b
parent 560 d374e5b4fe8e
child 562 bfce9a135d6e
Fix 23186 - Add text indicating that addEventListener can accept null (and does nothing in that case)
html/DOM3-Events.html
--- a/html/DOM3-Events.html	Tue Dec 03 17:26:01 2013 -0800
+++ b/html/DOM3-Events.html	Tue Dec 03 17:34:32 2013 -0800
@@ -1402,6 +1402,8 @@
 								<a href="#interface-EventListener"><code>EventListener</code></a>, then its
 								<a href="#widl-EventListener-handleEvent">handleEvent</a> method MUST be used as the callback.
 								</p>
+							<p>If null is passed for the <code>listener</code>, then <code>addEventListener</code> does nothing.
+								</p>
 						</dd>
 
 						<dt>optional boolean useCapture = false</dt>