OK,
in Safari it seems stylesheet are loaded asynchronously.

I have not tested this lately in 5.0.5 but in previous releases it has
been that way.

For the above reason an "onload" event, of an almost empty page, may
actually fire before stylesheets are loaded.

You need to rely on a notification about when the stylesheet has been
loaded/applied before attempting a read of meaningful values from the
computed style properties.


Diego


On Thu, Jul 14, 2011 at 11:15 PM, Clothears <[email protected]> wrote:
> On Jul 14, 3:54 pm, Diego Perini <[email protected]> wrote:
>
>> Maybe telling us on which browser you are testing could help ;-)
>
> I'm using Safari 5.0.5 under OS X 10.6.8.
>
> --
> To view archived discussions from the original JSMentors Mailman list: 
> http://www.mail-archive.com/[email protected]/
>
> To search via a non-Google archive, visit here: 
> http://www.mail-archive.com/[email protected]/
>
> To unsubscribe from this group, send email to
> [email protected]
>

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to