[whatwg] Adding mouseenter and mouseleave events

Gareth Hay gazhay at gmail.com
Fri Mar 16 03:35:57 PDT 2007


Well, this is my final word on the subject, it's my opinion, and by  
the looks of it, only my opinion, but I *personally* don't see the  
need for changing what we have.

I believe that all use cases are currently covered by the W3C spec.I  
think IMHO that adding 'shorthand' functions, for functionality that  
already exists, and restricting that functionality adds a barrier of  
entry to a new developer, and produces a messy outcome.

For instance, if you had a 'branding' image for your web sites, and  
it is always 100px x 100px, that is not good for you to have a new  
attribute on the <img> tag for 'branding', so that the image is  
always rendered 100x100, nor is it good to have a new tag <imgbrand>  
that renders the src as 100x100. You simply use the existing <img>  
tag and modify it to your specific case.

Again, that is *only my opinion*, and final word on the subject.

Gareth



More information about the whatwg mailing list