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

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

From: Rick <graham.rick@gmail.com>
Date: Tue, 18 Sep 2007 14:56:03 -0400
Message-ID: <18569e000709181156o2bbb2f0fsd66036aec9e5b89c@mail.gmail.com>
To: www-svg@w3.org


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.

Received on Tuesday, 18 September 2007 18:56:10 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:11 UTC