I'll run a find/replace to replace the numbers with constants, and  
submit as a patch for that branch.


On Feb 22, 2007, at 4:28 AM, Mislav Marohnić wrote:

> On 2/21/07, Tom Gregory <[EMAIL PROTECTED]> wrote:
> Isn't that as easy as updating Event.element(), or am I missing
> something?
> i.e.
>    element: function(event) {
> +    var e = event.target || event.srcElement;
> +    return (e.nodeType == 3) ? e.parentNode : e;
> -    return event.target || event.srcElement;
>    },
> If it is, then great! I don't know to which extend the bug goes, I  
> just know libs out there (like YUI) work around it.
> I commited the Node thing to the "event" branch:
> http://dev.rubyonrails.org/changeset/6205
> While it doesn't exactly belong to the event branch, it doesn't  
> hurt either and can be easily merged to some other branch or trunk.  
> But, the change could stand tests (although I'm not sure in what  
> form ...).
> >

You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to