Regardless of jQuery support or not, I am the only one who thinks positioning the body is kind of weird? what's between the body and the viewport limits, limbo?
On Apr 9, 5:30 pm, Fernando Ferreira <[email protected]> wrote: > Take a look at the test case I posted onhttp://dev.jqueryui.com/ticket/4438, > it outlines the crux of the > problem. > > If it was only a local problem I would certainly fix it locally, but this > assumption of the origin point of the body being the same as the origin of > the viewport leads to several problems with anything that is positioned > relatively to the body (using position: absolute in the childrens on a body > that itself has postion: relative), and it happens in lots of places on > jquery ui, for instance. > > I will try to craft a test case for something that happens on jquery itself, > instead of only jquery ui. > > On Thu, Apr 9, 2009 at 7:54 PM, Matt Kruse <[email protected]> wrote: > > > On Apr 9, 1:42 pm, Brandon Aaron <[email protected]> wrote: > > > Unfortunately it just isn't as simple as that. A positioned body element > > > directly affects how the browser calculates the offsetTop/Left properties > > of > > > child elements. > > > In what cases? Just curious. > > > I suppose it depends on the browser and the exact layout/objects in > > question, but I've used this solution several times and it's been > > sufficient for me. It may be enough for the OP. > > > Matt Kruse --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
