When calling a JavaScript function through Flash' fscommand() Safari will not repaint the document. When the browser receives an Event, either a UIEvent or (as demostrated in the testcase) an onload event, it will repaint. Other events have not been tested. <http://tests.novemberborn.net/browsers/safari/fscommand-redraw/failing.html> contains a test with no workaround. <http://tests.novemberborn.net/browsers/safari/fscommand-redraw/workaround.html> uses an innerHTML hack in the Flash movie embed tag. <http://tests.novemberborn.net/browsers/safari/fscommand-redraw/workaround-2.html> appends an image to the document which fires an onload event. This bug was observed in Safari 417.8 with Flash 8.0.22. The nightly of March 10, 2006, did not invoke the JavaScript function, so the behaviour could not be observed.
Created attachment 6995 [details] Contains the testcases linked to in the original bug report.
I've attached an archive of the tests linked to above.
The problem with the nightlies has been addressed in bug #7708.
Confirmed with ToT (with a fix for bug 7708).
I can no longer reproduce this with Safari 4.0.5 on Mac OS X.
I meant to say, Mac OS X 10.5.8.