On Feb 8, 6:03 pm, Boris Zbarsky <[email protected]> wrote:
> On 2/8/10 11:55 AM, Babele Dunnit wrote:
>
> >http://docs.google.com/gview?embedded=true&url=http://www.itu.int/dms...
>
> The viewport on that page is not scrollable.  The scrollable thing is an
> absolutely positioned div.
>
> -Boris

ouch. I thought that the "viewport" were more a question of views and
not of DOM windows.. it is difficult to understand objects and
responsibilities in Mozilla code. So HUGE.

Would you please point me to a MXR snippet of Mozilla code to lurk
into and build some scroll methods also working in these cases? I am
lost between scrolling DOM windows, nsIWindowInternals, scrolling
views, IScrollable interfaces etc.. what I have to do to
programmatically get content size and scroll it, period? Where is the
Mother Of All Scrolls code in FF? :)

(I am completely rebuilding FF GUI in order to control it via eye-
tracking... so I need to understand how "long" a loaded page is, to
put out visual clues of how much of the whole page are you actually
seeing - something like the size of the scroller thumb in normal
scrollbars - and obviously I also need a rock-solid method to scroll)


thanks!
Aaron/Babele

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to