IE disabled INPUT text in TD clientX/Y bug.
Affects: IE 5.5, 6, 7 beta 2 preview
This is sort-of a "bug within a bug". Mouse events shouldn't fire on disabled elements, but since they do in IE...
Text that is a part of an INPUT element (type of "text", "submit", "button", etc) will, if disabled and located inside a TD, have a clientX/clientY
when moused over that is relative to the left/top of the element that is disabled, not the left/top of the viewport.
Move your mouse over the text portion of the INPUT elements below. Notice the clientX/Y values change to become relative to the INPUT element's left/top
position.
Notice when you move your mouse over the elements below that the incorrect clientX/Y values only occur when the mouse is over the actual text. Having
the mouse over a non-text portion of the INPUT element shows normal, expected behavior.
event.clientX =
event.clientY =
Jason Brunette jbrunette@excel.net