Please add support for client-side map:
<IMG src="x.jpg" usemap="#map1" border="0">
<MAP name="map1">
<AREA href="a.html" shape="rect" coords="0,0,20,20">
<AREA href="b.html" shape="circle" coords="30,10,10>
</MAP>
Something like HtmlImage.click(x,y) I guess (like in
HtmlInput).
Thanks.
Logged In: YES
user_id=1177086
Good idea!!!
Logged In: YES
user_id=950730
Originator: NO
I am about to submit a patch for this, but an answer is needed for the following questions:
1- What is the current lowest JDK version HtmlUnit should support?
2- Circle radius can be percentage, how to know the actual width of HtmlImage in pixels (if again it is percentage of its paret, which is percentage of its parent, ... )?
Logged In: YES
user_id=402164
Originator: NO
1- htmlunit should work with JRE 1.4 and upper
2- just ignore this case in a first time (unless you need it)
Logged In: YES
user_id=950730
Originator: NO
Patch attaced.
http://sourceforge.net/tracker/index.php?func=detail&aid=1696796&group_id=47038&atid=448268
2 is not yet implemented
Logged In: YES
user_id=402164
Originator: NO
Now fixed in SVN thanks to patch from asashour.