On 10/19/11 10:07 PM, Jonas Sicking wrote: > I like the general idea here. And since we're changing behavior, I > think it's a good opportunity to come up with shorter names. Naming is > really hard. The shorter names we use, the more likely it is that > we're going to break webpages which are messing around with the > prototype chain Not just the proto chain. Every method you add on Element or Document will break any inline event handler attributes that happen to use that name as a bareword. We had some amount of that with the "list" property on inputs, and that only added a property on HTMLInputElement.... Again, in this case a shorter name may make sense, but in general there are good reasons for not using short names all the time. -BorisReceived on Thursday, 20 October 2011 02:31:48 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:48 GMT