Please don't cc me on newsgroup posts, ok?
Antonio Gomes wrote:
1) After finish loading of html page, I wonder implement a method to tell me if the current focused element (with the focus rectangle around it) is above (up) or below (down), left or right in relation to the next focusable element, or just to make possible to retrieve the x and y coordinates of them, for graphical handling ...
You're assuming that "an element" is represented by a single rectangle in the page. This assumption is, unfortunately, false.
Sorry... but I really did not understand your answer. Wh at do you mean? Both or four what?
I mean what if the first element is both below and above the second element (that is, it has several parts, some of which are above and some of which are below)?
Worse yet, what happens if from the user's point of view these parts are separately focusable (thing <area> elements in a <map>, which can be focusable separately for every image the <map> is used with)?
-Boris _______________________________________________ mozilla-layout mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-layout
