Hi David,

can you please file a bug report for this and add your findings there? Just 
attach the little demo. It'll be a good help when debugging this one.

Regards,
  Alex

On Wednesday 28 September 2011 16:42:19 david leray wrote:
> I don't know how to to it in the playground since I believe the problem may
> be specific to the body element.
> 
> I however attach a miniapp demonstrating the problem: it is an Inline
> Application, the only changed files are Application.js and index.html
> index.html contains a body with margin to 0, an island to put the button,
> a tall div to put the last one out of the window, and a div I attempt to
> scroll into view.
> 
> Clicking the button calls
> qx.bom.element.Scroll.intoView(document.getElementById("OutOfWindow"));
> and does exactly nothing because body.scrollHeight and body.clientHeight
> are equal.
> 
> Note the fact that if I don't set the body margin to zero, Safari set it to
> a positive value by default, which makes scrollHeight and clientHeight
>  different, which makes the application behave normally and scroll the div
> in view without a problem. This doesn't seem to be the case on FF, where
> scrollHeight is always equal to clientHeight and the application doesn't
> scroll whatever the body margin.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to