[Webkit-unassigned] [Bug 17351] Rendering differs depending on the order that files are fetched

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 17 09:53:18 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17351





------- Comment #3 from mitz at webkit.org  2008-02-17 09:53 PDT -------
(In reply to comment #2)
> So document.onload fires before the stylesheets are processed?

This statement:

document.onload = resize_content();

calls resize_content() *immediately* (and sets document.onload to null). You
probably meant to do

window.onload = resize_content;

(setting the property to the function, not its return value). Note that if you
do that, then the document.write statement in resize_content() will replace the
document's contents, so I suggest that you remove it as well.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list