Hi i am using
document.elementFromPoint(x,y);
function to find out the underlying element on the mouse click. It is working fine when i open the corresponding html file with firefox. But i have written an application using gtkmozembed to open html files. When i open html file with my application and clicked on the page it is giving following error:
TypeError: document.elementFromPoint is not a function
Why it is so? Actually all the functions which works for firefox, also work with gtkmozembed right?(as both firefox and gtkmozembed uses gecko engine internally)