W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2010

TextEvent data property

From: Sean Hogan <shogun70@westnet.com.au>
Date: Wed, 13 Jan 2010 11:19:26 +1100
Message-ID: <4B4D118E.6040105@westnet.com.au>
To: Doug Schepers <schepers@w3.org>
CC: DOM public list <www-dom@w3.org>
Hi Doug, et al

It just occured to me that the data property of TextEvent clashes with 
jQuery Events, which uses the data property for " optional data passed 
to jQuery.fn.bind when the current executing handler was bound."

TextEvent.data (and there textInput events) support in jQuery will be 
confusing (at minimum).
To my knowledge only Webkit supports TextEvents and I can't imagine many 
developers actually using them yet, so it might not break anything to 
change it now.

Perhaps "text" or "textData" would be an acceptable name.
Received on Wednesday, 13 January 2010 00:20:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:15 UTC