* SUMMARY Changing the body's background-color in an onunload event doesn't work. * STEPS TO REPRODUCE 1. Launch Safari/WebKit. 2. Open attached test case. 3. Click link. * EXPECTED RESULTS Body background color should turn green before loading the next page. * ACTUAL RESULTS Body background color does not change before loading the next page. * REGRESSION Not a regression. Reproduces with Safari 2.0.4 with original WebKit. * NOTES Works on Firefox 2.0.0.x (although the "document.body.offsetTop;" relayout trick is required; removing that makes the test case not work on Firefox).
Created attachment 21455 [details] Test case