hi marc,
i'm afraid i don't have the skills to fix the problem ;-)
but i've taken a cursory glance at the
htmlunit site and i was quite surprised to read this:
"Some event handlers are already implemented and will be triggered at the appropriate time (see table below).
...
onblur: The method WebClient.moveFocusToElement(...) will change the focus to the appropriate element. This event will be triggered when an element loses focus."
it must be a misunderstanding on my part, but that statement leaves me rather confused.
greetings
christian
So you may find a workaround this way but the safer way would surely be
to submit a patch allowing htmlunit/webtest to handle these events
natively ;-)