W3C home > Mailing lists > Public > www-svg@w3.org > September 2007

Re: OnLoad vs Rendition. FireFox vs Opera. which is correct?

From: Oliver Hunt <oliver@apple.com>
Date: Tue, 18 Sep 2007 12:03:18 -0700
Message-Id: <E24E4787-7D39-4FCF-B286-FC3BFC49A096@apple.com>
Cc: www-svg@w3.org
To: Rick <graham.rick@gmail.com>

Have you tried in Safari (mac/win)?  It should end up running prior  
to first paint.


On 18/09/2007, at 11:56 AM, Rick wrote:

> Hi guys.
> I have an application that runs a script at onload.  This is common  
> enough.
> Firefox runs the script first and then renders the image.
> Opera renders first and then runs the script.
> Is this behaviour defined by the spec?
> 16.2 / onload says: The event is triggered at the point at which the
> user agent has fully parsed the element and its descendants and is
> ready to act appropriately upon that element, such as being ready to
> render the element to the target device. Referenced external resources
> that are required must be loaded, parsed and ready to render before
> the event is triggered. Optional external resources are not required
> to be ready for the event to be triggered.
> Is this a bug?  I believe that it is.  Who do I file the bug with?
> bugs.opera.com is not responding, so I don't know if there is a bug
> filed there.  I found nothing with a cursory Google on the matter.
> I'm not particularly fussy about which behavior is correct, but my
> feeling, and my interpretation of the above is that FF is correct and
> that Opera is in error when it renders before running a script
> triggered by the onload event.
> I'd like the groups opinion (and weight) before I file anything.
> -- 
> Cheers!
> Rick
Received on Tuesday, 18 September 2007 19:03:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:29:35 UTC