This is a think I've been thinking about since jQuery 1.2.

I had a similar problem working on cloned nodes for layout, (1.2.6, didn't
try using jquery 1.3+), when the node has images with no size specified, the
offset / width calculations are sometimes wrong because they're done too
early, expecially using webkit.

Of course this is not related to the ready event, but i think you can think
of it like this:
When the ready() fires, the dom is loaded, even if the layout is not fully
calculated.

I don't know if we can consider this a bug, my opinion is that there should
exists a kind of "layoutReady" event o a simpler "imageReady" event  (even I
cant think of a simple way to implement it).

--Fabio



On Tue, Jan 27, 2009 at 5:48 PM, David Zhou <da...@nodnod.net> wrote:

>
> This is already in the bug tracker as #3988:
>
> http://dev.jquery.com/ticket/3988
>
>
> -- dz
>
>
>
> On Tue, Jan 27, 2009 at 11:24 AM, John Resig <jere...@gmail.com> wrote:
> >
> > Do you have a demo page that we can look at?
> >
> > --John
> >
> >
> >
> > On Fri, Jan 23, 2009 at 11:01 AM, helianthus
> > <project.heliant...@gmail.com> wrote:
> >>
> >> 1.2.6:
> >> No problems on all browsers tested.
> >> 1.3.1:
> >> IE7 & IE8 beta2: Fires only after all images are completely loaded.
> >> FF3, Opera 9, Chrome: Fires right after DOM is loaded.
> >>
> >> >
> >>
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to