[whatwg] Web Forms 2.0 Feedback

On Mon, 30 Aug 2004, Jim Ley wrote:
> >
> > This sounds like what you are really requesting is a way for setting the
> > coordinate when you call click(), so you would do, e.g.:
> > 
> >   image.click(2, 5);
> > 
> > Is that right? If so, that seems relatively simple to add.
> 
> but not trivial to implement unfortunately, the overwriting of IE's 
> native methods isn't reliable (you get access denied errors on 
> occasions, take a fully patched IE5.5 on Windows 2000 and you can't do 
> document.write for example)

Would it work if we used a new method name, such as clickPoint() ?


> Also, I don't think this would be possible to do with HTC's because as 
> soon as you overwrite the click method of the input element, you lose 
> access to the original click method - this means that aswell as 
> constucting the form submission yourself, you'd also need to fire all 
> event listeners listen to the click event - something which is not 
> possible in IE.  So full emulation of this in IE6 would not be possible.

It would be interesting to see if it would be possible to emulate this by 
posting synthetic click events at the image, with appropriate X and Y 
coordinates set.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 12 November 2004 02:57:18 UTC