WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
19349
Can't change body background-color in onunload event
https://bugs.webkit.org/show_bug.cgi?id=19349
Summary
Can't change body background-color in onunload event
David Kilzer (:ddkilzer)
Reported
2008-06-01 08:42:00 PDT
* 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).
Attachments
Test case
(502 bytes, text/html)
2008-06-01 08:42 PDT
,
David Kilzer (:ddkilzer)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2008-06-01 08:42:49 PDT
Created
attachment 21455
[details]
Test case
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug