W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] Adding mouseenter and mouseleave events

From: Gareth Hay <gazhay@gmail.com>
Date: Fri, 16 Mar 2007 10:35:57 +0000
Message-ID: <2F21F7D7-2200-4C18-B44F-B2163077BA89@gmail.com>
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.

Received on Friday, 16 March 2007 03:35:57 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:53 UTC