Hello team,

I recently needed a cross-browser simulateMouse support for some of
our tests in Prototype UI and stumbled upon certain limitations in
current implementation. Event.simulateMouse is marked as "Firefox-only
and experimental". Turning it into a somewhat robust solution will
definitely benefit other modules' test suits (notable autocompleter
and IPE which rely on mouse events quite heavily).

Thomas mentioned that any patches and tests are very appreciated,
considering that as of now there are NO specific unit tests for this
wonderful method.

Here's a fresh patch http://dev.rubyonrails.org/ticket/10170 and unit
tests http://dev.rubyonrails.org/attachment/ticket/10170/simulatemouse_test.html
(FF2+, IE6+, Opera 9+, Safari 3 all pass happily). Would be nice to
know about Safari 2 as well. The coverage is not as complete as I
would want it to be, but it's a good start and is better than nothing.

My question is:
What are the chances of applying it to the current version or would it
rather make sense to bake it into a 2.0?

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