WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
71992
style applied immediately before alert() is not rendered
https://bugs.webkit.org/show_bug.cgi?id=71992
Summary
style applied immediately before alert() is not rendered
Mike Lawther
Reported
2011-11-09 19:50:07 PST
As reported at
http://code.google.com/p/chromium/issues/detail?id=92416
: Repro: <html> <body> <script> document.body.style.backgroundColor = 'red'; alert('The background should already be red now'); document.body.style.backgroundColor = 'green'; </script> </body> </html> Expected: Body should be red when the alert pops up Actual: Body color does not change when alert pops up, then turns green after alert is dismissed. Tested with: Firefox 7.0.1 MacOS 10.6 : OK Opera 11.51 MacOS 10.6 : OK WebKit Nightly
r99757
MacOS 10.6 : BAD
Attachments
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2022-07-12 15:32:22 PDT
Safari and Chrome behave the same (no background color change, then Green after 'OK'). Firefox acts as requested by the reporter.
Radar WebKit Bug Importer
Comment 2
2022-07-12 15:32:43 PDT
<
rdar://problem/96914168
>
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